AWS SDK for C++  1.9.155
AWS SDK for C++
StreamingDistributionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlNode;
23 } // namespace Xml
24 } // namespace Utils
25 namespace CloudFront
26 {
27 namespace Model
28 {
29 
37  {
38  public:
42 
43  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44 
45 
55  inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
56 
66  inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
67 
77  inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
78 
88  inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
89 
99  inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
100 
110  inline StreamingDistributionConfig& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
111 
121  inline StreamingDistributionConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
122 
132  inline StreamingDistributionConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
133 
134 
139  inline const S3Origin& GetS3Origin() const{ return m_s3Origin; }
140 
145  inline bool S3OriginHasBeenSet() const { return m_s3OriginHasBeenSet; }
146 
151  inline void SetS3Origin(const S3Origin& value) { m_s3OriginHasBeenSet = true; m_s3Origin = value; }
152 
157  inline void SetS3Origin(S3Origin&& value) { m_s3OriginHasBeenSet = true; m_s3Origin = std::move(value); }
158 
163  inline StreamingDistributionConfig& WithS3Origin(const S3Origin& value) { SetS3Origin(value); return *this;}
164 
169  inline StreamingDistributionConfig& WithS3Origin(S3Origin&& value) { SetS3Origin(std::move(value)); return *this;}
170 
171 
176  inline const Aliases& GetAliases() const{ return m_aliases; }
177 
182  inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
183 
188  inline void SetAliases(const Aliases& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
189 
194  inline void SetAliases(Aliases&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
195 
200  inline StreamingDistributionConfig& WithAliases(const Aliases& value) { SetAliases(value); return *this;}
201 
206  inline StreamingDistributionConfig& WithAliases(Aliases&& value) { SetAliases(std::move(value)); return *this;}
207 
208 
212  inline const Aws::String& GetComment() const{ return m_comment; }
213 
217  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
218 
222  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
223 
227  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
228 
232  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
233 
237  inline StreamingDistributionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
238 
242  inline StreamingDistributionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
243 
247  inline StreamingDistributionConfig& WithComment(const char* value) { SetComment(value); return *this;}
248 
249 
254  inline const StreamingLoggingConfig& GetLogging() const{ return m_logging; }
255 
260  inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
261 
266  inline void SetLogging(const StreamingLoggingConfig& value) { m_loggingHasBeenSet = true; m_logging = value; }
267 
272  inline void SetLogging(StreamingLoggingConfig&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
273 
278  inline StreamingDistributionConfig& WithLogging(const StreamingLoggingConfig& value) { SetLogging(value); return *this;}
279 
284  inline StreamingDistributionConfig& WithLogging(StreamingLoggingConfig&& value) { SetLogging(std::move(value)); return *this;}
285 
286 
297  inline const TrustedSigners& GetTrustedSigners() const{ return m_trustedSigners; }
298 
309  inline bool TrustedSignersHasBeenSet() const { return m_trustedSignersHasBeenSet; }
310 
321  inline void SetTrustedSigners(const TrustedSigners& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = value; }
322 
333  inline void SetTrustedSigners(TrustedSigners&& value) { m_trustedSignersHasBeenSet = true; m_trustedSigners = std::move(value); }
334 
345  inline StreamingDistributionConfig& WithTrustedSigners(const TrustedSigners& value) { SetTrustedSigners(value); return *this;}
346 
357  inline StreamingDistributionConfig& WithTrustedSigners(TrustedSigners&& value) { SetTrustedSigners(std::move(value)); return *this;}
358 
359 
364  inline const PriceClass& GetPriceClass() const{ return m_priceClass; }
365 
370  inline bool PriceClassHasBeenSet() const { return m_priceClassHasBeenSet; }
371 
376  inline void SetPriceClass(const PriceClass& value) { m_priceClassHasBeenSet = true; m_priceClass = value; }
377 
382  inline void SetPriceClass(PriceClass&& value) { m_priceClassHasBeenSet = true; m_priceClass = std::move(value); }
383 
388  inline StreamingDistributionConfig& WithPriceClass(const PriceClass& value) { SetPriceClass(value); return *this;}
389 
394  inline StreamingDistributionConfig& WithPriceClass(PriceClass&& value) { SetPriceClass(std::move(value)); return *this;}
395 
396 
401  inline bool GetEnabled() const{ return m_enabled; }
402 
407  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
408 
413  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
414 
419  inline StreamingDistributionConfig& WithEnabled(bool value) { SetEnabled(value); return *this;}
420 
421  private:
422 
423  Aws::String m_callerReference;
424  bool m_callerReferenceHasBeenSet;
425 
426  S3Origin m_s3Origin;
427  bool m_s3OriginHasBeenSet;
428 
429  Aliases m_aliases;
430  bool m_aliasesHasBeenSet;
431 
432  Aws::String m_comment;
433  bool m_commentHasBeenSet;
434 
435  StreamingLoggingConfig m_logging;
436  bool m_loggingHasBeenSet;
437 
438  TrustedSigners m_trustedSigners;
439  bool m_trustedSignersHasBeenSet;
440 
441  PriceClass m_priceClass;
442  bool m_priceClassHasBeenSet;
443 
444  bool m_enabled;
445  bool m_enabledHasBeenSet;
446  };
447 
448 } // namespace Model
449 } // namespace CloudFront
450 } // namespace Aws
Aws::CloudFront::Model::StreamingDistributionConfig::WithS3Origin
StreamingDistributionConfig & WithS3Origin(const S3Origin &value)
Definition: StreamingDistributionConfig.h:163
Aws::CloudFront::Model::StreamingDistributionConfig::AliasesHasBeenSet
bool AliasesHasBeenSet() const
Definition: StreamingDistributionConfig.h:182
Aws::CloudFront::Model::PriceClass
PriceClass
Definition: PriceClass.h:17
Aws::CloudFront::Model::StreamingDistributionConfig::operator=
StreamingDistributionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::StreamingDistributionConfig::SetPriceClass
void SetPriceClass(const PriceClass &value)
Definition: StreamingDistributionConfig.h:376
Aws::CloudFront::Model::StreamingDistributionConfig::WithS3Origin
StreamingDistributionConfig & WithS3Origin(S3Origin &&value)
Definition: StreamingDistributionConfig.h:169
Aws::CloudFront::Model::StreamingDistributionConfig::SetS3Origin
void SetS3Origin(const S3Origin &value)
Definition: StreamingDistributionConfig.h:151
Aws::CloudFront::Model::StreamingDistributionConfig::SetComment
void SetComment(const char *value)
Definition: StreamingDistributionConfig.h:232
Aws::CloudFront::Model::StreamingDistributionConfig::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: StreamingDistributionConfig.h:407
Aws::CloudFront::Model::StreamingDistributionConfig::SetLogging
void SetLogging(StreamingLoggingConfig &&value)
Definition: StreamingDistributionConfig.h:272
Aws::CloudFront::Model::StreamingDistributionConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::StreamingDistributionConfig::WithPriceClass
StreamingDistributionConfig & WithPriceClass(PriceClass &&value)
Definition: StreamingDistributionConfig.h:394
Aws::CloudFront::Model::StreamingDistributionConfig::SetCallerReference
void SetCallerReference(const char *value)
Definition: StreamingDistributionConfig.h:99
Aws::CloudFront::Model::StreamingDistributionConfig::GetLogging
const StreamingLoggingConfig & GetLogging() const
Definition: StreamingDistributionConfig.h:254
Aws::CloudFront::Model::StreamingDistributionConfig::TrustedSignersHasBeenSet
bool TrustedSignersHasBeenSet() const
Definition: StreamingDistributionConfig.h:309
Aws::CloudFront::Model::StreamingDistributionConfig::WithComment
StreamingDistributionConfig & WithComment(const Aws::String &value)
Definition: StreamingDistributionConfig.h:237
Aws::CloudFront::Model::StreamingDistributionConfig::GetComment
const Aws::String & GetComment() const
Definition: StreamingDistributionConfig.h:212
Aws::CloudFront::Model::StreamingDistributionConfig::SetTrustedSigners
void SetTrustedSigners(TrustedSigners &&value)
Definition: StreamingDistributionConfig.h:333
Aws::CloudFront::Model::StreamingDistributionConfig::WithCallerReference
StreamingDistributionConfig & WithCallerReference(const char *value)
Definition: StreamingDistributionConfig.h:132
Aws::CloudFront::Model::StreamingDistributionConfig::GetEnabled
bool GetEnabled() const
Definition: StreamingDistributionConfig.h:401
Aws::CloudFront::Model::StreamingDistributionConfig::SetLogging
void SetLogging(const StreamingLoggingConfig &value)
Definition: StreamingDistributionConfig.h:266
Aws::CloudFront::Model::StreamingDistributionConfig::WithTrustedSigners
StreamingDistributionConfig & WithTrustedSigners(const TrustedSigners &value)
Definition: StreamingDistributionConfig.h:345
Aws::CloudFront::Model::StreamingDistributionConfig::SetEnabled
void SetEnabled(bool value)
Definition: StreamingDistributionConfig.h:413
Aws::CloudFront::Model::StreamingDistributionConfig::WithLogging
StreamingDistributionConfig & WithLogging(const StreamingLoggingConfig &value)
Definition: StreamingDistributionConfig.h:278
Aws::CloudFront::Model::StreamingDistributionConfig::SetAliases
void SetAliases(Aliases &&value)
Definition: StreamingDistributionConfig.h:194
Aws::CloudFront::Model::StreamingDistributionConfig::SetComment
void SetComment(const Aws::String &value)
Definition: StreamingDistributionConfig.h:222
Aws::CloudFront::Model::StreamingDistributionConfig::GetAliases
const Aliases & GetAliases() const
Definition: StreamingDistributionConfig.h:176
Aws::CloudFront::Model::StreamingDistributionConfig::GetS3Origin
const S3Origin & GetS3Origin() const
Definition: StreamingDistributionConfig.h:139
Aws::CloudFront::Model::StreamingDistributionConfig::GetPriceClass
const PriceClass & GetPriceClass() const
Definition: StreamingDistributionConfig.h:364
Aws::CloudFront::Model::StreamingDistributionConfig::WithLogging
StreamingDistributionConfig & WithLogging(StreamingLoggingConfig &&value)
Definition: StreamingDistributionConfig.h:284
PriceClass.h
Aws::CloudFront::Model::StreamingDistributionConfig::PriceClassHasBeenSet
bool PriceClassHasBeenSet() const
Definition: StreamingDistributionConfig.h:370
Aws::CloudFront::Model::StreamingDistributionConfig::SetCallerReference
void SetCallerReference(const Aws::String &value)
Definition: StreamingDistributionConfig.h:77
Aws::CloudFront::Model::StreamingLoggingConfig
Definition: StreamingLoggingConfig.h:32
TrustedSigners.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::StreamingDistributionConfig::WithEnabled
StreamingDistributionConfig & WithEnabled(bool value)
Definition: StreamingDistributionConfig.h:419
Aws::CloudFront::Model::StreamingDistributionConfig::GetCallerReference
const Aws::String & GetCallerReference() const
Definition: StreamingDistributionConfig.h:55
Aliases.h
Aws::CloudFront::Model::StreamingDistributionConfig::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: StreamingDistributionConfig.h:217
Aws::CloudFront::Model::S3Origin
Definition: S3Origin.h:33
Aws::CloudFront::Model::StreamingDistributionConfig::StreamingDistributionConfig
StreamingDistributionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingLoggingConfig.h
Aws::CloudFront::Model::StreamingDistributionConfig::WithComment
StreamingDistributionConfig & WithComment(Aws::String &&value)
Definition: StreamingDistributionConfig.h:242
Aws::CloudFront::Model::StreamingDistributionConfig::WithAliases
StreamingDistributionConfig & WithAliases(Aliases &&value)
Definition: StreamingDistributionConfig.h:206
AWSString.h
Aws::CloudFront::Model::TrustedSigners
Definition: TrustedSigners.h:34
Aws::CloudFront::Model::StreamingDistributionConfig::WithComment
StreamingDistributionConfig & WithComment(const char *value)
Definition: StreamingDistributionConfig.h:247
Aws::CloudFront::Model::StreamingDistributionConfig::WithCallerReference
StreamingDistributionConfig & WithCallerReference(Aws::String &&value)
Definition: StreamingDistributionConfig.h:121
Aws::CloudFront::Model::StreamingDistributionConfig::LoggingHasBeenSet
bool LoggingHasBeenSet() const
Definition: StreamingDistributionConfig.h:260
Aws::CloudFront::Model::StreamingDistributionConfig::SetComment
void SetComment(Aws::String &&value)
Definition: StreamingDistributionConfig.h:227
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::StreamingDistributionConfig::GetTrustedSigners
const TrustedSigners & GetTrustedSigners() const
Definition: StreamingDistributionConfig.h:297
Aws::CloudFront::Model::StreamingDistributionConfig::SetAliases
void SetAliases(const Aliases &value)
Definition: StreamingDistributionConfig.h:188
Aws::CloudFront::Model::StreamingDistributionConfig::WithAliases
StreamingDistributionConfig & WithAliases(const Aliases &value)
Definition: StreamingDistributionConfig.h:200
Aws::CloudFront::Model::StreamingDistributionConfig::S3OriginHasBeenSet
bool S3OriginHasBeenSet() const
Definition: StreamingDistributionConfig.h:145
Aws::CloudFront::Model::StreamingDistributionConfig::CallerReferenceHasBeenSet
bool CallerReferenceHasBeenSet() const
Definition: StreamingDistributionConfig.h:66
S3Origin.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::StreamingDistributionConfig::WithTrustedSigners
StreamingDistributionConfig & WithTrustedSigners(TrustedSigners &&value)
Definition: StreamingDistributionConfig.h:357
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::StreamingDistributionConfig::WithPriceClass
StreamingDistributionConfig & WithPriceClass(const PriceClass &value)
Definition: StreamingDistributionConfig.h:388
Aws::CloudFront::Model::StreamingDistributionConfig::SetPriceClass
void SetPriceClass(PriceClass &&value)
Definition: StreamingDistributionConfig.h:382
Aws::CloudFront::Model::StreamingDistributionConfig::WithCallerReference
StreamingDistributionConfig & WithCallerReference(const Aws::String &value)
Definition: StreamingDistributionConfig.h:110
Aws::CloudFront::Model::StreamingDistributionConfig::StreamingDistributionConfig
StreamingDistributionConfig()
Aws::CloudFront::Model::StreamingDistributionConfig::SetCallerReference
void SetCallerReference(Aws::String &&value)
Definition: StreamingDistributionConfig.h:88
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37
Aws::CloudFront::Model::StreamingDistributionConfig::SetS3Origin
void SetS3Origin(S3Origin &&value)
Definition: StreamingDistributionConfig.h:157
Aws::CloudFront::Model::Aliases
Definition: Aliases.h:33
Aws::CloudFront::Model::StreamingDistributionConfig::SetTrustedSigners
void SetTrustedSigners(const TrustedSigners &value)
Definition: StreamingDistributionConfig.h:321