7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/S3Origin.h>
11#include <aws/cloudfront/model/Aliases.h>
12#include <aws/cloudfront/model/TrustedSigners.h>
13#include <aws/cloudfront/model/PriceClass.h>
53 template<
typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
55 template<
typename IdT = Aws::String>
67 template<
typename ARNT = Aws::String>
68 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
69 template<
typename ARNT = Aws::String>
81 template<
typename StatusT = Aws::String>
82 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
83 template<
typename StatusT = Aws::String>
93 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
94 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
95 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
106 template<
typename DomainNameT = Aws::String>
107 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
108 template<
typename DomainNameT = Aws::String>
119 template<
typename S3OriginT = S3Origin>
120 void SetS3Origin(S3OriginT&& value) { m_s3OriginHasBeenSet =
true; m_s3Origin = std::forward<S3OriginT>(value); }
121 template<
typename S3OriginT = S3Origin>
132 template<
typename AliasesT = Aliases>
133 void SetAliases(AliasesT&& value) { m_aliasesHasBeenSet =
true; m_aliases = std::forward<AliasesT>(value); }
134 template<
typename AliasesT = Aliases>
159 template<
typename TrustedSignersT = TrustedSigners>
160 void SetTrustedSigners(TrustedSignersT&& value) { m_trustedSignersHasBeenSet =
true; m_trustedSigners = std::forward<TrustedSignersT>(value); }
161 template<
typename TrustedSignersT = TrustedSigners>
171 template<
typename CommentT = Aws::String>
172 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
173 template<
typename CommentT = Aws::String>
195 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
201 bool m_idHasBeenSet =
false;
204 bool m_aRNHasBeenSet =
false;
207 bool m_statusHasBeenSet =
false;
210 bool m_lastModifiedTimeHasBeenSet =
false;
213 bool m_domainNameHasBeenSet =
false;
216 bool m_s3OriginHasBeenSet =
false;
219 bool m_aliasesHasBeenSet =
false;
221 TrustedSigners m_trustedSigners;
222 bool m_trustedSignersHasBeenSet =
false;
225 bool m_commentHasBeenSet =
false;
228 bool m_priceClassHasBeenSet =
false;
230 bool m_enabled{
false};
231 bool m_enabledHasBeenSet =
false;
void SetComment(CommentT &&value)
StreamingDistributionSummary & WithS3Origin(S3OriginT &&value)
void SetStatus(StatusT &&value)
StreamingDistributionSummary & WithId(IdT &&value)
void SetAliases(AliasesT &&value)
StreamingDistributionSummary & WithStatus(StatusT &&value)
bool ARNHasBeenSet() const
StreamingDistributionSummary & WithPriceClass(PriceClass value)
StreamingDistributionSummary & WithARN(ARNT &&value)
StreamingDistributionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetStatus() const
void SetEnabled(bool value)
bool PriceClassHasBeenSet() const
StreamingDistributionSummary & WithEnabled(bool value)
void SetPriceClass(PriceClass value)
AWS_CLOUDFRONT_API StreamingDistributionSummary()=default
StreamingDistributionSummary & WithTrustedSigners(TrustedSignersT &&value)
StreamingDistributionSummary & WithDomainName(DomainNameT &&value)
const TrustedSigners & GetTrustedSigners() const
const Aws::String & GetARN() const
bool CommentHasBeenSet() const
const Aws::String & GetDomainName() const
bool TrustedSignersHasBeenSet() const
bool EnabledHasBeenSet() const
const Aws::String & GetComment() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
StreamingDistributionSummary & WithAliases(AliasesT &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AliasesHasBeenSet() const
StreamingDistributionSummary & WithComment(CommentT &&value)
void SetARN(ARNT &&value)
bool DomainNameHasBeenSet() const
bool IdHasBeenSet() const
void SetDomainName(DomainNameT &&value)
PriceClass GetPriceClass() const
const Aliases & GetAliases() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetS3Origin(S3OriginT &&value)
bool LastModifiedTimeHasBeenSet() const
bool S3OriginHasBeenSet() const
const Aws::String & GetId() const
const S3Origin & GetS3Origin() const
void SetTrustedSigners(TrustedSignersT &&value)
AWS_CLOUDFRONT_API StreamingDistributionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String