AWS SDK for C++  1.9.69
AWS SDK for C++
KinesisStreamConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace CloudFront
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
49  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
50 
59  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
60 
69  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
70 
79  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
80 
89  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
90 
99  inline KinesisStreamConfig& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
100 
109  inline KinesisStreamConfig& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
110 
119  inline KinesisStreamConfig& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
120 
121 
126  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
127 
132  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
133 
138  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
139 
144  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
145 
150  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
151 
156  inline KinesisStreamConfig& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
157 
162  inline KinesisStreamConfig& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
163 
168  inline KinesisStreamConfig& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
169 
170  private:
171 
172  Aws::String m_roleARN;
173  bool m_roleARNHasBeenSet;
174 
175  Aws::String m_streamARN;
176  bool m_streamARNHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace CloudFront
181 } // namespace Aws
Aws::CloudFront::Model::KinesisStreamConfig::WithStreamARN
KinesisStreamConfig & WithStreamARN(const char *value)
Definition: KinesisStreamConfig.h:168
Aws::CloudFront::Model::KinesisStreamConfig::WithStreamARN
KinesisStreamConfig & WithStreamARN(const Aws::String &value)
Definition: KinesisStreamConfig.h:156
Aws::CloudFront::Model::KinesisStreamConfig::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: KinesisStreamConfig.h:132
Aws::CloudFront::Model::KinesisStreamConfig::WithRoleARN
KinesisStreamConfig & WithRoleARN(const char *value)
Definition: KinesisStreamConfig.h:119
Aws::CloudFront::Model::KinesisStreamConfig::WithRoleARN
KinesisStreamConfig & WithRoleARN(const Aws::String &value)
Definition: KinesisStreamConfig.h:99
Aws::CloudFront::Model::KinesisStreamConfig::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: KinesisStreamConfig.h:69
Aws::CloudFront::Model::KinesisStreamConfig
Definition: KinesisStreamConfig.h:32
Aws::CloudFront::Model::KinesisStreamConfig::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: KinesisStreamConfig.h:79
Aws::CloudFront::Model::KinesisStreamConfig::operator=
KinesisStreamConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::KinesisStreamConfig::WithRoleARN
KinesisStreamConfig & WithRoleARN(Aws::String &&value)
Definition: KinesisStreamConfig.h:109
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::KinesisStreamConfig::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: KinesisStreamConfig.h:144
Aws::CloudFront::Model::KinesisStreamConfig::KinesisStreamConfig
KinesisStreamConfig()
Aws::CloudFront::Model::KinesisStreamConfig::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: KinesisStreamConfig.h:49
Aws::CloudFront::Model::KinesisStreamConfig::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: KinesisStreamConfig.h:138
AWSString.h
Aws::CloudFront::Model::KinesisStreamConfig::WithStreamARN
KinesisStreamConfig & WithStreamARN(Aws::String &&value)
Definition: KinesisStreamConfig.h:162
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::KinesisStreamConfig::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: KinesisStreamConfig.h:126
Aws::CloudFront::Model::KinesisStreamConfig::KinesisStreamConfig
KinesisStreamConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudFront_EXPORTS.h
Aws::CloudFront::Model::KinesisStreamConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::KinesisStreamConfig::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: KinesisStreamConfig.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::KinesisStreamConfig::SetRoleARN
void SetRoleARN(const char *value)
Definition: KinesisStreamConfig.h:89
Aws::CloudFront::Model::KinesisStreamConfig::SetStreamARN
void SetStreamARN(const char *value)
Definition: KinesisStreamConfig.h:150