114 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
229 bool m_restrictionTypeHasBeenSet;
231 bool m_quantityHasBeenSet;
233 bool m_itemsHasBeenSet;
const GeoRestrictionType & GetRestrictionType() const
GeoRestriction & AddItems(const char *value)
GeoRestriction & WithQuantity(int value)
void SetRestrictionType(const GeoRestrictionType &value)
GeoRestriction & WithRestrictionType(GeoRestrictionType &&value)
GeoRestriction & WithItems(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
GeoRestriction & WithItems(const Aws::Vector< Aws::String > &value)
GeoRestriction & AddItems(const Aws::String &value)
GeoRestriction & AddItems(Aws::String &&value)
#define AWS_CLOUDFRONT_API
GeoRestriction & WithRestrictionType(const GeoRestrictionType &value)
void SetItems(Aws::Vector< Aws::String > &&value)
void SetQuantity(int value)
void SetItems(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
void SetRestrictionType(GeoRestrictionType &&value)
const Aws::Vector< Aws::String > & GetItems() const
JSON (JavaScript Object Notation).