7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/ParametersInCacheKeyAndForwardedToOrigin.h>
61 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetDefaultTTL(
long long value) { m_defaultTTLHasBeenSet =
true; m_defaultTTL = value; }
117 inline void SetMaxTTL(
long long value) { m_maxTTLHasBeenSet =
true; m_maxTTL = value; }
132 inline void SetMinTTL(
long long value) { m_minTTLHasBeenSet =
true; m_minTTL = value; }
152 bool m_commentHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
157 long long m_defaultTTL;
158 bool m_defaultTTLHasBeenSet =
false;
161 bool m_maxTTLHasBeenSet =
false;
164 bool m_minTTLHasBeenSet =
false;
167 bool m_parametersInCacheKeyAndForwardedToOriginHasBeenSet =
false;
void SetName(const char *value)
AWS_CLOUDFRONT_API CachePolicyConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMinTTL(long long value)
const Aws::String & GetName() const
void SetComment(Aws::String &&value)
void SetMaxTTL(long long value)
CachePolicyConfig & WithComment(const char *value)
CachePolicyConfig & WithMaxTTL(long long value)
CachePolicyConfig & WithParametersInCacheKeyAndForwardedToOrigin(const ParametersInCacheKeyAndForwardedToOrigin &value)
bool CommentHasBeenSet() const
CachePolicyConfig & WithName(const char *value)
void SetName(Aws::String &&value)
AWS_CLOUDFRONT_API CachePolicyConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CachePolicyConfig & WithComment(const Aws::String &value)
void SetComment(const char *value)
void SetDefaultTTL(long long value)
const Aws::String & GetComment() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool MinTTLHasBeenSet() const
CachePolicyConfig & WithParametersInCacheKeyAndForwardedToOrigin(ParametersInCacheKeyAndForwardedToOrigin &&value)
long long GetMinTTL() const
const ParametersInCacheKeyAndForwardedToOrigin & GetParametersInCacheKeyAndForwardedToOrigin() const
void SetParametersInCacheKeyAndForwardedToOrigin(const ParametersInCacheKeyAndForwardedToOrigin &value)
CachePolicyConfig & WithName(const Aws::String &value)
bool NameHasBeenSet() const
long long GetDefaultTTL() const
void SetParametersInCacheKeyAndForwardedToOrigin(ParametersInCacheKeyAndForwardedToOrigin &&value)
void SetName(const Aws::String &value)
void SetComment(const Aws::String &value)
bool ParametersInCacheKeyAndForwardedToOriginHasBeenSet() const
AWS_CLOUDFRONT_API CachePolicyConfig()
CachePolicyConfig & WithComment(Aws::String &&value)
CachePolicyConfig & WithMinTTL(long long value)
bool DefaultTTLHasBeenSet() const
CachePolicyConfig & WithDefaultTTL(long long value)
CachePolicyConfig & WithName(Aws::String &&value)
bool MaxTTLHasBeenSet() const
long long GetMaxTTL() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String