7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/Origin.h>
14#include <aws/lightsail/model/CacheBehavior.h>
15#include <aws/lightsail/model/CacheSettings.h>
16#include <aws/lightsail/model/IpAddressType.h>
17#include <aws/lightsail/model/CacheBehaviorPerPath.h>
18#include <aws/lightsail/model/Tag.h>
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
73 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
89 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
158 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
170 inline void SetIsEnabled(
bool value) { m_isEnabledHasBeenSet =
true; m_isEnabled = value; }
182 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
196 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
210 inline void SetCertificateName(
const char* value) { m_certificateNameHasBeenSet =
true; m_certificateName.assign(value); }
224 inline void SetOrigin(
const Origin& value) { m_originHasBeenSet =
true; m_origin = value; }
225 inline void SetOrigin(
Origin&& value) { m_originHasBeenSet =
true; m_origin = std::move(value); }
238 inline void SetOriginPublicDNS(
const char* value) { m_originPublicDNSHasBeenSet =
true; m_originPublicDNS.assign(value); }
292 inline void SetAbleToUpdateBundle(
bool value) { m_ableToUpdateBundleHasBeenSet =
true; m_ableToUpdateBundle = value; }
344 bool m_nameHasBeenSet =
false;
347 bool m_arnHasBeenSet =
false;
350 bool m_supportCodeHasBeenSet =
false;
353 bool m_createdAtHasBeenSet =
false;
356 bool m_locationHasBeenSet =
false;
359 bool m_resourceTypeHasBeenSet =
false;
362 bool m_alternativeDomainNamesHasBeenSet =
false;
365 bool m_statusHasBeenSet =
false;
368 bool m_isEnabledHasBeenSet =
false;
371 bool m_domainNameHasBeenSet =
false;
374 bool m_bundleIdHasBeenSet =
false;
377 bool m_certificateNameHasBeenSet =
false;
380 bool m_originHasBeenSet =
false;
383 bool m_originPublicDNSHasBeenSet =
false;
386 bool m_defaultCacheBehaviorHasBeenSet =
false;
389 bool m_cacheBehaviorSettingsHasBeenSet =
false;
392 bool m_cacheBehaviorsHasBeenSet =
false;
394 bool m_ableToUpdateBundle;
395 bool m_ableToUpdateBundleHasBeenSet =
false;
398 bool m_ipAddressTypeHasBeenSet =
false;
401 bool m_tagsHasBeenSet =
false;
404 bool m_viewerMinimumTlsProtocolVersionHasBeenSet =
false;
LightsailDistribution & WithOriginPublicDNS(const Aws::String &value)
LightsailDistribution & WithIpAddressType(IpAddressType &&value)
LightsailDistribution & WithDefaultCacheBehavior(CacheBehavior &&value)
LightsailDistribution & WithTags(const Aws::Vector< Tag > &value)
void SetResourceType(ResourceType &&value)
LightsailDistribution & WithCertificateName(const char *value)
void SetViewerMinimumTlsProtocolVersion(Aws::String &&value)
void SetDefaultCacheBehavior(CacheBehavior &&value)
bool TagsHasBeenSet() const
void SetDomainName(Aws::String &&value)
void SetStatus(const Aws::String &value)
bool NameHasBeenSet() const
bool AlternativeDomainNamesHasBeenSet() const
LightsailDistribution & WithOriginPublicDNS(const char *value)
LightsailDistribution & WithIsEnabled(bool value)
bool IsEnabledHasBeenSet() const
void SetDefaultCacheBehavior(const CacheBehavior &value)
LightsailDistribution & WithLocation(ResourceLocation &&value)
void SetOriginPublicDNS(const Aws::String &value)
void SetOrigin(const Origin &value)
LightsailDistribution & WithCacheBehaviorSettings(const CacheSettings &value)
LightsailDistribution & AddTags(Tag &&value)
const Aws::String & GetViewerMinimumTlsProtocolVersion() const
bool CertificateNameHasBeenSet() const
LightsailDistribution & WithOriginPublicDNS(Aws::String &&value)
bool GetAbleToUpdateBundle() const
void SetTags(const Aws::Vector< Tag > &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetOriginPublicDNS(const char *value)
LightsailDistribution & WithArn(const char *value)
AWS_LIGHTSAIL_API LightsailDistribution()
LightsailDistribution & WithStatus(Aws::String &&value)
LightsailDistribution & WithAlternativeDomainNames(Aws::Vector< Aws::String > &&value)
void SetIpAddressType(IpAddressType &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
LightsailDistribution & WithStatus(const char *value)
void SetDomainName(const Aws::String &value)
const Origin & GetOrigin() const
bool ArnHasBeenSet() const
AWS_LIGHTSAIL_API LightsailDistribution & operator=(Aws::Utils::Json::JsonView jsonValue)
LightsailDistribution & WithSupportCode(const Aws::String &value)
const Aws::String & GetCertificateName() const
LightsailDistribution & AddTags(const Tag &value)
void SetAlternativeDomainNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< CacheBehaviorPerPath > & GetCacheBehaviors() const
void SetName(const Aws::String &value)
void SetStatus(Aws::String &&value)
LightsailDistribution & AddAlternativeDomainNames(const char *value)
LightsailDistribution & WithBundleId(const char *value)
const ResourceLocation & GetLocation() const
LightsailDistribution & WithSupportCode(Aws::String &&value)
void SetStatus(const char *value)
LightsailDistribution & WithName(const char *value)
void SetName(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
LightsailDistribution & WithSupportCode(const char *value)
const Aws::String & GetDomainName() const
void SetBundleId(const char *value)
LightsailDistribution & WithViewerMinimumTlsProtocolVersion(const char *value)
bool CacheBehaviorSettingsHasBeenSet() const
LightsailDistribution & WithCertificateName(Aws::String &&value)
void SetCertificateName(const char *value)
LightsailDistribution & AddCacheBehaviors(CacheBehaviorPerPath &&value)
LightsailDistribution & WithName(Aws::String &&value)
void SetAlternativeDomainNames(Aws::Vector< Aws::String > &&value)
LightsailDistribution & WithCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
void SetTags(Aws::Vector< Tag > &&value)
LightsailDistribution & AddAlternativeDomainNames(Aws::String &&value)
void SetSupportCode(Aws::String &&value)
void SetName(const char *value)
bool StatusHasBeenSet() const
void SetArn(const Aws::String &value)
void SetCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
const Aws::Vector< Tag > & GetTags() const
LightsailDistribution & WithCreatedAt(Aws::Utils::DateTime &&value)
const ResourceType & GetResourceType() const
LightsailDistribution & WithIpAddressType(const IpAddressType &value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCacheBehaviorSettings(const CacheSettings &value)
const IpAddressType & GetIpAddressType() const
void SetBundleId(Aws::String &&value)
void SetOriginPublicDNS(Aws::String &&value)
bool AbleToUpdateBundleHasBeenSet() const
const Aws::String & GetBundleId() const
AWS_LIGHTSAIL_API LightsailDistribution(Aws::Utils::Json::JsonView jsonValue)
LightsailDistribution & WithResourceType(ResourceType &&value)
LightsailDistribution & AddCacheBehaviors(const CacheBehaviorPerPath &value)
void SetAbleToUpdateBundle(bool value)
bool IpAddressTypeHasBeenSet() const
LightsailDistribution & WithStatus(const Aws::String &value)
void SetSupportCode(const Aws::String &value)
LightsailDistribution & WithDomainName(Aws::String &&value)
LightsailDistribution & WithCertificateName(const Aws::String &value)
bool LocationHasBeenSet() const
void SetCertificateName(const Aws::String &value)
void SetViewerMinimumTlsProtocolVersion(const char *value)
bool GetIsEnabled() const
LightsailDistribution & WithViewerMinimumTlsProtocolVersion(Aws::String &&value)
const CacheBehavior & GetDefaultCacheBehavior() const
const Aws::String & GetSupportCode() const
const Aws::String & GetOriginPublicDNS() const
LightsailDistribution & WithOrigin(const Origin &value)
LightsailDistribution & WithName(const Aws::String &value)
LightsailDistribution & WithCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
void SetBundleId(const Aws::String &value)
LightsailDistribution & WithDefaultCacheBehavior(const CacheBehavior &value)
LightsailDistribution & WithArn(Aws::String &&value)
bool ViewerMinimumTlsProtocolVersionHasBeenSet() const
LightsailDistribution & WithCreatedAt(const Aws::Utils::DateTime &value)
LightsailDistribution & WithAbleToUpdateBundle(bool value)
void SetArn(Aws::String &&value)
bool OriginPublicDNSHasBeenSet() const
bool DefaultCacheBehaviorHasBeenSet() const
void SetResourceType(const ResourceType &value)
bool BundleIdHasBeenSet() const
void SetCacheBehaviorSettings(CacheSettings &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool CacheBehaviorsHasBeenSet() const
bool OriginHasBeenSet() const
void SetArn(const char *value)
LightsailDistribution & WithDomainName(const char *value)
LightsailDistribution & WithCacheBehaviorSettings(CacheSettings &&value)
void SetOrigin(Origin &&value)
const CacheSettings & GetCacheBehaviorSettings() const
LightsailDistribution & WithAlternativeDomainNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAlternativeDomainNames() const
void SetLocation(const ResourceLocation &value)
const Aws::String & GetArn() const
bool CreatedAtHasBeenSet() const
LightsailDistribution & WithViewerMinimumTlsProtocolVersion(const Aws::String &value)
LightsailDistribution & WithTags(Aws::Vector< Tag > &&value)
LightsailDistribution & WithDomainName(const Aws::String &value)
void SetViewerMinimumTlsProtocolVersion(const Aws::String &value)
void SetCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
void SetDomainName(const char *value)
const Aws::String & GetName() const
void SetCertificateName(Aws::String &&value)
bool DomainNameHasBeenSet() const
void SetSupportCode(const char *value)
void SetIpAddressType(const IpAddressType &value)
LightsailDistribution & WithLocation(const ResourceLocation &value)
void SetLocation(ResourceLocation &&value)
LightsailDistribution & AddAlternativeDomainNames(const Aws::String &value)
bool SupportCodeHasBeenSet() const
void SetIsEnabled(bool value)
LightsailDistribution & WithArn(const Aws::String &value)
LightsailDistribution & WithResourceType(const ResourceType &value)
LightsailDistribution & WithBundleId(const Aws::String &value)
LightsailDistribution & WithOrigin(Origin &&value)
LightsailDistribution & WithBundleId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue