7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/CachePolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
54 inline void SetLocation(
const char* value) { m_location.assign(value); }
67 inline void SetETag(
const char* value) { m_eTag.assign(value); }
78 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreateCachePolicy2020_05_31Result & WithETag(Aws::String &&value)
CreateCachePolicy2020_05_31Result & WithLocation(const char *value)
void SetLocation(Aws::String &&value)
CreateCachePolicy2020_05_31Result & WithLocation(Aws::String &&value)
CreateCachePolicy2020_05_31Result & WithETag(const char *value)
void SetRequestId(const char *value)
CreateCachePolicy2020_05_31Result & WithRequestId(const Aws::String &value)
AWS_CLOUDFRONT_API CreateCachePolicy2020_05_31Result()
void SetLocation(const char *value)
void SetRequestId(Aws::String &&value)
void SetLocation(const Aws::String &value)
const Aws::String & GetETag() const
CreateCachePolicy2020_05_31Result & WithLocation(const Aws::String &value)
CreateCachePolicy2020_05_31Result & WithRequestId(const char *value)
CreateCachePolicy2020_05_31Result & WithCachePolicy(CachePolicy &&value)
CreateCachePolicy2020_05_31Result & WithETag(const Aws::String &value)
void SetCachePolicy(const CachePolicy &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetLocation() const
void SetETag(Aws::String &&value)
void SetCachePolicy(CachePolicy &&value)
CreateCachePolicy2020_05_31Result & WithRequestId(Aws::String &&value)
AWS_CLOUDFRONT_API CreateCachePolicy2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const CachePolicy & GetCachePolicy() const
AWS_CLOUDFRONT_API CreateCachePolicy2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetETag(const Aws::String &value)
void SetETag(const char *value)
CreateCachePolicy2020_05_31Result & WithCachePolicy(const CachePolicy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument