7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/InputOrigin.h>
11#include <aws/lightsail/model/CacheBehavior.h>
12#include <aws/lightsail/model/CacheSettings.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lightsail/model/IpAddressType.h>
15#include <aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h>
16#include <aws/lightsail/model/CacheBehaviorPerPath.h>
17#include <aws/lightsail/model/Tag.h>
53 inline void SetDistributionName(
const char* value) { m_distributionNameHasBeenSet =
true; m_distributionName.assign(value); }
125 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
172 inline void SetCertificateName(
const char* value) { m_certificateNameHasBeenSet =
true; m_certificateName.assign(value); }
192 bool m_distributionNameHasBeenSet =
false;
195 bool m_originHasBeenSet =
false;
198 bool m_defaultCacheBehaviorHasBeenSet =
false;
201 bool m_cacheBehaviorSettingsHasBeenSet =
false;
204 bool m_cacheBehaviorsHasBeenSet =
false;
207 bool m_bundleIdHasBeenSet =
false;
210 bool m_ipAddressTypeHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
216 bool m_certificateNameHasBeenSet =
false;
219 bool m_viewerMinimumTlsProtocolVersionHasBeenSet =
false;
bool CacheBehaviorSettingsHasBeenSet() const
void SetDefaultCacheBehavior(const CacheBehavior &value)
void SetViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum &&value)
void SetCacheBehaviorSettings(const CacheSettings &value)
const ViewerMinimumTlsProtocolVersionEnum & GetViewerMinimumTlsProtocolVersion() const
CreateDistributionRequest & WithCertificateName(const char *value)
void SetCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
bool CertificateNameHasBeenSet() const
CreateDistributionRequest & AddCacheBehaviors(const CacheBehaviorPerPath &value)
void SetDefaultCacheBehavior(CacheBehavior &&value)
void SetCacheBehaviorSettings(CacheSettings &&value)
CreateDistributionRequest & AddCacheBehaviors(CacheBehaviorPerPath &&value)
const CacheSettings & GetCacheBehaviorSettings() const
CreateDistributionRequest & WithDistributionName(const char *value)
CreateDistributionRequest & WithOrigin(InputOrigin &&value)
CreateDistributionRequest & WithDistributionName(const Aws::String &value)
void SetOrigin(InputOrigin &&value)
void SetIpAddressType(IpAddressType &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetBundleId(const char *value)
void SetDistributionName(const Aws::String &value)
void SetDistributionName(Aws::String &&value)
CreateDistributionRequest & WithCertificateName(const Aws::String &value)
void SetCertificateName(const char *value)
void SetDistributionName(const char *value)
const Aws::String & GetDistributionName() const
CreateDistributionRequest & WithCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
CreateDistributionRequest & WithBundleId(Aws::String &&value)
bool DistributionNameHasBeenSet() const
CreateDistributionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDistributionRequest & WithIpAddressType(IpAddressType &&value)
bool OriginHasBeenSet() const
bool TagsHasBeenSet() const
void SetCertificateName(Aws::String &&value)
void SetCertificateName(const Aws::String &value)
CreateDistributionRequest & AddTags(Tag &&value)
const Aws::Vector< CacheBehaviorPerPath > & GetCacheBehaviors() const
void SetBundleId(Aws::String &&value)
const CacheBehavior & GetDefaultCacheBehavior() const
CreateDistributionRequest & WithBundleId(const Aws::String &value)
bool ViewerMinimumTlsProtocolVersionHasBeenSet() const
CreateDistributionRequest & WithDistributionName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateDistributionRequest & WithCertificateName(Aws::String &&value)
bool CacheBehaviorsHasBeenSet() const
CreateDistributionRequest & WithIpAddressType(const IpAddressType &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetBundleId() const
const Aws::Vector< Tag > & GetTags() const
CreateDistributionRequest & AddTags(const Tag &value)
virtual const char * GetServiceRequestName() const override
CreateDistributionRequest & WithBundleId(const char *value)
void SetOrigin(const InputOrigin &value)
CreateDistributionRequest & WithViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum &value)
void SetIpAddressType(const IpAddressType &value)
AWS_LIGHTSAIL_API CreateDistributionRequest()
CreateDistributionRequest & WithCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
CreateDistributionRequest & WithViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum &&value)
void SetBundleId(const Aws::String &value)
bool DefaultCacheBehaviorHasBeenSet() const
CreateDistributionRequest & WithDefaultCacheBehavior(CacheBehavior &&value)
CreateDistributionRequest & WithCacheBehaviorSettings(CacheSettings &&value)
CreateDistributionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDistributionRequest & WithCacheBehaviorSettings(const CacheSettings &value)
const Aws::String & GetCertificateName() const
bool IpAddressTypeHasBeenSet() const
void SetViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum &value)
const InputOrigin & GetOrigin() const
bool BundleIdHasBeenSet() const
CreateDistributionRequest & WithDefaultCacheBehavior(const CacheBehavior &value)
const IpAddressType & GetIpAddressType() const
CreateDistributionRequest & WithOrigin(const InputOrigin &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ViewerMinimumTlsProtocolVersionEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector