AWS SDK for C++  1.9.123
AWS SDK for C++
StreamingDistribution.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace CloudFront
24 {
25 namespace Model
26 {
27 
36  {
37  public:
41 
42  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43 
44 
49  inline const Aws::String& GetId() const{ return m_id; }
50 
55  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 
61  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 
67  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 
73  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
74 
79  inline StreamingDistribution& WithId(const Aws::String& value) { SetId(value); return *this;}
80 
85  inline StreamingDistribution& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
86 
91  inline StreamingDistribution& WithId(const char* value) { SetId(value); return *this;}
92 
93 
99  inline const Aws::String& GetARN() const{ return m_aRN; }
100 
106  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
107 
113  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
114 
120  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
121 
127  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
128 
134  inline StreamingDistribution& WithARN(const Aws::String& value) { SetARN(value); return *this;}
135 
141  inline StreamingDistribution& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
142 
148  inline StreamingDistribution& WithARN(const char* value) { SetARN(value); return *this;}
149 
150 
156  inline const Aws::String& GetStatus() const{ return m_status; }
157 
163  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
164 
170  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
171 
177  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 
184  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
185 
191  inline StreamingDistribution& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
192 
198  inline StreamingDistribution& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
199 
205  inline StreamingDistribution& WithStatus(const char* value) { SetStatus(value); return *this;}
206 
207 
211  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
212 
216  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
217 
221  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
222 
226  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
227 
231  inline StreamingDistribution& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
232 
236  inline StreamingDistribution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
237 
238 
243  inline const Aws::String& GetDomainName() const{ return m_domainName; }
244 
249  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
250 
255  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
256 
261  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
262 
267  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
268 
273  inline StreamingDistribution& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
274 
279  inline StreamingDistribution& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
280 
285  inline StreamingDistribution& WithDomainName(const char* value) { SetDomainName(value); return *this;}
286 
287 
302  inline const ActiveTrustedSigners& GetActiveTrustedSigners() const{ return m_activeTrustedSigners; }
303 
318  inline bool ActiveTrustedSignersHasBeenSet() const { return m_activeTrustedSignersHasBeenSet; }
319 
334  inline void SetActiveTrustedSigners(const ActiveTrustedSigners& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = value; }
335 
350  inline void SetActiveTrustedSigners(ActiveTrustedSigners&& value) { m_activeTrustedSignersHasBeenSet = true; m_activeTrustedSigners = std::move(value); }
351 
366  inline StreamingDistribution& WithActiveTrustedSigners(const ActiveTrustedSigners& value) { SetActiveTrustedSigners(value); return *this;}
367 
382  inline StreamingDistribution& WithActiveTrustedSigners(ActiveTrustedSigners&& value) { SetActiveTrustedSigners(std::move(value)); return *this;}
383 
384 
388  inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
389 
393  inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
394 
398  inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
399 
403  inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
404 
408  inline StreamingDistribution& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;}
409 
413  inline StreamingDistribution& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(std::move(value)); return *this;}
414 
415  private:
416 
417  Aws::String m_id;
418  bool m_idHasBeenSet;
419 
420  Aws::String m_aRN;
421  bool m_aRNHasBeenSet;
422 
423  Aws::String m_status;
424  bool m_statusHasBeenSet;
425 
426  Aws::Utils::DateTime m_lastModifiedTime;
427  bool m_lastModifiedTimeHasBeenSet;
428 
429  Aws::String m_domainName;
430  bool m_domainNameHasBeenSet;
431 
432  ActiveTrustedSigners m_activeTrustedSigners;
433  bool m_activeTrustedSignersHasBeenSet;
434 
435  StreamingDistributionConfig m_streamingDistributionConfig;
436  bool m_streamingDistributionConfigHasBeenSet;
437  };
438 
439 } // namespace Model
440 } // namespace CloudFront
441 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CloudFront::Model::StreamingDistribution::WithStreamingDistributionConfig
StreamingDistribution & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: StreamingDistribution.h:408
Aws::CloudFront::Model::StreamingDistribution::SetId
void SetId(const Aws::String &value)
Definition: StreamingDistribution.h:61
Aws::CloudFront::Model::StreamingDistribution::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::ActiveTrustedSigners
Definition: ActiveTrustedSigners.h:34
Aws::CloudFront::Model::StreamingDistribution::SetStatus
void SetStatus(const char *value)
Definition: StreamingDistribution.h:184
Aws::CloudFront::Model::StreamingDistribution::SetDomainName
void SetDomainName(const char *value)
Definition: StreamingDistribution.h:267
Aws::CloudFront::Model::StreamingDistribution::SetId
void SetId(const char *value)
Definition: StreamingDistribution.h:73
Aws::CloudFront::Model::StreamingDistribution::WithStatus
StreamingDistribution & WithStatus(const char *value)
Definition: StreamingDistribution.h:205
Aws::CloudFront::Model::StreamingDistribution::SetARN
void SetARN(Aws::String &&value)
Definition: StreamingDistribution.h:120
Aws::CloudFront::Model::StreamingDistribution::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: StreamingDistribution.h:403
Aws::CloudFront::Model::StreamingDistribution::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: StreamingDistribution.h:163
DateTime.h
Aws::CloudFront::Model::StreamingDistribution::SetARN
void SetARN(const Aws::String &value)
Definition: StreamingDistribution.h:113
Aws::CloudFront::Model::StreamingDistribution::WithDomainName
StreamingDistribution & WithDomainName(Aws::String &&value)
Definition: StreamingDistribution.h:279
Aws::CloudFront::Model::StreamingDistribution::WithActiveTrustedSigners
StreamingDistribution & WithActiveTrustedSigners(const ActiveTrustedSigners &value)
Definition: StreamingDistribution.h:366
Aws::CloudFront::Model::StreamingDistribution::WithARN
StreamingDistribution & WithARN(const char *value)
Definition: StreamingDistribution.h:148
Aws::CloudFront::Model::StreamingDistribution::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: StreamingDistribution.h:398
Aws::CloudFront::Model::StreamingDistribution::GetStatus
const Aws::String & GetStatus() const
Definition: StreamingDistribution.h:156
Aws::CloudFront::Model::StreamingDistribution::ActiveTrustedSignersHasBeenSet
bool ActiveTrustedSignersHasBeenSet() const
Definition: StreamingDistribution.h:318
Aws::CloudFront::Model::StreamingDistribution::StreamingDistributionConfigHasBeenSet
bool StreamingDistributionConfigHasBeenSet() const
Definition: StreamingDistribution.h:393
Aws::CloudFront::Model::StreamingDistribution::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: StreamingDistribution.h:249
Aws::CloudFront::Model::StreamingDistribution::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: StreamingDistribution.h:255
Aws::CloudFront::Model::StreamingDistribution::WithId
StreamingDistribution & WithId(Aws::String &&value)
Definition: StreamingDistribution.h:85
Aws::CloudFront::Model::StreamingDistribution::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: StreamingDistribution.h:211
Aws::CloudFront::Model::StreamingDistribution::operator=
StreamingDistribution & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ActiveTrustedSigners.h
StreamingDistributionConfig.h
Aws::CloudFront::Model::StreamingDistribution::WithLastModifiedTime
StreamingDistribution & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: StreamingDistribution.h:231
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::StreamingDistribution::WithARN
StreamingDistribution & WithARN(Aws::String &&value)
Definition: StreamingDistribution.h:141
Aws::CloudFront::Model::StreamingDistribution::WithDomainName
StreamingDistribution & WithDomainName(const char *value)
Definition: StreamingDistribution.h:285
Aws::CloudFront::Model::StreamingDistribution::WithId
StreamingDistribution & WithId(const char *value)
Definition: StreamingDistribution.h:91
Aws::CloudFront::Model::StreamingDistribution::GetARN
const Aws::String & GetARN() const
Definition: StreamingDistribution.h:99
Aws::CloudFront::Model::StreamingDistribution::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: StreamingDistribution.h:221
Aws::CloudFront::Model::StreamingDistribution::SetActiveTrustedSigners
void SetActiveTrustedSigners(const ActiveTrustedSigners &value)
Definition: StreamingDistribution.h:334
Aws::CloudFront::Model::StreamingDistribution::SetId
void SetId(Aws::String &&value)
Definition: StreamingDistribution.h:67
Aws::CloudFront::Model::StreamingDistribution::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: StreamingDistribution.h:226
Aws::CloudFront::Model::StreamingDistribution::WithStatus
StreamingDistribution & WithStatus(const Aws::String &value)
Definition: StreamingDistribution.h:191
AWSString.h
Aws::CloudFront::Model::StreamingDistribution::SetStatus
void SetStatus(Aws::String &&value)
Definition: StreamingDistribution.h:177
Aws::CloudFront::Model::StreamingDistribution::GetActiveTrustedSigners
const ActiveTrustedSigners & GetActiveTrustedSigners() const
Definition: StreamingDistribution.h:302
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::StreamingDistribution
Definition: StreamingDistribution.h:36
Aws::CloudFront::Model::StreamingDistribution::SetStatus
void SetStatus(const Aws::String &value)
Definition: StreamingDistribution.h:170
Aws::CloudFront::Model::StreamingDistribution::IdHasBeenSet
bool IdHasBeenSet() const
Definition: StreamingDistribution.h:55
Aws::CloudFront::Model::StreamingDistribution::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: StreamingDistribution.h:216
Aws::CloudFront::Model::StreamingDistribution::StreamingDistribution
StreamingDistribution(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::StreamingDistribution::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: StreamingDistribution.h:106
Aws::CloudFront::Model::StreamingDistribution::GetDomainName
const Aws::String & GetDomainName() const
Definition: StreamingDistribution.h:243
Aws::CloudFront::Model::StreamingDistribution::SetARN
void SetARN(const char *value)
Definition: StreamingDistribution.h:127
Aws::CloudFront::Model::StreamingDistribution::SetActiveTrustedSigners
void SetActiveTrustedSigners(ActiveTrustedSigners &&value)
Definition: StreamingDistribution.h:350
Aws::CloudFront::Model::StreamingDistribution::WithDomainName
StreamingDistribution & WithDomainName(const Aws::String &value)
Definition: StreamingDistribution.h:273
Aws::CloudFront::Model::StreamingDistribution::GetId
const Aws::String & GetId() const
Definition: StreamingDistribution.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::StreamingDistribution::WithLastModifiedTime
StreamingDistribution & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: StreamingDistribution.h:236
Aws::CloudFront::Model::StreamingDistribution::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: StreamingDistribution.h:261
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::StreamingDistribution::WithActiveTrustedSigners
StreamingDistribution & WithActiveTrustedSigners(ActiveTrustedSigners &&value)
Definition: StreamingDistribution.h:382
Aws::CloudFront::Model::StreamingDistribution::WithId
StreamingDistribution & WithId(const Aws::String &value)
Definition: StreamingDistribution.h:79
Aws::CloudFront::Model::StreamingDistribution::StreamingDistribution
StreamingDistribution()
Aws::CloudFront::Model::StreamingDistribution::WithStreamingDistributionConfig
StreamingDistribution & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: StreamingDistribution.h:413
Aws::CloudFront::Model::StreamingDistribution::WithStatus
StreamingDistribution & WithStatus(Aws::String &&value)
Definition: StreamingDistribution.h:198
Aws::CloudFront::Model::StreamingDistribution::WithARN
StreamingDistribution & WithARN(const Aws::String &value)
Definition: StreamingDistribution.h:134
Aws::CloudFront::Model::StreamingDistribution::GetStreamingDistributionConfig
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
Definition: StreamingDistribution.h:388
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37