7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/CachePolicyConfig.h>
59 template<
typename IdT = Aws::String>
60 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
61 template<
typename IdT = Aws::String>
71 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
72 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
73 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
83 template<
typename CachePolicyConfigT = CachePolicyConfig>
84 void SetCachePolicyConfig(CachePolicyConfigT&& value) { m_cachePolicyConfigHasBeenSet =
true; m_cachePolicyConfig = std::forward<CachePolicyConfigT>(value); }
85 template<
typename CachePolicyConfigT = CachePolicyConfig>
91 bool m_idHasBeenSet =
false;
94 bool m_lastModifiedTimeHasBeenSet =
false;
96 CachePolicyConfig m_cachePolicyConfig;
97 bool m_cachePolicyConfigHasBeenSet =
false;
bool IdHasBeenSet() const
void SetCachePolicyConfig(CachePolicyConfigT &&value)
CachePolicy & WithId(IdT &&value)
CachePolicy & WithCachePolicyConfig(CachePolicyConfigT &&value)
bool LastModifiedTimeHasBeenSet() const
AWS_CLOUDFRONT_API CachePolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
CachePolicy & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CLOUDFRONT_API CachePolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
const CachePolicyConfig & GetCachePolicyConfig() const
bool CachePolicyConfigHasBeenSet() const
AWS_CLOUDFRONT_API CachePolicy()=default
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String