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/ViewerMinimumTlsProtocolVersionEnum.h>
15#include <aws/lightsail/model/CacheBehaviorPerPath.h>
53 inline void SetDistributionName(
const char* value) { m_distributionNameHasBeenSet =
true; m_distributionName.assign(value); }
121 inline void SetIsEnabled(
bool value) { m_isEnabledHasBeenSet =
true; m_isEnabled = value; }
150 inline void SetCertificateName(
const char* value) { m_certificateNameHasBeenSet =
true; m_certificateName.assign(value); }
172 bool m_distributionNameHasBeenSet =
false;
175 bool m_originHasBeenSet =
false;
178 bool m_defaultCacheBehaviorHasBeenSet =
false;
181 bool m_cacheBehaviorSettingsHasBeenSet =
false;
184 bool m_cacheBehaviorsHasBeenSet =
false;
187 bool m_isEnabledHasBeenSet =
false;
190 bool m_viewerMinimumTlsProtocolVersionHasBeenSet =
false;
193 bool m_certificateNameHasBeenSet =
false;
195 bool m_useDefaultCertificate;
196 bool m_useDefaultCertificateHasBeenSet =
false;
UpdateDistributionRequest & WithCacheBehaviorSettings(const CacheSettings &value)
UpdateDistributionRequest & WithOrigin(const InputOrigin &value)
UpdateDistributionRequest & WithDistributionName(const char *value)
UpdateDistributionRequest & WithDistributionName(const Aws::String &value)
UpdateDistributionRequest & WithDefaultCacheBehavior(const CacheBehavior &value)
void SetCertificateName(Aws::String &&value)
bool CacheBehaviorSettingsHasBeenSet() const
bool ViewerMinimumTlsProtocolVersionHasBeenSet() const
UpdateDistributionRequest & WithCacheBehaviorSettings(CacheSettings &&value)
UpdateDistributionRequest & WithCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
void SetDefaultCacheBehavior(const CacheBehavior &value)
void SetCacheBehaviors(Aws::Vector< CacheBehaviorPerPath > &&value)
bool UseDefaultCertificateHasBeenSet() const
UpdateDistributionRequest & WithIsEnabled(bool value)
void SetViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum &value)
UpdateDistributionRequest & WithCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
UpdateDistributionRequest & AddCacheBehaviors(const CacheBehaviorPerPath &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool GetIsEnabled() const
void SetViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum &&value)
void SetCertificateName(const Aws::String &value)
const CacheSettings & GetCacheBehaviorSettings() const
UpdateDistributionRequest & WithCertificateName(Aws::String &&value)
void SetOrigin(InputOrigin &&value)
const Aws::Vector< CacheBehaviorPerPath > & GetCacheBehaviors() const
void SetDefaultCacheBehavior(CacheBehavior &&value)
bool CertificateNameHasBeenSet() const
void SetDistributionName(Aws::String &&value)
UpdateDistributionRequest & WithDefaultCacheBehavior(CacheBehavior &&value)
void SetUseDefaultCertificate(bool value)
void SetCacheBehaviorSettings(CacheSettings &&value)
const CacheBehavior & GetDefaultCacheBehavior() const
bool DistributionNameHasBeenSet() const
void SetIsEnabled(bool value)
void SetDistributionName(const char *value)
void SetCacheBehaviorSettings(const CacheSettings &value)
UpdateDistributionRequest & WithOrigin(InputOrigin &&value)
bool DefaultCacheBehaviorHasBeenSet() const
bool OriginHasBeenSet() const
const Aws::String & GetCertificateName() const
void SetCacheBehaviors(const Aws::Vector< CacheBehaviorPerPath > &value)
const ViewerMinimumTlsProtocolVersionEnum & GetViewerMinimumTlsProtocolVersion() const
void SetCertificateName(const char *value)
bool CacheBehaviorsHasBeenSet() const
UpdateDistributionRequest & AddCacheBehaviors(CacheBehaviorPerPath &&value)
AWS_LIGHTSAIL_API UpdateDistributionRequest()
bool IsEnabledHasBeenSet() const
UpdateDistributionRequest & WithCertificateName(const Aws::String &value)
const Aws::String & GetDistributionName() const
void SetOrigin(const InputOrigin &value)
UpdateDistributionRequest & WithDistributionName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDistributionRequest & WithCertificateName(const char *value)
bool GetUseDefaultCertificate() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
UpdateDistributionRequest & WithUseDefaultCertificate(bool value)
UpdateDistributionRequest & WithViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum &value)
void SetDistributionName(const Aws::String &value)
UpdateDistributionRequest & WithViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum &&value)
const InputOrigin & GetOrigin() const
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