7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/AliasICPRecordal.h>
9#include <aws/cloudfront/model/Aliases.h>
10#include <aws/cloudfront/model/CacheBehaviors.h>
11#include <aws/cloudfront/model/ConnectionFunctionAssociation.h>
12#include <aws/cloudfront/model/ConnectionMode.h>
13#include <aws/cloudfront/model/CustomErrorResponses.h>
14#include <aws/cloudfront/model/DefaultCacheBehavior.h>
15#include <aws/cloudfront/model/HttpVersion.h>
16#include <aws/cloudfront/model/OriginGroups.h>
17#include <aws/cloudfront/model/Origins.h>
18#include <aws/cloudfront/model/PriceClass.h>
19#include <aws/cloudfront/model/Restrictions.h>
20#include <aws/cloudfront/model/ViewerCertificate.h>
21#include <aws/cloudfront/model/ViewerMtlsConfig.h>
22#include <aws/core/utils/DateTime.h>
23#include <aws/core/utils/memory/stl/AWSString.h>
24#include <aws/core/utils/memory/stl/AWSVector.h>
58 template <
typename IdT = Aws::String>
60 m_idHasBeenSet =
true;
61 m_id = std::forward<IdT>(value);
63 template <
typename IdT = Aws::String>
65 SetId(std::forward<IdT>(value));
78 template <
typename ARNT = Aws::String>
80 m_aRNHasBeenSet =
true;
81 m_aRN = std::forward<ARNT>(value);
83 template <
typename ARNT = Aws::String>
85 SetARN(std::forward<ARNT>(value));
96 template <
typename ETagT = Aws::String>
98 m_eTagHasBeenSet =
true;
99 m_eTag = std::forward<ETagT>(value);
101 template <
typename ETagT = Aws::String>
103 SetETag(std::forward<ETagT>(value));
116 template <
typename StatusT = Aws::String>
118 m_statusHasBeenSet =
true;
119 m_status = std::forward<StatusT>(value);
121 template <
typename StatusT = Aws::String>
134 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
136 m_lastModifiedTimeHasBeenSet =
true;
137 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
139 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
153 template <
typename DomainNameT = Aws::String>
155 m_domainNameHasBeenSet =
true;
156 m_domainName = std::forward<DomainNameT>(value);
158 template <
typename DomainNameT = Aws::String>
172 template <
typename AliasesT = Aliases>
174 m_aliasesHasBeenSet =
true;
175 m_aliases = std::forward<AliasesT>(value);
177 template <
typename AliasesT = Aliases>
191 template <
typename OriginsT = Origins>
193 m_originsHasBeenSet =
true;
194 m_origins = std::forward<OriginsT>(value);
196 template <
typename OriginsT = Origins>
210 template <
typename OriginGroupsT = OriginGroups>
212 m_originGroupsHasBeenSet =
true;
213 m_originGroups = std::forward<OriginGroupsT>(value);
215 template <
typename OriginGroupsT = OriginGroups>
231 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
233 m_defaultCacheBehaviorHasBeenSet =
true;
234 m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value);
236 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
250 template <
typename CacheBehaviorsT = CacheBehaviors>
252 m_cacheBehaviorsHasBeenSet =
true;
253 m_cacheBehaviors = std::forward<CacheBehaviorsT>(value);
255 template <
typename CacheBehaviorsT = CacheBehaviors>
269 template <
typename CustomErrorResponsesT = CustomErrorResponses>
271 m_customErrorResponsesHasBeenSet =
true;
272 m_customErrorResponses = std::forward<CustomErrorResponsesT>(value);
274 template <
typename CustomErrorResponsesT = CustomErrorResponses>
287 template <
typename CommentT = Aws::String>
289 m_commentHasBeenSet =
true;
290 m_comment = std::forward<CommentT>(value);
292 template <
typename CommentT = Aws::String>
311 m_priceClassHasBeenSet =
true;
312 m_priceClass = value;
327 m_enabledHasBeenSet =
true;
343 template <
typename ViewerCertificateT = ViewerCertificate>
345 m_viewerCertificateHasBeenSet =
true;
346 m_viewerCertificate = std::forward<ViewerCertificateT>(value);
348 template <
typename ViewerCertificateT = ViewerCertificate>
362 template <
typename RestrictionsT = Restrictions>
364 m_restrictionsHasBeenSet =
true;
365 m_restrictions = std::forward<RestrictionsT>(value);
367 template <
typename RestrictionsT = Restrictions>
380 template <
typename WebACLIdT = Aws::String>
382 m_webACLIdHasBeenSet =
true;
383 m_webACLId = std::forward<WebACLIdT>(value);
385 template <
typename WebACLIdT = Aws::String>
402 m_httpVersionHasBeenSet =
true;
403 m_httpVersion = value;
419 m_isIPV6EnabledHasBeenSet =
true;
420 m_isIPV6Enabled = value;
441 template <
typename AliasICPRecordalsT = Aws::Vector<AliasICPRecordal>>
443 m_aliasICPRecordalsHasBeenSet =
true;
444 m_aliasICPRecordals = std::forward<AliasICPRecordalsT>(value);
446 template <
typename AliasICPRecordalsT = Aws::Vector<AliasICPRecordal>>
451 template <
typename AliasICPRecordalsT = AliasICPRecordal>
453 m_aliasICPRecordalsHasBeenSet =
true;
454 m_aliasICPRecordals.emplace_back(std::forward<AliasICPRecordalsT>(value));
468 m_stagingHasBeenSet =
true;
486 m_connectionModeHasBeenSet =
true;
487 m_connectionMode = value;
502 template <
typename AnycastIpListIdT = Aws::String>
504 m_anycastIpListIdHasBeenSet =
true;
505 m_anycastIpListId = std::forward<AnycastIpListIdT>(value);
507 template <
typename AnycastIpListIdT = Aws::String>
520 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
522 m_viewerMtlsConfigHasBeenSet =
true;
523 m_viewerMtlsConfig = std::forward<ViewerMtlsConfigT>(value);
525 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
538 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
540 m_connectionFunctionAssociationHasBeenSet =
true;
541 m_connectionFunctionAssociation = std::forward<ConnectionFunctionAssociationT>(value);
543 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
566 OriginGroups m_originGroups;
568 DefaultCacheBehavior m_defaultCacheBehavior;
570 CacheBehaviors m_cacheBehaviors;
572 CustomErrorResponses m_customErrorResponses;
578 bool m_enabled{
false};
580 ViewerCertificate m_viewerCertificate;
582 Restrictions m_restrictions;
588 bool m_isIPV6Enabled{
false};
592 bool m_staging{
false};
598 ViewerMtlsConfig m_viewerMtlsConfig;
600 ConnectionFunctionAssociation m_connectionFunctionAssociation;
601 bool m_idHasBeenSet =
false;
602 bool m_aRNHasBeenSet =
false;
603 bool m_eTagHasBeenSet =
false;
604 bool m_statusHasBeenSet =
false;
605 bool m_lastModifiedTimeHasBeenSet =
false;
606 bool m_domainNameHasBeenSet =
false;
607 bool m_aliasesHasBeenSet =
false;
608 bool m_originsHasBeenSet =
false;
609 bool m_originGroupsHasBeenSet =
false;
610 bool m_defaultCacheBehaviorHasBeenSet =
false;
611 bool m_cacheBehaviorsHasBeenSet =
false;
612 bool m_customErrorResponsesHasBeenSet =
false;
613 bool m_commentHasBeenSet =
false;
614 bool m_priceClassHasBeenSet =
false;
615 bool m_enabledHasBeenSet =
false;
616 bool m_viewerCertificateHasBeenSet =
false;
617 bool m_restrictionsHasBeenSet =
false;
618 bool m_webACLIdHasBeenSet =
false;
619 bool m_httpVersionHasBeenSet =
false;
620 bool m_isIPV6EnabledHasBeenSet =
false;
621 bool m_aliasICPRecordalsHasBeenSet =
false;
622 bool m_stagingHasBeenSet =
false;
623 bool m_connectionModeHasBeenSet =
false;
624 bool m_anycastIpListIdHasBeenSet =
false;
625 bool m_viewerMtlsConfigHasBeenSet =
false;
626 bool m_connectionFunctionAssociationHasBeenSet =
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
const ConnectionFunctionAssociation & GetConnectionFunctionAssociation() const
bool OriginsHasBeenSet() const
void SetRestrictions(RestrictionsT &&value)
bool StatusHasBeenSet() const
DistributionSummary & WithComment(CommentT &&value)
DistributionSummary & WithOrigins(OriginsT &&value)
void SetViewerMtlsConfig(ViewerMtlsConfigT &&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)
bool ConnectionFunctionAssociationHasBeenSet() const
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)
void SetConnectionFunctionAssociation(ConnectionFunctionAssociationT &&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
bool ViewerMtlsConfigHasBeenSet() const
const Aws::String & GetStatus() const
void SetConnectionMode(ConnectionMode value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const ViewerMtlsConfig & GetViewerMtlsConfig() const
bool AliasICPRecordalsHasBeenSet() const
bool CustomErrorResponsesHasBeenSet() const
const DefaultCacheBehavior & GetDefaultCacheBehavior() const
bool CommentHasBeenSet() const
DistributionSummary & WithConnectionMode(ConnectionMode value)
bool LastModifiedTimeHasBeenSet() const
DistributionSummary & WithConnectionFunctionAssociation(ConnectionFunctionAssociationT &&value)
bool AnycastIpListIdHasBeenSet() const
void SetEnabled(bool value)
DistributionSummary & WithHttpVersion(HttpVersion value)
DistributionSummary & WithPriceClass(PriceClass value)
PriceClass GetPriceClass() const
DistributionSummary & WithViewerMtlsConfig(ViewerMtlsConfigT &&value)
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