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;
41 template<
typename CachePolicyT = CachePolicy>
42 void SetCachePolicy(CachePolicyT&& value) { m_cachePolicyHasBeenSet =
true; m_cachePolicy = std::forward<CachePolicyT>(value); }
43 template<
typename CachePolicyT = CachePolicy>
52 template<
typename LocationT = Aws::String>
53 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
54 template<
typename LocationT = Aws::String>
63 template<
typename ETagT = Aws::String>
64 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
65 template<
typename ETagT = Aws::String>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_cachePolicyHasBeenSet =
false;
83 bool m_locationHasBeenSet =
false;
86 bool m_eTagHasBeenSet =
false;
89 bool m_requestIdHasBeenSet =
false;
void SetLocation(LocationT &&value)
CreateCachePolicy2020_05_31Result & WithCachePolicy(CachePolicyT &&value)
void SetCachePolicy(CachePolicyT &&value)
CreateCachePolicy2020_05_31Result & WithRequestId(RequestIdT &&value)
CreateCachePolicy2020_05_31Result & WithETag(ETagT &&value)
const Aws::String & GetETag() const
AWS_CLOUDFRONT_API CreateCachePolicy2020_05_31Result()=default
const Aws::String & GetRequestId() const
const Aws::String & GetLocation() const
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 SetRequestId(RequestIdT &&value)
void SetETag(ETagT &&value)
CreateCachePolicy2020_05_31Result & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument