7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
86 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
87 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
112 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
145 bool m_allowedCountriesHasBeenSet =
false;
148 bool m_allowedOriginsHasBeenSet =
false;
151 bool m_arnHasBeenSet =
false;
153 bool m_enableStrictOriginEnforcement;
154 bool m_enableStrictOriginEnforcementHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
160 bool m_tagsHasBeenSet =
false;
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAllowedCountries(Aws::Vector< Aws::String > &&value)
PlaybackRestrictionPolicySummary & AddTags(const Aws::String &key, Aws::String &&value)
PlaybackRestrictionPolicySummary & WithName(const Aws::String &value)
PlaybackRestrictionPolicySummary & WithAllowedOrigins(const Aws::Vector< Aws::String > &value)
PlaybackRestrictionPolicySummary & WithArn(const Aws::String &value)
PlaybackRestrictionPolicySummary & WithAllowedCountries(Aws::Vector< Aws::String > &&value)
PlaybackRestrictionPolicySummary & WithAllowedCountries(const Aws::Vector< Aws::String > &value)
PlaybackRestrictionPolicySummary & WithAllowedOrigins(Aws::Vector< Aws::String > &&value)
void SetName(const Aws::String &value)
PlaybackRestrictionPolicySummary & AddTags(Aws::String &&key, Aws::String &&value)
bool ArnHasBeenSet() const
void SetName(Aws::String &&value)
bool GetEnableStrictOriginEnforcement() const
bool EnableStrictOriginEnforcementHasBeenSet() const
AWS_IVS_API PlaybackRestrictionPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PlaybackRestrictionPolicySummary & WithEnableStrictOriginEnforcement(bool value)
PlaybackRestrictionPolicySummary & WithName(Aws::String &&value)
PlaybackRestrictionPolicySummary & AddAllowedCountries(const char *value)
PlaybackRestrictionPolicySummary & AddTags(const char *key, Aws::String &&value)
PlaybackRestrictionPolicySummary & WithArn(Aws::String &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
PlaybackRestrictionPolicySummary & WithName(const char *value)
AWS_IVS_API PlaybackRestrictionPolicySummary(Aws::Utils::Json::JsonView jsonValue)
PlaybackRestrictionPolicySummary & AddAllowedCountries(Aws::String &&value)
void SetName(const char *value)
PlaybackRestrictionPolicySummary & AddTags(Aws::String &&key, const char *value)
void SetArn(const char *value)
void SetAllowedCountries(const Aws::Vector< Aws::String > &value)
bool NameHasBeenSet() const
PlaybackRestrictionPolicySummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetAllowedCountries() const
PlaybackRestrictionPolicySummary & WithArn(const char *value)
PlaybackRestrictionPolicySummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetEnableStrictOriginEnforcement(bool value)
bool AllowedCountriesHasBeenSet() const
const Aws::String & GetName() const
void SetAllowedOrigins(Aws::Vector< Aws::String > &&value)
PlaybackRestrictionPolicySummary & AddAllowedOrigins(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetAllowedOrigins(const Aws::Vector< Aws::String > &value)
PlaybackRestrictionPolicySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetArn() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IVS_API PlaybackRestrictionPolicySummary()
bool TagsHasBeenSet() const
PlaybackRestrictionPolicySummary & AddAllowedOrigins(const Aws::String &value)
bool AllowedOriginsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedOrigins() const
PlaybackRestrictionPolicySummary & AddAllowedOrigins(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PlaybackRestrictionPolicySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
PlaybackRestrictionPolicySummary & AddAllowedCountries(const Aws::String &value)
PlaybackRestrictionPolicySummary & AddTags(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue