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 ETagT = Aws::String>
53 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
54 template<
typename ETagT = Aws::String>
61 template<
typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
63 template<
typename RequestIdT = Aws::String>
69 bool m_cachePolicyHasBeenSet =
false;
72 bool m_eTagHasBeenSet =
false;
75 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetETag() const
UpdateCachePolicy2020_05_31Result & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetCachePolicy(CachePolicyT &&value)
AWS_CLOUDFRONT_API UpdateCachePolicy2020_05_31Result()=default
const CachePolicy & GetCachePolicy() const
AWS_CLOUDFRONT_API UpdateCachePolicy2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetETag(ETagT &&value)
UpdateCachePolicy2020_05_31Result & WithETag(ETagT &&value)
UpdateCachePolicy2020_05_31Result & WithCachePolicy(CachePolicyT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDFRONT_API UpdateCachePolicy2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument