7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/CookieObject.h>
10#include <aws/lightsail/model/HeaderObject.h>
11#include <aws/lightsail/model/QueryStringObject.h>
58 inline void SetDefaultTTL(
long long value) { m_defaultTTLHasBeenSet =
true; m_defaultTTL = value; }
72 inline void SetMinimumTTL(
long long value) { m_minimumTTLHasBeenSet =
true; m_minimumTTL = value; }
86 inline void SetMaximumTTL(
long long value) { m_maximumTTLHasBeenSet =
true; m_maximumTTL = value; }
110 inline void SetAllowedHTTPMethods(
const char* value) { m_allowedHTTPMethodsHasBeenSet =
true; m_allowedHTTPMethods.assign(value); }
129 inline void SetCachedHTTPMethods(
const char* value) { m_cachedHTTPMethodsHasBeenSet =
true; m_cachedHTTPMethods.assign(value); }
175 long long m_defaultTTL;
176 bool m_defaultTTLHasBeenSet =
false;
178 long long m_minimumTTL;
179 bool m_minimumTTLHasBeenSet =
false;
181 long long m_maximumTTL;
182 bool m_maximumTTLHasBeenSet =
false;
185 bool m_allowedHTTPMethodsHasBeenSet =
false;
188 bool m_cachedHTTPMethodsHasBeenSet =
false;
191 bool m_forwardedCookiesHasBeenSet =
false;
194 bool m_forwardedHeadersHasBeenSet =
false;
197 bool m_forwardedQueryStringsHasBeenSet =
false;
void SetForwardedCookies(const CookieObject &value)
CacheSettings & WithCachedHTTPMethods(const Aws::String &value)
CacheSettings & WithAllowedHTTPMethods(Aws::String &&value)
bool ForwardedQueryStringsHasBeenSet() const
void SetForwardedHeaders(HeaderObject &&value)
void SetCachedHTTPMethods(const char *value)
void SetCachedHTTPMethods(Aws::String &&value)
void SetDefaultTTL(long long value)
long long GetMaximumTTL() const
void SetMaximumTTL(long long value)
const QueryStringObject & GetForwardedQueryStrings() const
void SetForwardedQueryStrings(QueryStringObject &&value)
void SetMinimumTTL(long long value)
CacheSettings & WithMinimumTTL(long long value)
const Aws::String & GetCachedHTTPMethods() const
CacheSettings & WithForwardedCookies(const CookieObject &value)
CacheSettings & WithForwardedCookies(CookieObject &&value)
CacheSettings & WithForwardedHeaders(const HeaderObject &value)
AWS_LIGHTSAIL_API CacheSettings()
bool DefaultTTLHasBeenSet() const
CacheSettings & WithCachedHTTPMethods(Aws::String &&value)
CacheSettings & WithForwardedQueryStrings(const QueryStringObject &value)
void SetForwardedHeaders(const HeaderObject &value)
CacheSettings & WithForwardedQueryStrings(QueryStringObject &&value)
void SetCachedHTTPMethods(const Aws::String &value)
CacheSettings & WithCachedHTTPMethods(const char *value)
long long GetDefaultTTL() const
bool AllowedHTTPMethodsHasBeenSet() const
long long GetMinimumTTL() const
bool MaximumTTLHasBeenSet() const
CacheSettings & WithDefaultTTL(long long value)
const Aws::String & GetAllowedHTTPMethods() const
CacheSettings & WithForwardedHeaders(HeaderObject &&value)
CacheSettings & WithMaximumTTL(long long value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllowedHTTPMethods(Aws::String &&value)
void SetAllowedHTTPMethods(const char *value)
bool CachedHTTPMethodsHasBeenSet() const
void SetForwardedQueryStrings(const QueryStringObject &value)
void SetForwardedCookies(CookieObject &&value)
void SetAllowedHTTPMethods(const Aws::String &value)
CacheSettings & WithAllowedHTTPMethods(const char *value)
AWS_LIGHTSAIL_API CacheSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API CacheSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CacheSettings & WithAllowedHTTPMethods(const Aws::String &value)
bool ForwardedHeadersHasBeenSet() const
const CookieObject & GetForwardedCookies() const
const HeaderObject & GetForwardedHeaders() const
bool MinimumTTLHasBeenSet() const
bool ForwardedCookiesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue