7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Aliases.h>
9#include <aws/cloudfront/model/CacheBehaviors.h>
10#include <aws/cloudfront/model/CacheTagConfig.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/LoggingConfig.h>
17#include <aws/cloudfront/model/OriginGroups.h>
18#include <aws/cloudfront/model/Origins.h>
19#include <aws/cloudfront/model/PriceClass.h>
20#include <aws/cloudfront/model/Restrictions.h>
21#include <aws/cloudfront/model/TenantConfig.h>
22#include <aws/cloudfront/model/ViewerCertificate.h>
23#include <aws/cloudfront/model/ViewerMtlsConfig.h>
24#include <aws/core/utils/memory/stl/AWSString.h>
61 template <
typename CallerReferenceT = Aws::String>
63 m_callerReferenceHasBeenSet =
true;
64 m_callerReference = std::forward<CallerReferenceT>(value);
66 template <
typename CallerReferenceT = Aws::String>
84 template <
typename AliasesT = Aliases>
86 m_aliasesHasBeenSet =
true;
87 m_aliases = std::forward<AliasesT>(value);
89 template <
typename AliasesT = Aliases>
121 template <
typename DefaultRootObjectT = Aws::String>
123 m_defaultRootObjectHasBeenSet =
true;
124 m_defaultRootObject = std::forward<DefaultRootObjectT>(value);
126 template <
typename DefaultRootObjectT = Aws::String>
140 template <
typename OriginsT = Origins>
142 m_originsHasBeenSet =
true;
143 m_origins = std::forward<OriginsT>(value);
145 template <
typename OriginsT = Origins>
159 template <
typename OriginGroupsT = OriginGroups>
161 m_originGroupsHasBeenSet =
true;
162 m_originGroups = std::forward<OriginGroupsT>(value);
164 template <
typename OriginGroupsT = OriginGroups>
180 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
182 m_defaultCacheBehaviorHasBeenSet =
true;
183 m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value);
185 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
199 template <
typename CacheBehaviorsT = CacheBehaviors>
201 m_cacheBehaviorsHasBeenSet =
true;
202 m_cacheBehaviors = std::forward<CacheBehaviorsT>(value);
204 template <
typename CacheBehaviorsT = CacheBehaviors>
223 template <
typename CustomErrorResponsesT = CustomErrorResponses>
225 m_customErrorResponsesHasBeenSet =
true;
226 m_customErrorResponses = std::forward<CustomErrorResponsesT>(value);
228 template <
typename CustomErrorResponsesT = CustomErrorResponses>
242 template <
typename CommentT = Aws::String>
244 m_commentHasBeenSet =
true;
245 m_comment = std::forward<CommentT>(value);
247 template <
typename CommentT = Aws::String>
263 template <
typename LoggingT = LoggingConfig>
265 m_loggingHasBeenSet =
true;
266 m_logging = std::forward<LoggingT>(value);
268 template <
typename LoggingT = LoggingConfig>
300 m_priceClassHasBeenSet =
true;
301 m_priceClass = value;
316 m_enabledHasBeenSet =
true;
332 template <
typename ViewerCertificateT = ViewerCertificate>
334 m_viewerCertificateHasBeenSet =
true;
335 m_viewerCertificate = std::forward<ViewerCertificateT>(value);
337 template <
typename ViewerCertificateT = ViewerCertificate>
351 template <
typename RestrictionsT = Restrictions>
353 m_restrictionsHasBeenSet =
true;
354 m_restrictions = std::forward<RestrictionsT>(value);
356 template <
typename RestrictionsT = Restrictions>
384 template <
typename WebACLIdT = Aws::String>
386 m_webACLIdHasBeenSet =
true;
387 m_webACLId = std::forward<WebACLIdT>(value);
389 template <
typename WebACLIdT = Aws::String>
416 m_httpVersionHasBeenSet =
true;
417 m_httpVersion = value;
462 m_isIPV6EnabledHasBeenSet =
true;
463 m_isIPV6Enabled = value;
483 template <
typename ContinuousDeploymentPolicyIdT = Aws::String>
485 m_continuousDeploymentPolicyIdHasBeenSet =
true;
486 m_continuousDeploymentPolicyId = std::forward<ContinuousDeploymentPolicyIdT>(value);
488 template <
typename ContinuousDeploymentPolicyIdT = Aws::String>
509 m_stagingHasBeenSet =
true;
528 template <
typename AnycastIpListIdT = Aws::String>
530 m_anycastIpListIdHasBeenSet =
true;
531 m_anycastIpListId = std::forward<AnycastIpListIdT>(value);
533 template <
typename AnycastIpListIdT = Aws::String>
550 template <
typename TenantConfigT = TenantConfig>
552 m_tenantConfigHasBeenSet =
true;
553 m_tenantConfig = std::forward<TenantConfigT>(value);
555 template <
typename TenantConfigT = TenantConfig>
571 m_connectionModeHasBeenSet =
true;
572 m_connectionMode = value;
586 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
588 m_viewerMtlsConfigHasBeenSet =
true;
589 m_viewerMtlsConfig = std::forward<ViewerMtlsConfigT>(value);
591 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
604 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
606 m_connectionFunctionAssociationHasBeenSet =
true;
607 m_connectionFunctionAssociation = std::forward<ConnectionFunctionAssociationT>(value);
609 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
632 template <
typename CacheTagConfigT = CacheTagConfig>
634 m_cacheTagConfigHasBeenSet =
true;
635 m_cacheTagConfig = std::forward<CacheTagConfigT>(value);
637 template <
typename CacheTagConfigT = CacheTagConfig>
666 bool m_enabled{
false};
668 ViewerCertificate m_viewerCertificate;
670 Restrictions m_restrictions;
676 bool m_isIPV6Enabled{
false};
680 bool m_staging{
false};
684 TenantConfig m_tenantConfig;
688 ViewerMtlsConfig m_viewerMtlsConfig;
690 ConnectionFunctionAssociation m_connectionFunctionAssociation;
692 CacheTagConfig m_cacheTagConfig;
693 bool m_callerReferenceHasBeenSet =
false;
694 bool m_aliasesHasBeenSet =
false;
695 bool m_defaultRootObjectHasBeenSet =
false;
696 bool m_originsHasBeenSet =
false;
697 bool m_originGroupsHasBeenSet =
false;
698 bool m_defaultCacheBehaviorHasBeenSet =
false;
699 bool m_cacheBehaviorsHasBeenSet =
false;
700 bool m_customErrorResponsesHasBeenSet =
false;
701 bool m_commentHasBeenSet =
false;
702 bool m_loggingHasBeenSet =
false;
703 bool m_priceClassHasBeenSet =
false;
704 bool m_enabledHasBeenSet =
false;
705 bool m_viewerCertificateHasBeenSet =
false;
706 bool m_restrictionsHasBeenSet =
false;
707 bool m_webACLIdHasBeenSet =
false;
708 bool m_httpVersionHasBeenSet =
false;
709 bool m_isIPV6EnabledHasBeenSet =
false;
710 bool m_continuousDeploymentPolicyIdHasBeenSet =
false;
711 bool m_stagingHasBeenSet =
false;
712 bool m_anycastIpListIdHasBeenSet =
false;
713 bool m_tenantConfigHasBeenSet =
false;
714 bool m_connectionModeHasBeenSet =
false;
715 bool m_viewerMtlsConfigHasBeenSet =
false;
716 bool m_connectionFunctionAssociationHasBeenSet =
false;
717 bool m_cacheTagConfigHasBeenSet =
false;
void SetOrigins(OriginsT &&value)
void SetDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
bool TenantConfigHasBeenSet() const
const Aws::String & GetComment() const
const Restrictions & GetRestrictions() const
bool ViewerCertificateHasBeenSet() const
const Origins & GetOrigins() const
bool DefaultRootObjectHasBeenSet() const
const ConnectionFunctionAssociation & GetConnectionFunctionAssociation() const
HttpVersion GetHttpVersion() const
bool OriginGroupsHasBeenSet() const
const Aws::String & GetDefaultRootObject() const
bool GetIsIPV6Enabled() const
void SetConnectionFunctionAssociation(ConnectionFunctionAssociationT &&value)
void SetWebACLId(WebACLIdT &&value)
bool HttpVersionHasBeenSet() const
const Aliases & GetAliases() const
void SetCallerReference(CallerReferenceT &&value)
DistributionConfig & WithCustomErrorResponses(CustomErrorResponsesT &&value)
bool CacheBehaviorsHasBeenSet() const
void SetTenantConfig(TenantConfigT &&value)
const CacheTagConfig & GetCacheTagConfig() const
void SetStaging(bool value)
void SetLogging(LoggingT &&value)
void SetConnectionMode(ConnectionMode value)
DistributionConfig & WithStaging(bool value)
PriceClass GetPriceClass() const
bool StagingHasBeenSet() const
DistributionConfig & WithHttpVersion(HttpVersion value)
void SetIsIPV6Enabled(bool value)
bool DefaultCacheBehaviorHasBeenSet() const
const OriginGroups & GetOriginGroups() const
DistributionConfig & WithViewerMtlsConfig(ViewerMtlsConfigT &&value)
void SetViewerCertificate(ViewerCertificateT &&value)
DistributionConfig & WithIsIPV6Enabled(bool value)
bool OriginsHasBeenSet() const
AWS_CLOUDFRONT_API DistributionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AliasesHasBeenSet() const
void SetViewerMtlsConfig(ViewerMtlsConfigT &&value)
const ViewerCertificate & GetViewerCertificate() const
DistributionConfig & WithDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
DistributionConfig & WithConnectionMode(ConnectionMode value)
bool IsIPV6EnabledHasBeenSet() const
AWS_CLOUDFRONT_API DistributionConfig()=default
void SetCustomErrorResponses(CustomErrorResponsesT &&value)
bool ViewerMtlsConfigHasBeenSet() const
DistributionConfig & WithCallerReference(CallerReferenceT &&value)
bool RestrictionsHasBeenSet() const
const LoggingConfig & GetLogging() const
bool WebACLIdHasBeenSet() const
void SetOriginGroups(OriginGroupsT &&value)
DistributionConfig & WithAliases(AliasesT &&value)
void SetHttpVersion(HttpVersion value)
bool CustomErrorResponsesHasBeenSet() const
bool ConnectionFunctionAssociationHasBeenSet() const
DistributionConfig & WithRestrictions(RestrictionsT &&value)
void SetRestrictions(RestrictionsT &&value)
DistributionConfig & WithCacheTagConfig(CacheTagConfigT &&value)
void SetCacheBehaviors(CacheBehaviorsT &&value)
bool CommentHasBeenSet() const
const CustomErrorResponses & GetCustomErrorResponses() const
DistributionConfig & WithComment(CommentT &&value)
bool EnabledHasBeenSet() const
bool LoggingHasBeenSet() const
void SetContinuousDeploymentPolicyId(ContinuousDeploymentPolicyIdT &&value)
void SetPriceClass(PriceClass value)
DistributionConfig & WithConnectionFunctionAssociation(ConnectionFunctionAssociationT &&value)
DistributionConfig & WithWebACLId(WebACLIdT &&value)
AWS_CLOUDFRONT_API DistributionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionConfig & WithContinuousDeploymentPolicyId(ContinuousDeploymentPolicyIdT &&value)
DistributionConfig & WithEnabled(bool value)
const DefaultCacheBehavior & GetDefaultCacheBehavior() const
DistributionConfig & WithViewerCertificate(ViewerCertificateT &&value)
bool CallerReferenceHasBeenSet() const
bool AnycastIpListIdHasBeenSet() const
bool CacheTagConfigHasBeenSet() const
const Aws::String & GetWebACLId() const
const CacheBehaviors & GetCacheBehaviors() const
DistributionConfig & WithLogging(LoggingT &&value)
DistributionConfig & WithOrigins(OriginsT &&value)
const Aws::String & GetContinuousDeploymentPolicyId() const
const TenantConfig & GetTenantConfig() const
const Aws::String & GetCallerReference() const
bool PriceClassHasBeenSet() const
void SetAliases(AliasesT &&value)
const Aws::String & GetAnycastIpListId() const
ConnectionMode GetConnectionMode() const
DistributionConfig & WithCacheBehaviors(CacheBehaviorsT &&value)
void SetEnabled(bool value)
void SetAnycastIpListId(AnycastIpListIdT &&value)
bool ConnectionModeHasBeenSet() const
DistributionConfig & WithTenantConfig(TenantConfigT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
DistributionConfig & WithOriginGroups(OriginGroupsT &&value)
void SetDefaultRootObject(DefaultRootObjectT &&value)
const ViewerMtlsConfig & GetViewerMtlsConfig() const
void SetComment(CommentT &&value)
bool ContinuousDeploymentPolicyIdHasBeenSet() const
DistributionConfig & WithAnycastIpListId(AnycastIpListIdT &&value)
void SetCacheTagConfig(CacheTagConfigT &&value)
DistributionConfig & WithPriceClass(PriceClass value)
DistributionConfig & WithDefaultRootObject(DefaultRootObjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String