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/ConnectionFunctionAssociation.h>
11#include <aws/cloudfront/model/ConnectionMode.h>
12#include <aws/cloudfront/model/CustomErrorResponses.h>
13#include <aws/cloudfront/model/DefaultCacheBehavior.h>
14#include <aws/cloudfront/model/HttpVersion.h>
15#include <aws/cloudfront/model/LoggingConfig.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/TenantConfig.h>
21#include <aws/cloudfront/model/ViewerCertificate.h>
22#include <aws/cloudfront/model/ViewerMtlsConfig.h>
23#include <aws/core/utils/memory/stl/AWSString.h>
60 template <
typename CallerReferenceT = Aws::String>
62 m_callerReferenceHasBeenSet =
true;
63 m_callerReference = std::forward<CallerReferenceT>(value);
65 template <
typename CallerReferenceT = Aws::String>
83 template <
typename AliasesT = Aliases>
85 m_aliasesHasBeenSet =
true;
86 m_aliases = std::forward<AliasesT>(value);
88 template <
typename AliasesT = Aliases>
120 template <
typename DefaultRootObjectT = Aws::String>
122 m_defaultRootObjectHasBeenSet =
true;
123 m_defaultRootObject = std::forward<DefaultRootObjectT>(value);
125 template <
typename DefaultRootObjectT = Aws::String>
139 template <
typename OriginsT = Origins>
141 m_originsHasBeenSet =
true;
142 m_origins = std::forward<OriginsT>(value);
144 template <
typename OriginsT = Origins>
158 template <
typename OriginGroupsT = OriginGroups>
160 m_originGroupsHasBeenSet =
true;
161 m_originGroups = std::forward<OriginGroupsT>(value);
163 template <
typename OriginGroupsT = OriginGroups>
179 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
181 m_defaultCacheBehaviorHasBeenSet =
true;
182 m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value);
184 template <
typename DefaultCacheBehaviorT = DefaultCacheBehavior>
198 template <
typename CacheBehaviorsT = CacheBehaviors>
200 m_cacheBehaviorsHasBeenSet =
true;
201 m_cacheBehaviors = std::forward<CacheBehaviorsT>(value);
203 template <
typename CacheBehaviorsT = CacheBehaviors>
222 template <
typename CustomErrorResponsesT = CustomErrorResponses>
224 m_customErrorResponsesHasBeenSet =
true;
225 m_customErrorResponses = std::forward<CustomErrorResponsesT>(value);
227 template <
typename CustomErrorResponsesT = CustomErrorResponses>
241 template <
typename CommentT = Aws::String>
243 m_commentHasBeenSet =
true;
244 m_comment = std::forward<CommentT>(value);
246 template <
typename CommentT = Aws::String>
262 template <
typename LoggingT = LoggingConfig>
264 m_loggingHasBeenSet =
true;
265 m_logging = std::forward<LoggingT>(value);
267 template <
typename LoggingT = LoggingConfig>
299 m_priceClassHasBeenSet =
true;
300 m_priceClass = value;
315 m_enabledHasBeenSet =
true;
331 template <
typename ViewerCertificateT = ViewerCertificate>
333 m_viewerCertificateHasBeenSet =
true;
334 m_viewerCertificate = std::forward<ViewerCertificateT>(value);
336 template <
typename ViewerCertificateT = ViewerCertificate>
350 template <
typename RestrictionsT = Restrictions>
352 m_restrictionsHasBeenSet =
true;
353 m_restrictions = std::forward<RestrictionsT>(value);
355 template <
typename RestrictionsT = Restrictions>
383 template <
typename WebACLIdT = Aws::String>
385 m_webACLIdHasBeenSet =
true;
386 m_webACLId = std::forward<WebACLIdT>(value);
388 template <
typename WebACLIdT = Aws::String>
415 m_httpVersionHasBeenSet =
true;
416 m_httpVersion = value;
461 m_isIPV6EnabledHasBeenSet =
true;
462 m_isIPV6Enabled = value;
482 template <
typename ContinuousDeploymentPolicyIdT = Aws::String>
484 m_continuousDeploymentPolicyIdHasBeenSet =
true;
485 m_continuousDeploymentPolicyId = std::forward<ContinuousDeploymentPolicyIdT>(value);
487 template <
typename ContinuousDeploymentPolicyIdT = Aws::String>
508 m_stagingHasBeenSet =
true;
527 template <
typename AnycastIpListIdT = Aws::String>
529 m_anycastIpListIdHasBeenSet =
true;
530 m_anycastIpListId = std::forward<AnycastIpListIdT>(value);
532 template <
typename AnycastIpListIdT = Aws::String>
549 template <
typename TenantConfigT = TenantConfig>
551 m_tenantConfigHasBeenSet =
true;
552 m_tenantConfig = std::forward<TenantConfigT>(value);
554 template <
typename TenantConfigT = TenantConfig>
570 m_connectionModeHasBeenSet =
true;
571 m_connectionMode = value;
585 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
587 m_viewerMtlsConfigHasBeenSet =
true;
588 m_viewerMtlsConfig = std::forward<ViewerMtlsConfigT>(value);
590 template <
typename ViewerMtlsConfigT = ViewerMtlsConfig>
603 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
605 m_connectionFunctionAssociationHasBeenSet =
true;
606 m_connectionFunctionAssociation = std::forward<ConnectionFunctionAssociationT>(value);
608 template <
typename ConnectionFunctionAssociationT = ConnectionFunctionAssociation>
637 bool m_enabled{
false};
639 ViewerCertificate m_viewerCertificate;
641 Restrictions m_restrictions;
647 bool m_isIPV6Enabled{
false};
651 bool m_staging{
false};
655 TenantConfig m_tenantConfig;
659 ViewerMtlsConfig m_viewerMtlsConfig;
661 ConnectionFunctionAssociation m_connectionFunctionAssociation;
662 bool m_callerReferenceHasBeenSet =
false;
663 bool m_aliasesHasBeenSet =
false;
664 bool m_defaultRootObjectHasBeenSet =
false;
665 bool m_originsHasBeenSet =
false;
666 bool m_originGroupsHasBeenSet =
false;
667 bool m_defaultCacheBehaviorHasBeenSet =
false;
668 bool m_cacheBehaviorsHasBeenSet =
false;
669 bool m_customErrorResponsesHasBeenSet =
false;
670 bool m_commentHasBeenSet =
false;
671 bool m_loggingHasBeenSet =
false;
672 bool m_priceClassHasBeenSet =
false;
673 bool m_enabledHasBeenSet =
false;
674 bool m_viewerCertificateHasBeenSet =
false;
675 bool m_restrictionsHasBeenSet =
false;
676 bool m_webACLIdHasBeenSet =
false;
677 bool m_httpVersionHasBeenSet =
false;
678 bool m_isIPV6EnabledHasBeenSet =
false;
679 bool m_continuousDeploymentPolicyIdHasBeenSet =
false;
680 bool m_stagingHasBeenSet =
false;
681 bool m_anycastIpListIdHasBeenSet =
false;
682 bool m_tenantConfigHasBeenSet =
false;
683 bool m_connectionModeHasBeenSet =
false;
684 bool m_viewerMtlsConfigHasBeenSet =
false;
685 bool m_connectionFunctionAssociationHasBeenSet =
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)
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)
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
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)
DistributionConfig & WithPriceClass(PriceClass value)
DistributionConfig & WithDefaultRootObject(DefaultRootObjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String