7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/Aliases.h>
10#include <aws/cloudfront/model/Origins.h>
11#include <aws/cloudfront/model/OriginGroups.h>
12#include <aws/cloudfront/model/DefaultCacheBehavior.h>
13#include <aws/cloudfront/model/CacheBehaviors.h>
14#include <aws/cloudfront/model/CustomErrorResponses.h>
15#include <aws/cloudfront/model/LoggingConfig.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>
64 inline void SetCallerReference(
const char* value) { m_callerReferenceHasBeenSet =
true; m_callerReference.assign(value); }
77 inline void SetAliases(
const Aliases& value) { m_aliasesHasBeenSet =
true; m_aliases = value; }
78 inline void SetAliases(
Aliases&& value) { m_aliasesHasBeenSet =
true; m_aliases = std::move(value); }
106 inline void SetDefaultRootObject(
const char* value) { m_defaultRootObjectHasBeenSet =
true; m_defaultRootObject.assign(value); }
120 inline void SetOrigins(
Origins&& value) { m_originsHasBeenSet =
true; m_origins = std::move(value); }
193 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
245 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
297 inline void SetWebACLId(
const char* value) { m_webACLIdHasBeenSet =
true; m_webACLId.assign(value); }
361 inline void SetIsIPV6Enabled(
bool value) { m_isIPV6EnabledHasBeenSet =
true; m_isIPV6Enabled = value; }
388 inline void SetStaging(
bool value) { m_stagingHasBeenSet =
true; m_staging = value; }
394 bool m_callerReferenceHasBeenSet =
false;
397 bool m_aliasesHasBeenSet =
false;
400 bool m_defaultRootObjectHasBeenSet =
false;
403 bool m_originsHasBeenSet =
false;
406 bool m_originGroupsHasBeenSet =
false;
409 bool m_defaultCacheBehaviorHasBeenSet =
false;
412 bool m_cacheBehaviorsHasBeenSet =
false;
415 bool m_customErrorResponsesHasBeenSet =
false;
418 bool m_commentHasBeenSet =
false;
421 bool m_loggingHasBeenSet =
false;
424 bool m_priceClassHasBeenSet =
false;
427 bool m_enabledHasBeenSet =
false;
430 bool m_viewerCertificateHasBeenSet =
false;
433 bool m_restrictionsHasBeenSet =
false;
436 bool m_webACLIdHasBeenSet =
false;
439 bool m_httpVersionHasBeenSet =
false;
441 bool m_isIPV6Enabled;
442 bool m_isIPV6EnabledHasBeenSet =
false;
445 bool m_continuousDeploymentPolicyIdHasBeenSet =
false;
448 bool m_stagingHasBeenSet =
false;
const Aws::String & GetComment() const
void SetAliases(Aliases &&value)
const Restrictions & GetRestrictions() const
DistributionConfig & WithCallerReference(Aws::String &&value)
bool ViewerCertificateHasBeenSet() const
DistributionConfig & WithCacheBehaviors(const CacheBehaviors &value)
const Origins & GetOrigins() const
bool DefaultRootObjectHasBeenSet() const
DistributionConfig & WithPriceClass(PriceClass &&value)
bool OriginGroupsHasBeenSet() const
const Aws::String & GetDefaultRootObject() const
bool GetIsIPV6Enabled() const
const HttpVersion & GetHttpVersion() const
DistributionConfig & WithDefaultRootObject(Aws::String &&value)
DistributionConfig & WithOrigins(Origins &&value)
void SetWebACLId(const char *value)
DistributionConfig & WithHttpVersion(const HttpVersion &value)
bool HttpVersionHasBeenSet() const
void SetDefaultRootObject(Aws::String &&value)
const Aliases & GetAliases() const
DistributionConfig & WithCustomErrorResponses(CustomErrorResponses &&value)
DistributionConfig & WithComment(const char *value)
void SetDefaultCacheBehavior(DefaultCacheBehavior &&value)
bool CacheBehaviorsHasBeenSet() const
void SetStaging(bool value)
void SetRestrictions(const Restrictions &value)
DistributionConfig & WithStaging(bool value)
DistributionConfig & WithLogging(const LoggingConfig &value)
bool StagingHasBeenSet() const
DistributionConfig & WithViewerCertificate(const ViewerCertificate &value)
void SetIsIPV6Enabled(bool value)
bool DefaultCacheBehaviorHasBeenSet() const
const OriginGroups & GetOriginGroups() const
DistributionConfig & WithIsIPV6Enabled(bool value)
DistributionConfig & WithComment(const Aws::String &value)
bool OriginsHasBeenSet() const
void SetContinuousDeploymentPolicyId(const char *value)
AWS_CLOUDFRONT_API DistributionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AliasesHasBeenSet() const
void SetLogging(const LoggingConfig &value)
DistributionConfig & WithContinuousDeploymentPolicyId(Aws::String &&value)
void SetCacheBehaviors(const CacheBehaviors &value)
DistributionConfig & WithComment(Aws::String &&value)
const ViewerCertificate & GetViewerCertificate() const
DistributionConfig & WithCallerReference(const Aws::String &value)
void SetDefaultRootObject(const Aws::String &value)
DistributionConfig & WithWebACLId(const char *value)
DistributionConfig & WithDefaultRootObject(const Aws::String &value)
DistributionConfig & WithCacheBehaviors(CacheBehaviors &&value)
bool IsIPV6EnabledHasBeenSet() const
void SetPriceClass(PriceClass &&value)
void SetComment(const Aws::String &value)
bool RestrictionsHasBeenSet() const
DistributionConfig & WithAliases(const Aliases &value)
void SetViewerCertificate(ViewerCertificate &&value)
const PriceClass & GetPriceClass() const
DistributionConfig & WithWebACLId(const Aws::String &value)
void SetAliases(const Aliases &value)
const LoggingConfig & GetLogging() const
bool WebACLIdHasBeenSet() const
DistributionConfig & WithWebACLId(Aws::String &&value)
void SetOrigins(Origins &&value)
void SetContinuousDeploymentPolicyId(Aws::String &&value)
DistributionConfig & WithDefaultCacheBehavior(DefaultCacheBehavior &&value)
bool CustomErrorResponsesHasBeenSet() const
DistributionConfig & WithHttpVersion(HttpVersion &&value)
DistributionConfig & WithDefaultRootObject(const char *value)
void SetCustomErrorResponses(const CustomErrorResponses &value)
DistributionConfig & WithViewerCertificate(ViewerCertificate &&value)
DistributionConfig & WithOriginGroups(const OriginGroups &value)
DistributionConfig & WithContinuousDeploymentPolicyId(const char *value)
void SetPriceClass(const PriceClass &value)
bool CommentHasBeenSet() const
void SetCallerReference(const char *value)
const CustomErrorResponses & GetCustomErrorResponses() const
DistributionConfig & WithContinuousDeploymentPolicyId(const Aws::String &value)
void SetOriginGroups(OriginGroups &&value)
bool EnabledHasBeenSet() const
void SetComment(Aws::String &&value)
bool LoggingHasBeenSet() const
void SetHttpVersion(HttpVersion &&value)
DistributionConfig & WithCustomErrorResponses(const CustomErrorResponses &value)
AWS_CLOUDFRONT_API DistributionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionConfig & WithOriginGroups(OriginGroups &&value)
DistributionConfig & WithEnabled(bool value)
const DefaultCacheBehavior & GetDefaultCacheBehavior() const
bool CallerReferenceHasBeenSet() const
const Aws::String & GetWebACLId() const
const CacheBehaviors & GetCacheBehaviors() const
void SetCacheBehaviors(CacheBehaviors &&value)
void SetWebACLId(const Aws::String &value)
DistributionConfig & WithCallerReference(const char *value)
const Aws::String & GetContinuousDeploymentPolicyId() const
void SetOrigins(const Origins &value)
const Aws::String & GetCallerReference() const
void SetOriginGroups(const OriginGroups &value)
void SetCustomErrorResponses(CustomErrorResponses &&value)
DistributionConfig & WithAliases(Aliases &&value)
void SetHttpVersion(const HttpVersion &value)
void SetContinuousDeploymentPolicyId(const Aws::String &value)
void SetLogging(LoggingConfig &&value)
bool PriceClassHasBeenSet() const
void SetCallerReference(const Aws::String &value)
void SetRestrictions(Restrictions &&value)
DistributionConfig & WithOrigins(const Origins &value)
AWS_CLOUDFRONT_API DistributionConfig()
void SetEnabled(bool value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
DistributionConfig & WithRestrictions(const Restrictions &value)
void SetCallerReference(Aws::String &&value)
DistributionConfig & WithDefaultCacheBehavior(const DefaultCacheBehavior &value)
bool ContinuousDeploymentPolicyIdHasBeenSet() const
DistributionConfig & WithPriceClass(const PriceClass &value)
DistributionConfig & WithLogging(LoggingConfig &&value)
DistributionConfig & WithRestrictions(Restrictions &&value)
void SetDefaultCacheBehavior(const DefaultCacheBehavior &value)
void SetViewerCertificate(const ViewerCertificate &value)
void SetComment(const char *value)
void SetWebACLId(Aws::String &&value)
void SetDefaultRootObject(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String