7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
74 inline void SetOriginShieldRegion(
const char* value) { m_originShieldRegionHasBeenSet =
true; m_originShieldRegion.assign(value); }
82 bool m_enabledHasBeenSet =
false;
85 bool m_originShieldRegionHasBeenSet =
false;
OriginShield & WithEnabled(bool value)
OriginShield & WithOriginShieldRegion(Aws::String &&value)
OriginShield & WithOriginShieldRegion(const char *value)
AWS_CLOUDFRONT_API OriginShield()
void SetOriginShieldRegion(const Aws::String &value)
AWS_CLOUDFRONT_API OriginShield & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnabled(bool value)
void SetOriginShieldRegion(const char *value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
OriginShield & WithOriginShieldRegion(const Aws::String &value)
bool EnabledHasBeenSet() const
bool OriginShieldRegionHasBeenSet() const
void SetOriginShieldRegion(Aws::String &&value)
AWS_CLOUDFRONT_API OriginShield(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOriginShieldRegion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String