7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/GeoRestrictionType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
72 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
99 inline GeoRestriction&
AddItems(
const char* value) { m_itemsHasBeenSet =
true; m_items.push_back(value);
return *
this; }
104 bool m_restrictionTypeHasBeenSet =
false;
107 bool m_quantityHasBeenSet =
false;
110 bool m_itemsHasBeenSet =
false;
GeoRestriction & WithItems(Aws::Vector< Aws::String > &&value)
bool RestrictionTypeHasBeenSet() const
bool QuantityHasBeenSet() const
void SetItems(Aws::Vector< Aws::String > &&value)
AWS_CLOUDFRONT_API GeoRestriction()
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GeoRestriction & WithRestrictionType(const GeoRestrictionType &value)
GeoRestriction & WithRestrictionType(GeoRestrictionType &&value)
const Aws::Vector< Aws::String > & GetItems() const
GeoRestriction & WithItems(const Aws::Vector< Aws::String > &value)
void SetRestrictionType(GeoRestrictionType &&value)
bool ItemsHasBeenSet() const
void SetRestrictionType(const GeoRestrictionType &value)
AWS_CLOUDFRONT_API GeoRestriction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const GeoRestrictionType & GetRestrictionType() const
GeoRestriction & AddItems(const char *value)
GeoRestriction & AddItems(Aws::String &&value)
void SetItems(const Aws::Vector< Aws::String > &value)
GeoRestriction & WithQuantity(int value)
GeoRestriction & AddItems(const Aws::String &value)
AWS_CLOUDFRONT_API GeoRestriction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetQuantity(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector