7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudfront/model/CachedMethods.h>
10#include <aws/cloudfront/model/Method.h>
62 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
73 template<
typename ItemsT = Aws::Vector<Method>>
74 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
75 template<
typename ItemsT = Aws::Vector<Method>>
84 template<
typename CachedMethodsT = CachedMethods>
85 void SetCachedMethods(CachedMethodsT&& value) { m_cachedMethodsHasBeenSet =
true; m_cachedMethods = std::forward<CachedMethodsT>(value); }
86 template<
typename CachedMethodsT = CachedMethods>
92 bool m_quantityHasBeenSet =
false;
95 bool m_itemsHasBeenSet =
false;
97 CachedMethods m_cachedMethods;
98 bool m_cachedMethodsHasBeenSet =
false;
bool ItemsHasBeenSet() const
const CachedMethods & GetCachedMethods() const
void SetItems(ItemsT &&value)
AllowedMethods & AddItems(Method value)
AWS_CLOUDFRONT_API AllowedMethods & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Method > & GetItems() const
bool QuantityHasBeenSet() const
bool CachedMethodsHasBeenSet() const
AllowedMethods & WithItems(ItemsT &&value)
AllowedMethods & WithCachedMethods(CachedMethodsT &&value)
AllowedMethods & WithQuantity(int value)
AWS_CLOUDFRONT_API AllowedMethods()=default
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetQuantity(int value)
AWS_CLOUDFRONT_API AllowedMethods(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCachedMethods(CachedMethodsT &&value)
std::vector< T, Aws::Allocator< T > > Vector