7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/CacheBehavior.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
43 m_quantityHasBeenSet =
true;
59 template <
typename ItemsT = Aws::Vector<CacheBehavior>>
61 m_itemsHasBeenSet =
true;
62 m_items = std::forward<ItemsT>(value);
64 template <
typename ItemsT = Aws::Vector<CacheBehavior>>
66 SetItems(std::forward<ItemsT>(value));
69 template <
typename ItemsT = CacheBehavior>
71 m_itemsHasBeenSet =
true;
72 m_items.emplace_back(std::forward<ItemsT>(value));
80 bool m_quantityHasBeenSet =
false;
81 bool m_itemsHasBeenSet =
false;
void SetItems(ItemsT &&value)
void SetQuantity(int value)
bool ItemsHasBeenSet() const
AWS_CLOUDFRONT_API CacheBehaviors & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheBehaviors & WithQuantity(int value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API CacheBehaviors()=default
CacheBehaviors & AddItems(ItemsT &&value)
bool QuantityHasBeenSet() const
const Aws::Vector< CacheBehavior > & GetItems() const
AWS_CLOUDFRONT_API CacheBehaviors(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheBehaviors & WithItems(ItemsT &&value)
std::vector< T, Aws::Allocator< T > > Vector