7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/GeoRestrictionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
51 m_restrictionTypeHasBeenSet =
true;
52 m_restrictionType = value;
66 template <
typename LocationsT = Aws::Vector<Aws::String>>
68 m_locationsHasBeenSet =
true;
69 m_locations = std::forward<LocationsT>(value);
71 template <
typename LocationsT = Aws::Vector<Aws::String>>
76 template <
typename LocationsT = Aws::String>
78 m_locationsHasBeenSet =
true;
79 m_locations.emplace_back(std::forward<LocationsT>(value));
87 bool m_restrictionTypeHasBeenSet =
false;
88 bool m_locationsHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetLocations() const
GeoRestrictionCustomization & WithLocations(LocationsT &&value)
AWS_CLOUDFRONT_API GeoRestrictionCustomization()=default
GeoRestrictionType GetRestrictionType() const
AWS_CLOUDFRONT_API GeoRestrictionCustomization & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RestrictionTypeHasBeenSet() const
void SetLocations(LocationsT &&value)
GeoRestrictionCustomization & AddLocations(LocationsT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool LocationsHasBeenSet() const
void SetRestrictionType(GeoRestrictionType value)
AWS_CLOUDFRONT_API GeoRestrictionCustomization(const Aws::Utils::Xml::XmlNode &xmlNode)
GeoRestrictionCustomization & WithRestrictionType(GeoRestrictionType value)
std::vector< T, Aws::Allocator< T > > Vector