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>
66 template<
typename LocationsT = Aws::Vector<Aws::String>>
67 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
68 template<
typename LocationsT = Aws::Vector<Aws::String>>
70 template<
typename LocationsT = Aws::String>
76 bool m_restrictionTypeHasBeenSet =
false;
79 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