7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Method.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
52 m_quantityHasBeenSet =
true;
71 template <
typename ItemsT = Aws::Vector<Method>>
73 m_itemsHasBeenSet =
true;
74 m_items = std::forward<ItemsT>(value);
76 template <
typename ItemsT = Aws::Vector<Method>>
78 SetItems(std::forward<ItemsT>(value));
82 m_itemsHasBeenSet =
true;
83 m_items.push_back(value);
91 bool m_quantityHasBeenSet =
false;
92 bool m_itemsHasBeenSet =
false;
const Aws::Vector< Method > & GetItems() const
AWS_CLOUDFRONT_API CachedMethods & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CachedMethods & WithItems(ItemsT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API CachedMethods(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetItems(ItemsT &&value)
CachedMethods & WithQuantity(int value)
void SetQuantity(int value)
bool ItemsHasBeenSet() const
CachedMethods & AddItems(Method value)
bool QuantityHasBeenSet() const
AWS_CLOUDFRONT_API CachedMethods()=default
std::vector< T, Aws::Allocator< T > > Vector