7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/OriginProtocolPolicy.h>
9#include <aws/cloudfront/model/OriginSslProtocols.h>
52 inline void SetHTTPPort(
int value) { m_hTTPPortHasBeenSet =
true; m_hTTPPort = value; }
63 inline void SetHTTPSPort(
int value) { m_hTTPSPortHasBeenSet =
true; m_hTTPSPort = value; }
113 inline void SetOriginReadTimeout(
int value) { m_originReadTimeoutHasBeenSet =
true; m_originReadTimeout = value; }
134 bool m_hTTPPortHasBeenSet =
false;
137 bool m_hTTPSPortHasBeenSet =
false;
140 bool m_originProtocolPolicyHasBeenSet =
false;
143 bool m_originSslProtocolsHasBeenSet =
false;
145 int m_originReadTimeout;
146 bool m_originReadTimeoutHasBeenSet =
false;
148 int m_originKeepaliveTimeout;
149 bool m_originKeepaliveTimeoutHasBeenSet =
false;
CustomOriginConfig & WithHTTPSPort(int value)
const OriginProtocolPolicy & GetOriginProtocolPolicy() const
bool HTTPPortHasBeenSet() const
CustomOriginConfig & WithOriginReadTimeout(int value)
bool OriginReadTimeoutHasBeenSet() const
CustomOriginConfig & WithOriginSslProtocols(OriginSslProtocols &&value)
CustomOriginConfig & WithOriginProtocolPolicy(const OriginProtocolPolicy &value)
void SetOriginSslProtocols(const OriginSslProtocols &value)
void SetHTTPSPort(int value)
CustomOriginConfig & WithOriginKeepaliveTimeout(int value)
void SetHTTPPort(int value)
void SetOriginProtocolPolicy(OriginProtocolPolicy &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
int GetOriginKeepaliveTimeout() const
bool HTTPSPortHasBeenSet() const
AWS_CLOUDFRONT_API CustomOriginConfig()
const OriginSslProtocols & GetOriginSslProtocols() const
bool OriginSslProtocolsHasBeenSet() const
void SetOriginProtocolPolicy(const OriginProtocolPolicy &value)
CustomOriginConfig & WithHTTPPort(int value)
int GetOriginReadTimeout() const
void SetOriginKeepaliveTimeout(int value)
bool OriginProtocolPolicyHasBeenSet() const
AWS_CLOUDFRONT_API CustomOriginConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOriginSslProtocols(OriginSslProtocols &&value)
AWS_CLOUDFRONT_API CustomOriginConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomOriginConfig & WithOriginSslProtocols(const OriginSslProtocols &value)
void SetOriginReadTimeout(int value)
CustomOriginConfig & WithOriginProtocolPolicy(OriginProtocolPolicy &&value)
bool OriginKeepaliveTimeoutHasBeenSet() const