/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 in a real-time log configuration.

See * Also:

AWS * API Reference

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

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline const Aws::String& GetStreamType() const{ return m_streamType; } /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline bool StreamTypeHasBeenSet() const { return m_streamTypeHasBeenSet; } /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline void SetStreamType(const Aws::String& value) { m_streamTypeHasBeenSet = true; m_streamType = value; } /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline void SetStreamType(Aws::String&& value) { m_streamTypeHasBeenSet = true; m_streamType = std::move(value); } /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline void SetStreamType(const char* value) { m_streamTypeHasBeenSet = true; m_streamType.assign(value); } /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline EndPoint& WithStreamType(const Aws::String& value) { SetStreamType(value); return *this;} /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline EndPoint& WithStreamType(Aws::String&& value) { SetStreamType(std::move(value)); return *this;} /** *

The type of data stream where you are sending real-time log data. The only * valid value is Kinesis.

*/ inline EndPoint& WithStreamType(const char* value) { SetStreamType(value); return *this;} /** *

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

*/ inline const KinesisStreamConfig& GetKinesisStreamConfig() const{ return m_kinesisStreamConfig; } /** *

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

*/ inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; } /** *

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

*/ inline void SetKinesisStreamConfig(const KinesisStreamConfig& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = value; } /** *

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

*/ inline void SetKinesisStreamConfig(KinesisStreamConfig&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::move(value); } /** *

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

*/ inline EndPoint& WithKinesisStreamConfig(const KinesisStreamConfig& value) { SetKinesisStreamConfig(value); return *this;} /** *

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

*/ inline EndPoint& WithKinesisStreamConfig(KinesisStreamConfig&& value) { SetKinesisStreamConfig(std::move(value)); return *this;} private: Aws::String m_streamType; bool m_streamTypeHasBeenSet = false; KinesisStreamConfig m_kinesisStreamConfig; bool m_kinesisStreamConfigHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws