/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchLogs { namespace Model { /** *

A structure that contains information about one logs delivery * destination.

See Also:

AWS * API Reference

*/ class DeliveryDestinationConfiguration { public: AWS_CLOUDWATCHLOGS_API DeliveryDestinationConfiguration(); AWS_CLOUDWATCHLOGS_API DeliveryDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHLOGS_API DeliveryDestinationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline const Aws::String& GetDestinationResourceArn() const{ return m_destinationResourceArn; } /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline bool DestinationResourceArnHasBeenSet() const { return m_destinationResourceArnHasBeenSet; } /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline void SetDestinationResourceArn(const Aws::String& value) { m_destinationResourceArnHasBeenSet = true; m_destinationResourceArn = value; } /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline void SetDestinationResourceArn(Aws::String&& value) { m_destinationResourceArnHasBeenSet = true; m_destinationResourceArn = std::move(value); } /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline void SetDestinationResourceArn(const char* value) { m_destinationResourceArnHasBeenSet = true; m_destinationResourceArn.assign(value); } /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline DeliveryDestinationConfiguration& WithDestinationResourceArn(const Aws::String& value) { SetDestinationResourceArn(value); return *this;} /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline DeliveryDestinationConfiguration& WithDestinationResourceArn(Aws::String&& value) { SetDestinationResourceArn(std::move(value)); return *this;} /** *

The ARN of the Amazon Web Services destination that this delivery destination * represents. That Amazon Web Services destination can be a log group in * CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

*/ inline DeliveryDestinationConfiguration& WithDestinationResourceArn(const char* value) { SetDestinationResourceArn(value); return *this;} private: Aws::String m_destinationResourceArn; bool m_destinationResourceArnHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws