AWS SDK for C++  1.9.20
AWS SDK for C++
EndPoint.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
47  inline const Aws::String& GetStreamType() const{ return m_streamType; }
48 
53  inline bool StreamTypeHasBeenSet() const { return m_streamTypeHasBeenSet; }
54 
59  inline void SetStreamType(const Aws::String& value) { m_streamTypeHasBeenSet = true; m_streamType = value; }
60 
65  inline void SetStreamType(Aws::String&& value) { m_streamTypeHasBeenSet = true; m_streamType = std::move(value); }
66 
71  inline void SetStreamType(const char* value) { m_streamTypeHasBeenSet = true; m_streamType.assign(value); }
72 
77  inline EndPoint& WithStreamType(const Aws::String& value) { SetStreamType(value); return *this;}
78 
83  inline EndPoint& WithStreamType(Aws::String&& value) { SetStreamType(std::move(value)); return *this;}
84 
89  inline EndPoint& WithStreamType(const char* value) { SetStreamType(value); return *this;}
90 
91 
96  inline const KinesisStreamConfig& GetKinesisStreamConfig() const{ return m_kinesisStreamConfig; }
97 
102  inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
103 
108  inline void SetKinesisStreamConfig(const KinesisStreamConfig& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = value; }
109 
114  inline void SetKinesisStreamConfig(KinesisStreamConfig&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::move(value); }
115 
120  inline EndPoint& WithKinesisStreamConfig(const KinesisStreamConfig& value) { SetKinesisStreamConfig(value); return *this;}
121 
126  inline EndPoint& WithKinesisStreamConfig(KinesisStreamConfig&& value) { SetKinesisStreamConfig(std::move(value)); return *this;}
127 
128  private:
129 
130  Aws::String m_streamType;
131  bool m_streamTypeHasBeenSet;
132 
133  KinesisStreamConfig m_kinesisStreamConfig;
134  bool m_kinesisStreamConfigHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace CloudFront
139 } // namespace Aws
Aws::CloudFront::Model::EndPoint::SetStreamType
void SetStreamType(const Aws::String &value)
Definition: EndPoint.h:59
Aws::CloudFront::Model::EndPoint::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::EndPoint::SetKinesisStreamConfig
void SetKinesisStreamConfig(KinesisStreamConfig &&value)
Definition: EndPoint.h:114
Aws::CloudFront::Model::EndPoint::KinesisStreamConfigHasBeenSet
bool KinesisStreamConfigHasBeenSet() const
Definition: EndPoint.h:102
Aws::CloudFront::Model::KinesisStreamConfig
Definition: KinesisStreamConfig.h:32
Aws::CloudFront::Model::EndPoint::WithStreamType
EndPoint & WithStreamType(Aws::String &&value)
Definition: EndPoint.h:83
Aws::CloudFront::Model::EndPoint
Definition: EndPoint.h:34
Aws::CloudFront::Model::EndPoint::WithStreamType
EndPoint & WithStreamType(const Aws::String &value)
Definition: EndPoint.h:77
Aws::CloudFront::Model::EndPoint::EndPoint
EndPoint()
Aws::CloudFront::Model::EndPoint::GetStreamType
const Aws::String & GetStreamType() const
Definition: EndPoint.h:47
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::EndPoint::EndPoint
EndPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::EndPoint::WithKinesisStreamConfig
EndPoint & WithKinesisStreamConfig(const KinesisStreamConfig &value)
Definition: EndPoint.h:120
Aws::CloudFront::Model::EndPoint::SetStreamType
void SetStreamType(const char *value)
Definition: EndPoint.h:71
AWSString.h
Aws::CloudFront::Model::EndPoint::operator=
EndPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
KinesisStreamConfig.h
CloudFront_EXPORTS.h
Aws::CloudFront::Model::EndPoint::GetKinesisStreamConfig
const KinesisStreamConfig & GetKinesisStreamConfig() const
Definition: EndPoint.h:96
Aws::CloudFront::Model::EndPoint::StreamTypeHasBeenSet
bool StreamTypeHasBeenSet() const
Definition: EndPoint.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::EndPoint::WithKinesisStreamConfig
EndPoint & WithKinesisStreamConfig(KinesisStreamConfig &&value)
Definition: EndPoint.h:126
Aws::CloudFront::Model::EndPoint::SetKinesisStreamConfig
void SetKinesisStreamConfig(const KinesisStreamConfig &value)
Definition: EndPoint.h:108
Aws::CloudFront::Model::EndPoint::SetStreamType
void SetStreamType(Aws::String &&value)
Definition: EndPoint.h:65
Aws::CloudFront::Model::EndPoint::WithStreamType
EndPoint & WithStreamType(const char *value)
Definition: EndPoint.h:89