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;
PlaybackRestrictionPolicy & AddTags(const Aws::String &key, Aws::String &&value)
bool GetEnableStrictOriginEnforcement() const
PlaybackRestrictionPolicy & WithAllowedCountries(Aws::Vector< Aws::String > &&value)
PlaybackRestrictionPolicy & AddTags(Aws::String &&key, Aws::String &&value)
PlaybackRestrictionPolicy & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PlaybackRestrictionPolicy & WithAllowedOrigins(Aws::Vector< Aws::String > &&value)
PlaybackRestrictionPolicy & AddTags(const char *key, Aws::String &&value)
void SetAllowedCountries(const Aws::Vector< Aws::String > &value)
bool EnableStrictOriginEnforcementHasBeenSet() const
PlaybackRestrictionPolicy & WithAllowedOrigins(const Aws::Vector< Aws::String > &value)
void SetAllowedCountries(Aws::Vector< Aws::String > &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVS_API PlaybackRestrictionPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API PlaybackRestrictionPolicy()
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PlaybackRestrictionPolicy & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool AllowedOriginsHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetEnableStrictOriginEnforcement(bool value)
PlaybackRestrictionPolicy & WithArn(const char *value)
PlaybackRestrictionPolicy & WithEnableStrictOriginEnforcement(bool value)
void SetArn(Aws::String &&value)
PlaybackRestrictionPolicy & AddAllowedOrigins(Aws::String &&value)
void SetAllowedOrigins(Aws::Vector< Aws::String > &&value)
void SetName(const Aws::String &value)
PlaybackRestrictionPolicy & AddTags(Aws::String &&key, const Aws::String &value)
PlaybackRestrictionPolicy & WithName(const char *value)
PlaybackRestrictionPolicy & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const char *value)
void SetAllowedOrigins(const Aws::Vector< Aws::String > &value)
AWS_IVS_API PlaybackRestrictionPolicy(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowedCountries() const
const Aws::String & GetArn() const
void SetName(Aws::String &&value)
PlaybackRestrictionPolicy & AddTags(const Aws::String &key, const Aws::String &value)
PlaybackRestrictionPolicy & AddAllowedOrigins(const char *value)
bool ArnHasBeenSet() const
PlaybackRestrictionPolicy & WithName(const Aws::String &value)
PlaybackRestrictionPolicy & AddAllowedCountries(const char *value)
PlaybackRestrictionPolicy & WithArn(Aws::String &&value)
PlaybackRestrictionPolicy & AddTags(Aws::String &&key, const char *value)
void SetArn(const Aws::String &value)
bool TagsHasBeenSet() const
PlaybackRestrictionPolicy & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PlaybackRestrictionPolicy & AddTags(const char *key, const char *value)
const Aws::Vector< Aws::String > & GetAllowedOrigins() const
PlaybackRestrictionPolicy & AddAllowedCountries(const Aws::String &value)
PlaybackRestrictionPolicy & AddAllowedOrigins(const Aws::String &value)
PlaybackRestrictionPolicy & AddAllowedCountries(Aws::String &&value)
PlaybackRestrictionPolicy & WithAllowedCountries(const Aws::Vector< Aws::String > &value)
bool AllowedCountriesHasBeenSet() const
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