7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/CustomHeaders.h>
10#include <aws/cloudfront/model/S3OriginConfig.h>
11#include <aws/cloudfront/model/CustomOriginConfig.h>
12#include <aws/cloudfront/model/OriginShield.h>
67 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
68 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
84 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
101 inline void SetOriginPath(
const char* value) { m_originPathHasBeenSet =
true; m_originPath.assign(value); }
168 inline void SetConnectionAttempts(
int value) { m_connectionAttemptsHasBeenSet =
true; m_connectionAttempts = value; }
183 inline void SetConnectionTimeout(
int value) { m_connectionTimeoutHasBeenSet =
true; m_connectionTimeout = value; }
214 inline void SetOriginAccessControlId(
const char* value) { m_originAccessControlIdHasBeenSet =
true; m_originAccessControlId.assign(value); }
222 bool m_idHasBeenSet =
false;
225 bool m_domainNameHasBeenSet =
false;
228 bool m_originPathHasBeenSet =
false;
231 bool m_customHeadersHasBeenSet =
false;
234 bool m_s3OriginConfigHasBeenSet =
false;
237 bool m_customOriginConfigHasBeenSet =
false;
239 int m_connectionAttempts;
240 bool m_connectionAttemptsHasBeenSet =
false;
242 int m_connectionTimeout;
243 bool m_connectionTimeoutHasBeenSet =
false;
246 bool m_originShieldHasBeenSet =
false;
249 bool m_originAccessControlIdHasBeenSet =
false;
AWS_CLOUDFRONT_API Origin & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CustomOriginConfigHasBeenSet() const
void SetCustomHeaders(const CustomHeaders &value)
bool S3OriginConfigHasBeenSet() const
Origin & WithDomainName(const char *value)
const Aws::String & GetId() const
Origin & WithId(const char *value)
void SetOriginPath(const char *value)
Origin & WithOriginAccessControlId(const char *value)
void SetOriginPath(const Aws::String &value)
AWS_CLOUDFRONT_API Origin()
Origin & WithCustomHeaders(const CustomHeaders &value)
int GetConnectionAttempts() const
Origin & WithOriginShield(const OriginShield &value)
void SetS3OriginConfig(const S3OriginConfig &value)
bool CustomHeadersHasBeenSet() const
Origin & WithCustomHeaders(CustomHeaders &&value)
void SetOriginShield(const OriginShield &value)
bool DomainNameHasBeenSet() const
Origin & WithId(const Aws::String &value)
void SetOriginPath(Aws::String &&value)
Origin & WithOriginPath(Aws::String &&value)
void SetOriginAccessControlId(const char *value)
bool ConnectionTimeoutHasBeenSet() const
void SetConnectionTimeout(int value)
void SetCustomHeaders(CustomHeaders &&value)
void SetId(Aws::String &&value)
void SetOriginAccessControlId(const Aws::String &value)
int GetConnectionTimeout() const
void SetS3OriginConfig(S3OriginConfig &&value)
void SetCustomOriginConfig(CustomOriginConfig &&value)
void SetId(const Aws::String &value)
void SetId(const char *value)
Origin & WithCustomOriginConfig(const CustomOriginConfig &value)
const CustomOriginConfig & GetCustomOriginConfig() const
Origin & WithDomainName(const Aws::String &value)
void SetConnectionAttempts(int value)
Origin & WithOriginAccessControlId(const Aws::String &value)
const Aws::String & GetOriginAccessControlId() const
bool IdHasBeenSet() const
const CustomHeaders & GetCustomHeaders() const
bool ConnectionAttemptsHasBeenSet() const
AWS_CLOUDFRONT_API Origin(const Aws::Utils::Xml::XmlNode &xmlNode)
Origin & WithConnectionTimeout(int value)
const OriginShield & GetOriginShield() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetDomainName(const char *value)
const S3OriginConfig & GetS3OriginConfig() const
Origin & WithOriginAccessControlId(Aws::String &&value)
Origin & WithOriginPath(const Aws::String &value)
Origin & WithS3OriginConfig(const S3OriginConfig &value)
void SetOriginAccessControlId(Aws::String &&value)
Origin & WithOriginPath(const char *value)
void SetOriginShield(OriginShield &&value)
Origin & WithConnectionAttempts(int value)
void SetCustomOriginConfig(const CustomOriginConfig &value)
bool OriginShieldHasBeenSet() const
Origin & WithDomainName(Aws::String &&value)
Origin & WithOriginShield(OriginShield &&value)
void SetDomainName(const Aws::String &value)
const Aws::String & GetDomainName() const
void SetDomainName(Aws::String &&value)
bool OriginAccessControlIdHasBeenSet() const
bool OriginPathHasBeenSet() const
Origin & WithId(Aws::String &&value)
const Aws::String & GetOriginPath() const
Origin & WithCustomOriginConfig(CustomOriginConfig &&value)
Origin & WithS3OriginConfig(S3OriginConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String