7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
92 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
125 bool m_allowedCountriesHasBeenSet =
false;
128 bool m_allowedOriginsHasBeenSet =
false;
130 bool m_enableStrictOriginEnforcement;
131 bool m_enableStrictOriginEnforcementHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
CreatePlaybackRestrictionPolicyRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool NameHasBeenSet() const
CreatePlaybackRestrictionPolicyRequest & AddTags(const char *key, const char *value)
void SetName(const char *value)
const Aws::String & GetName() const
AWS_IVS_API Aws::String SerializePayload() const override
CreatePlaybackRestrictionPolicyRequest & AddTags(const char *key, Aws::String &&value)
CreatePlaybackRestrictionPolicyRequest & WithName(const char *value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(const char *value)
CreatePlaybackRestrictionPolicyRequest & AddTags(Aws::String &&key, const char *value)
CreatePlaybackRestrictionPolicyRequest & WithAllowedCountries(const Aws::Vector< Aws::String > &value)
CreatePlaybackRestrictionPolicyRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedCountries() const
void SetName(const Aws::String &value)
bool GetEnableStrictOriginEnforcement() const
bool AllowedOriginsHasBeenSet() const
AWS_IVS_API CreatePlaybackRestrictionPolicyRequest()
bool AllowedCountriesHasBeenSet() const
CreatePlaybackRestrictionPolicyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAllowedCountries(const Aws::Vector< Aws::String > &value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedCountries(const char *value)
void SetAllowedOrigins(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAllowedOrigins() const
CreatePlaybackRestrictionPolicyRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetAllowedCountries(Aws::Vector< Aws::String > &&value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(Aws::String &&value)
bool EnableStrictOriginEnforcementHasBeenSet() const
CreatePlaybackRestrictionPolicyRequest & WithName(const Aws::String &value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedCountries(Aws::String &&value)
CreatePlaybackRestrictionPolicyRequest & WithAllowedCountries(Aws::Vector< Aws::String > &&value)
void SetName(Aws::String &&value)
CreatePlaybackRestrictionPolicyRequest & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreatePlaybackRestrictionPolicyRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetEnableStrictOriginEnforcement(bool value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedCountries(const Aws::String &value)
CreatePlaybackRestrictionPolicyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAllowedOrigins(Aws::Vector< Aws::String > &&value)
CreatePlaybackRestrictionPolicyRequest & WithAllowedOrigins(Aws::Vector< Aws::String > &&value)
CreatePlaybackRestrictionPolicyRequest & WithAllowedOrigins(const Aws::Vector< Aws::String > &value)
bool TagsHasBeenSet() const
CreatePlaybackRestrictionPolicyRequest & WithEnableStrictOriginEnforcement(bool 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