7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudfront/model/Origin.h>
48 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
62 inline Origins&
AddItems(
const Origin& value) { m_itemsHasBeenSet =
true; m_items.push_back(value);
return *
this; }
63 inline Origins&
AddItems(
Origin&& value) { m_itemsHasBeenSet =
true; m_items.push_back(std::move(value));
return *
this; }
68 bool m_quantityHasBeenSet =
false;
71 bool m_itemsHasBeenSet =
false;
void SetQuantity(int value)
Origins & AddItems(const Origin &value)
Origins & WithItems(Aws::Vector< Origin > &&value)
AWS_CLOUDFRONT_API Origins(const Aws::Utils::Xml::XmlNode &xmlNode)
Origins & WithQuantity(int value)
void SetItems(const Aws::Vector< Origin > &value)
AWS_CLOUDFRONT_API Origins & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ItemsHasBeenSet() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetItems(Aws::Vector< Origin > &&value)
Origins & AddItems(Origin &&value)
const Aws::Vector< Origin > & GetItems() const
AWS_CLOUDFRONT_API Origins()
bool QuantityHasBeenSet() const
Origins & WithItems(const Aws::Vector< Origin > &value)
std::vector< T, Aws::Allocator< T > > Vector