7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/OriginRequestPolicyHeadersConfig.h>
10#include <aws/cloudfront/model/OriginRequestPolicyCookiesConfig.h>
11#include <aws/cloudfront/model/OriginRequestPolicyQueryStringsConfig.h>
65 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
124 bool m_commentHasBeenSet =
false;
127 bool m_nameHasBeenSet =
false;
130 bool m_headersConfigHasBeenSet =
false;
133 bool m_cookiesConfigHasBeenSet =
false;
136 bool m_queryStringsConfigHasBeenSet =
false;
void SetName(const Aws::String &value)
void SetComment(const Aws::String &value)
void SetQueryStringsConfig(const OriginRequestPolicyQueryStringsConfig &value)
OriginRequestPolicyConfig & WithHeadersConfig(OriginRequestPolicyHeadersConfig &&value)
bool CommentHasBeenSet() const
void SetName(const char *value)
OriginRequestPolicyConfig & WithName(Aws::String &&value)
AWS_CLOUDFRONT_API OriginRequestPolicyConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCookiesConfig(OriginRequestPolicyCookiesConfig &&value)
void SetHeadersConfig(OriginRequestPolicyHeadersConfig &&value)
OriginRequestPolicyConfig & WithQueryStringsConfig(const OriginRequestPolicyQueryStringsConfig &value)
void SetName(Aws::String &&value)
OriginRequestPolicyConfig & WithName(const char *value)
const Aws::String & GetName() const
const Aws::String & GetComment() const
bool QueryStringsConfigHasBeenSet() const
OriginRequestPolicyConfig & WithComment(const Aws::String &value)
OriginRequestPolicyConfig & WithComment(const char *value)
const OriginRequestPolicyQueryStringsConfig & GetQueryStringsConfig() const
OriginRequestPolicyConfig & WithCookiesConfig(const OriginRequestPolicyCookiesConfig &value)
void SetComment(const char *value)
OriginRequestPolicyConfig & WithName(const Aws::String &value)
OriginRequestPolicyConfig & WithCookiesConfig(OriginRequestPolicyCookiesConfig &&value)
void SetQueryStringsConfig(OriginRequestPolicyQueryStringsConfig &&value)
void SetHeadersConfig(const OriginRequestPolicyHeadersConfig &value)
OriginRequestPolicyConfig & WithComment(Aws::String &&value)
AWS_CLOUDFRONT_API OriginRequestPolicyConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API OriginRequestPolicyConfig()
OriginRequestPolicyConfig & WithHeadersConfig(const OriginRequestPolicyHeadersConfig &value)
bool NameHasBeenSet() const
const OriginRequestPolicyCookiesConfig & GetCookiesConfig() const
const OriginRequestPolicyHeadersConfig & GetHeadersConfig() const
void SetComment(Aws::String &&value)
void SetCookiesConfig(const OriginRequestPolicyCookiesConfig &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
OriginRequestPolicyConfig & WithQueryStringsConfig(OriginRequestPolicyQueryStringsConfig &&value)
bool CookiesConfigHasBeenSet() const
bool HeadersConfigHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String