AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EndPoint.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/KinesisStreamConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDFRONT_API EndPoint() = default;
37 AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API EndPoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline const Aws::String& GetStreamType() const { return m_streamType; }
49 inline bool StreamTypeHasBeenSet() const { return m_streamTypeHasBeenSet; }
50 template<typename StreamTypeT = Aws::String>
51 void SetStreamType(StreamTypeT&& value) { m_streamTypeHasBeenSet = true; m_streamType = std::forward<StreamTypeT>(value); }
52 template<typename StreamTypeT = Aws::String>
53 EndPoint& WithStreamType(StreamTypeT&& value) { SetStreamType(std::forward<StreamTypeT>(value)); return *this;}
55
57
61 inline const KinesisStreamConfig& GetKinesisStreamConfig() const { return m_kinesisStreamConfig; }
62 inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
63 template<typename KinesisStreamConfigT = KinesisStreamConfig>
64 void SetKinesisStreamConfig(KinesisStreamConfigT&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::forward<KinesisStreamConfigT>(value); }
65 template<typename KinesisStreamConfigT = KinesisStreamConfig>
66 EndPoint& WithKinesisStreamConfig(KinesisStreamConfigT&& value) { SetKinesisStreamConfig(std::forward<KinesisStreamConfigT>(value)); return *this;}
68 private:
69
70 Aws::String m_streamType;
71 bool m_streamTypeHasBeenSet = false;
72
73 KinesisStreamConfig m_kinesisStreamConfig;
74 bool m_kinesisStreamConfigHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CloudFront
79} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
const KinesisStreamConfig & GetKinesisStreamConfig() const
Definition EndPoint.h:61
void SetStreamType(StreamTypeT &&value)
Definition EndPoint.h:51
EndPoint & WithKinesisStreamConfig(KinesisStreamConfigT &&value)
Definition EndPoint.h:66
AWS_CLOUDFRONT_API EndPoint()=default
bool KinesisStreamConfigHasBeenSet() const
Definition EndPoint.h:62
EndPoint & WithStreamType(StreamTypeT &&value)
Definition EndPoint.h:53
AWS_CLOUDFRONT_API EndPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKinesisStreamConfig(KinesisStreamConfigT &&value)
Definition EndPoint.h:64
const Aws::String & GetStreamType() const
Definition EndPoint.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String