7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/CachedMethods.h>
9#include <aws/cloudfront/model/Method.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
57 m_quantityHasBeenSet =
true;
73 template <
typename ItemsT = Aws::Vector<Method>>
75 m_itemsHasBeenSet =
true;
76 m_items = std::forward<ItemsT>(value);
78 template <
typename ItemsT = Aws::Vector<Method>>
80 SetItems(std::forward<ItemsT>(value));
84 m_itemsHasBeenSet =
true;
85 m_items.push_back(value);
94 template <
typename CachedMethodsT = CachedMethods>
96 m_cachedMethodsHasBeenSet =
true;
97 m_cachedMethods = std::forward<CachedMethodsT>(value);
99 template <
typename CachedMethodsT = CachedMethods>
110 CachedMethods m_cachedMethods;
111 bool m_quantityHasBeenSet =
false;
112 bool m_itemsHasBeenSet =
false;
113 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