7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudfront/model/Method.h>
57 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
71 template<
typename ItemsT = Aws::Vector<Method>>
72 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
73 template<
typename ItemsT = Aws::Vector<Method>>
80 bool m_quantityHasBeenSet =
false;
83 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