/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { /** *

Contains information about the Amazon Kinesis data stream where you are * sending real-time log data.

See Also:

AWS * API Reference

*/ class KinesisStreamConfig { public: AWS_CLOUDFRONT_API KinesisStreamConfig(); AWS_CLOUDFRONT_API KinesisStreamConfig(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API KinesisStreamConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline KinesisStreamConfig& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline KinesisStreamConfig& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) * role that CloudFront can use to send real-time log data to your Kinesis data * stream.

For more information the IAM role, see Real-time * log configuration IAM role in the Amazon CloudFront Developer * Guide.

*/ inline KinesisStreamConfig& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline KinesisStreamConfig& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline KinesisStreamConfig& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Kinesis data stream where you are * sending real-time log data.

*/ inline KinesisStreamConfig& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} private: Aws::String m_roleARN; bool m_roleARNHasBeenSet = false; Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws