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/Aliases.h>
11#include <aws/cloudfront/model/Origins.h>
12#include <aws/cloudfront/model/OriginGroups.h>
13#include <aws/cloudfront/model/DefaultCacheBehavior.h>
14#include <aws/cloudfront/model/CacheBehaviors.h>
15#include <aws/cloudfront/model/CustomErrorResponses.h>
16#include <aws/cloudfront/model/PriceClass.h>
17#include <aws/cloudfront/model/ViewerCertificate.h>
18#include <aws/cloudfront/model/Restrictions.h>
19#include <aws/cloudfront/model/HttpVersion.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
21#include <aws/cloudfront/model/ConnectionMode.h>
22#include <aws/cloudfront/model/AliasICPRecordal.h>
62 template<
typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
64 template<
typename IdT = Aws::String>
76 template<
typename ARNT = Aws::String>
77 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
78 template<
typename ARNT = Aws::String>
88 template<
typename ETagT = Aws::String>
89 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
90 template<
typename ETagT = Aws::String>
102 template<
typename StatusT = Aws::String>
103 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
104 template<
typename StatusT = Aws::String>
114 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
115 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
116 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
127 template<
typename DomainNameT = Aws::String>
128 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
129 template<
typename DomainNameT = Aws::String>
140 template<
typename AliasesT = Aliases>
141 void SetAliases(AliasesT&& value) { m_aliasesHasBeenSet =
true; m_aliases = std::forward<AliasesT>(value); }
142 template<
typename AliasesT = Aliases>
153 template<
typename OriginsT = Origins>
154 void SetOrigins(OriginsT&& value) { m_originsHasBeenSet =
true; m_origins = std::forward<OriginsT>(value); }
155 template<
typename OriginsT = Origins>
166 template<
typename OriginGroupsT = OriginGroups>
167 void SetOriginGroups(OriginGroupsT&& value) { m_originGroupsHasBeenSet =
true; m_originGroups = std::forward<OriginGroupsT>(value); }
168 template<
typename OriginGroupsT = OriginGroups>
181 template<
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
182 void SetDefaultCacheBehavior(DefaultCacheBehaviorT&& value) { m_defaultCacheBehaviorHasBeenSet =
true; m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value); }
183 template<
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
194 template<
typename CacheBehaviorsT = CacheBehaviors>
195 void SetCacheBehaviors(CacheBehaviorsT&& value) { m_cacheBehaviorsHasBeenSet =
true; m_cacheBehaviors = std::forward<CacheBehaviorsT>(value); }
196 template<
typename CacheBehaviorsT = CacheBehaviors>
207 template<
typename CustomErrorResponsesT = CustomErrorResponses>
208 void SetCustomErrorResponses(CustomErrorResponsesT&& value) { m_customErrorResponsesHasBeenSet =
true; m_customErrorResponses = std::forward<CustomErrorResponsesT>(value); }
209 template<
typename CustomErrorResponsesT = CustomErrorResponses>
219 template<
typename CommentT = Aws::String>
220 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
221 template<
typename CommentT = Aws::String>
246 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
257 template<
typename ViewerCertificateT = ViewerCertificate>
258 void SetViewerCertificate(ViewerCertificateT&& value) { m_viewerCertificateHasBeenSet =
true; m_viewerCertificate = std::forward<ViewerCertificateT>(value); }
259 template<
typename ViewerCertificateT = ViewerCertificate>
270 template<
typename RestrictionsT = Restrictions>
271 void SetRestrictions(RestrictionsT&& value) { m_restrictionsHasBeenSet =
true; m_restrictions = std::forward<RestrictionsT>(value); }
272 template<
typename RestrictionsT = Restrictions>
282 template<
typename WebACLIdT = Aws::String>
283 void SetWebACLId(WebACLIdT&& value) { m_webACLIdHasBeenSet =
true; m_webACLId = std::forward<WebACLIdT>(value); }
284 template<
typename WebACLIdT = Aws::String>
308 inline void SetIsIPV6Enabled(
bool value) { m_isIPV6EnabledHasBeenSet =
true; m_isIPV6Enabled = value; }
325 template<
typename AliasICPRecordalsT = Aws::Vector<AliasICPRecordal>>
326 void SetAliasICPRecordals(AliasICPRecordalsT&& value) { m_aliasICPRecordalsHasBeenSet =
true; m_aliasICPRecordals = std::forward<AliasICPRecordalsT>(value); }
327 template<
typename AliasICPRecordalsT = Aws::Vector<AliasICPRecordal>>
329 template<
typename AliasICPRecordalsT = AliasICPRecordal>
341 inline void SetStaging(
bool value) { m_stagingHasBeenSet =
true; m_staging = value; }
364 template<
typename AnycastIpListIdT = Aws::String>
365 void SetAnycastIpListId(AnycastIpListIdT&& value) { m_anycastIpListIdHasBeenSet =
true; m_anycastIpListId = std::forward<AnycastIpListIdT>(value); }
366 template<
typename AnycastIpListIdT = Aws::String>
372 bool m_idHasBeenSet =
false;
375 bool m_aRNHasBeenSet =
false;
378 bool m_eTagHasBeenSet =
false;
381 bool m_statusHasBeenSet =
false;
384 bool m_lastModifiedTimeHasBeenSet =
false;
387 bool m_domainNameHasBeenSet =
false;
390 bool m_aliasesHasBeenSet =
false;
393 bool m_originsHasBeenSet =
false;
395 OriginGroups m_originGroups;
396 bool m_originGroupsHasBeenSet =
false;
398 DefaultCacheBehavior m_defaultCacheBehavior;
399 bool m_defaultCacheBehaviorHasBeenSet =
false;
401 CacheBehaviors m_cacheBehaviors;
402 bool m_cacheBehaviorsHasBeenSet =
false;
404 CustomErrorResponses m_customErrorResponses;
405 bool m_customErrorResponsesHasBeenSet =
false;
408 bool m_commentHasBeenSet =
false;
411 bool m_priceClassHasBeenSet =
false;
413 bool m_enabled{
false};
414 bool m_enabledHasBeenSet =
false;
416 ViewerCertificate m_viewerCertificate;
417 bool m_viewerCertificateHasBeenSet =
false;
419 Restrictions m_restrictions;
420 bool m_restrictionsHasBeenSet =
false;
423 bool m_webACLIdHasBeenSet =
false;
426 bool m_httpVersionHasBeenSet =
false;
428 bool m_isIPV6Enabled{
false};
429 bool m_isIPV6EnabledHasBeenSet =
false;
432 bool m_aliasICPRecordalsHasBeenSet =
false;
434 bool m_staging{
false};
435 bool m_stagingHasBeenSet =
false;
438 bool m_connectionModeHasBeenSet =
false;
441 bool m_anycastIpListIdHasBeenSet =
false;
bool IdHasBeenSet() const
bool WebACLIdHasBeenSet() const
bool RestrictionsHasBeenSet() const
DistributionSummary & WithRestrictions(RestrictionsT &&value)
void SetOriginGroups(OriginGroupsT &&value)
DistributionSummary & WithIsIPV6Enabled(bool value)
bool AliasesHasBeenSet() const
DistributionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
DistributionSummary & WithCacheBehaviors(CacheBehaviorsT &&value)
bool EnabledHasBeenSet() const
DistributionSummary & WithOriginGroups(OriginGroupsT &&value)
DistributionSummary & WithId(IdT &&value)
void SetComment(CommentT &&value)
void SetETag(ETagT &&value)
bool ETagHasBeenSet() const
bool CacheBehaviorsHasBeenSet() const
const ViewerCertificate & GetViewerCertificate() const
void SetHttpVersion(HttpVersion value)
const Aws::String & GetId() const
bool DefaultCacheBehaviorHasBeenSet() const
bool GetIsIPV6Enabled() const
bool HttpVersionHasBeenSet() const
AWS_CLOUDFRONT_API DistributionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionSummary & WithDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
const Aws::String & GetWebACLId() const
bool OriginsHasBeenSet() const
void SetRestrictions(RestrictionsT &&value)
bool StatusHasBeenSet() const
DistributionSummary & WithComment(CommentT &&value)
DistributionSummary & WithOrigins(OriginsT &&value)
DistributionSummary & WithWebACLId(WebACLIdT &&value)
void SetViewerCertificate(ViewerCertificateT &&value)
DistributionSummary & AddAliasICPRecordals(AliasICPRecordalsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool ARNHasBeenSet() const
void SetAliasICPRecordals(AliasICPRecordalsT &&value)
const Restrictions & GetRestrictions() const
bool PriceClassHasBeenSet() const
ConnectionMode GetConnectionMode() const
bool IsIPV6EnabledHasBeenSet() const
void SetWebACLId(WebACLIdT &&value)
const CacheBehaviors & GetCacheBehaviors() const
bool ConnectionModeHasBeenSet() const
AWS_CLOUDFRONT_API DistributionSummary()=default
void SetStatus(StatusT &&value)
void SetAnycastIpListId(AnycastIpListIdT &&value)
void SetAliases(AliasesT &&value)
const Aws::String & GetETag() const
DistributionSummary & WithStatus(StatusT &&value)
const Aws::String & GetAnycastIpListId() const
bool DomainNameHasBeenSet() const
const Aws::String & GetComment() const
DistributionSummary & WithEnabled(bool value)
DistributionSummary & WithAnycastIpListId(AnycastIpListIdT &&value)
DistributionSummary & WithDomainName(DomainNameT &&value)
void SetDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
void SetARN(ARNT &&value)
HttpVersion GetHttpVersion() const
void SetPriceClass(PriceClass value)
DistributionSummary & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API DistributionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCacheBehaviors(CacheBehaviorsT &&value)
DistributionSummary & WithViewerCertificate(ViewerCertificateT &&value)
bool StagingHasBeenSet() const
bool ViewerCertificateHasBeenSet() const
void SetIsIPV6Enabled(bool value)
bool OriginGroupsHasBeenSet() const
void SetStaging(bool value)
const Aliases & GetAliases() const
const Aws::Vector< AliasICPRecordal > & GetAliasICPRecordals() const
DistributionSummary & WithAliases(AliasesT &&value)
const Aws::String & GetARN() const
const Aws::String & GetStatus() const
void SetConnectionMode(ConnectionMode value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool AliasICPRecordalsHasBeenSet() const
bool CustomErrorResponsesHasBeenSet() const
const DefaultCacheBehavior & GetDefaultCacheBehavior() const
bool CommentHasBeenSet() const
DistributionSummary & WithConnectionMode(ConnectionMode value)
bool LastModifiedTimeHasBeenSet() const
bool AnycastIpListIdHasBeenSet() const
void SetEnabled(bool value)
DistributionSummary & WithHttpVersion(HttpVersion value)
DistributionSummary & WithPriceClass(PriceClass value)
PriceClass GetPriceClass() const
const CustomErrorResponses & GetCustomErrorResponses() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Origins & GetOrigins() const
DistributionSummary & WithStaging(bool value)
void SetCustomErrorResponses(CustomErrorResponsesT &&value)
DistributionSummary & WithAliasICPRecordals(AliasICPRecordalsT &&value)
const Aws::String & GetDomainName() const
DistributionSummary & WithCustomErrorResponses(CustomErrorResponsesT &&value)
void SetOrigins(OriginsT &&value)
DistributionSummary & WithARN(ARNT &&value)
void SetDomainName(DomainNameT &&value)
const OriginGroups & GetOriginGroups() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector