7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/LightsailRequest.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/CacheBehavior.h>
12#include <aws/lightsail/model/CacheBehaviorPerPath.h>
13#include <aws/lightsail/model/CacheSettings.h>
14#include <aws/lightsail/model/InputOrigin.h>
15#include <aws/lightsail/model/IpAddressType.h>
16#include <aws/lightsail/model/Tag.h>
17#include <aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h>
47 template <
typename DistributionNameT = Aws::String>
49 m_distributionNameHasBeenSet =
true;
50 m_distributionName = std::forward<DistributionNameT>(value);
52 template <
typename DistributionNameT = Aws::String>
67 template <
typename OriginT = InputOrigin>
69 m_originHasBeenSet =
true;
70 m_origin = std::forward<OriginT>(value);
72 template <
typename OriginT = InputOrigin>
85 template <
typename DefaultCacheBehaviorT = CacheBehavior>
87 m_defaultCacheBehaviorHasBeenSet =
true;
88 m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value);
90 template <
typename DefaultCacheBehaviorT = CacheBehavior>
104 template <
typename CacheBehaviorSettingsT = CacheSettings>
106 m_cacheBehaviorSettingsHasBeenSet =
true;
107 m_cacheBehaviorSettings = std::forward<CacheBehaviorSettingsT>(value);
109 template <
typename CacheBehaviorSettingsT = CacheSettings>
123 template <
typename CacheBehaviorsT = Aws::Vector<CacheBehaviorPerPath>>
125 m_cacheBehaviorsHasBeenSet =
true;
126 m_cacheBehaviors = std::forward<CacheBehaviorsT>(value);
128 template <
typename CacheBehaviorsT = Aws::Vector<CacheBehaviorPerPath>>
133 template <
typename CacheBehaviorsT = CacheBehaviorPerPath>
135 m_cacheBehaviorsHasBeenSet =
true;
136 m_cacheBehaviors.emplace_back(std::forward<CacheBehaviorsT>(value));
151 template <
typename BundleIdT = Aws::String>
153 m_bundleIdHasBeenSet =
true;
154 m_bundleId = std::forward<BundleIdT>(value);
156 template <
typename BundleIdT = Aws::String>
172 m_ipAddressTypeHasBeenSet =
true;
173 m_ipAddressType = value;
189 template <
typename TagsT = Aws::Vector<Tag>>
191 m_tagsHasBeenSet =
true;
192 m_tags = std::forward<TagsT>(value);
194 template <
typename TagsT = Aws::Vector<Tag>>
196 SetTags(std::forward<TagsT>(value));
199 template <
typename TagsT = Tag>
201 m_tagsHasBeenSet =
true;
202 m_tags.emplace_back(std::forward<TagsT>(value));
216 template <
typename CertificateNameT = Aws::String>
218 m_certificateNameHasBeenSet =
true;
219 m_certificateName = std::forward<CertificateNameT>(value);
221 template <
typename CertificateNameT = Aws::String>
235 m_viewerMinimumTlsProtocolVersionHasBeenSet =
true;
236 m_viewerMinimumTlsProtocolVersion = value;
263 bool m_distributionNameHasBeenSet =
false;
264 bool m_originHasBeenSet =
false;
265 bool m_defaultCacheBehaviorHasBeenSet =
false;
266 bool m_cacheBehaviorSettingsHasBeenSet =
false;
267 bool m_cacheBehaviorsHasBeenSet =
false;
268 bool m_bundleIdHasBeenSet =
false;
269 bool m_ipAddressTypeHasBeenSet =
false;
270 bool m_tagsHasBeenSet =
false;
271 bool m_certificateNameHasBeenSet =
false;
272 bool m_viewerMinimumTlsProtocolVersionHasBeenSet =
false;
bool CacheBehaviorSettingsHasBeenSet() const
CreateDistributionRequest & WithViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum value)
void SetIpAddressType(IpAddressType value)
CreateDistributionRequest & WithDistributionName(DistributionNameT &&value)
void SetCacheBehaviorSettings(CacheBehaviorSettingsT &&value)
void SetTags(TagsT &&value)
bool CertificateNameHasBeenSet() const
void SetDistributionName(DistributionNameT &&value)
const CacheSettings & GetCacheBehaviorSettings() const
IpAddressType GetIpAddressType() const
const Aws::String & GetDistributionName() const
void SetViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum value)
bool DistributionNameHasBeenSet() const
CreateDistributionRequest & AddTags(TagsT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool OriginHasBeenSet() const
bool TagsHasBeenSet() const
CreateDistributionRequest & WithDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
CreateDistributionRequest & WithCacheBehaviorSettings(CacheBehaviorSettingsT &&value)
void SetCacheBehaviors(CacheBehaviorsT &&value)
const Aws::Vector< CacheBehaviorPerPath > & GetCacheBehaviors() const
const CacheBehavior & GetDefaultCacheBehavior() const
bool ViewerMinimumTlsProtocolVersionHasBeenSet() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool CacheBehaviorsHasBeenSet() const
void SetDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
const Aws::String & GetBundleId() const
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateDistributionRequest & AddCacheBehaviors(CacheBehaviorsT &&value)
CreateDistributionRequest & WithIpAddressType(IpAddressType value)
void SetOrigin(OriginT &&value)
void SetCertificateName(CertificateNameT &&value)
void SetBundleId(BundleIdT &&value)
bool DefaultCacheBehaviorHasBeenSet() const
ViewerMinimumTlsProtocolVersionEnum GetViewerMinimumTlsProtocolVersion() const
const Aws::String & GetCertificateName() const
bool IpAddressTypeHasBeenSet() const
const InputOrigin & GetOrigin() const
CreateDistributionRequest & WithCacheBehaviors(CacheBehaviorsT &&value)
CreateDistributionRequest & WithCertificateName(CertificateNameT &&value)
AWS_LIGHTSAIL_API CreateDistributionRequest()=default
bool BundleIdHasBeenSet() const
CreateDistributionRequest & WithOrigin(OriginT &&value)
CreateDistributionRequest & WithBundleId(BundleIdT &&value)
CreateDistributionRequest & WithTags(TagsT &&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