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>
79 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
80 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
105 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
113 bool m_allowedCountriesHasBeenSet =
false;
116 bool m_allowedOriginsHasBeenSet =
false;
119 bool m_arnHasBeenSet =
false;
121 bool m_enableStrictOriginEnforcement;
122 bool m_enableStrictOriginEnforcementHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
const Aws::String & GetArn() const
UpdatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(Aws::String &&value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(const char *value)
void SetAllowedOrigins(Aws::Vector< Aws::String > &&value)
const Aws::String & GetName() const
UpdatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(const Aws::String &value)
void SetAllowedOrigins(const Aws::Vector< Aws::String > &value)
UpdatePlaybackRestrictionPolicyRequest & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
UpdatePlaybackRestrictionPolicyRequest & WithName(Aws::String &&value)
UpdatePlaybackRestrictionPolicyRequest & WithAllowedCountries(Aws::Vector< Aws::String > &&value)
void SetAllowedCountries(Aws::Vector< Aws::String > &&value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedCountries(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedOrigins() const
bool ArnHasBeenSet() const
void SetEnableStrictOriginEnforcement(bool value)
bool GetEnableStrictOriginEnforcement() const
bool AllowedCountriesHasBeenSet() const
UpdatePlaybackRestrictionPolicyRequest & WithArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_IVS_API UpdatePlaybackRestrictionPolicyRequest()
void SetArn(const char *value)
const Aws::Vector< Aws::String > & GetAllowedCountries() const
bool EnableStrictOriginEnforcementHasBeenSet() const
AWS_IVS_API Aws::String SerializePayload() const override
UpdatePlaybackRestrictionPolicyRequest & WithEnableStrictOriginEnforcement(bool value)
void SetArn(Aws::String &&value)
bool NameHasBeenSet() const
bool AllowedOriginsHasBeenSet() const
UpdatePlaybackRestrictionPolicyRequest & WithName(const char *value)
void SetName(const char *value)
UpdatePlaybackRestrictionPolicyRequest & WithAllowedCountries(const Aws::Vector< Aws::String > &value)
UpdatePlaybackRestrictionPolicyRequest & WithArn(const char *value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedCountries(const char *value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedCountries(const Aws::String &value)
void SetName(const Aws::String &value)
UpdatePlaybackRestrictionPolicyRequest & WithAllowedOrigins(Aws::Vector< Aws::String > &&value)
UpdatePlaybackRestrictionPolicyRequest & WithAllowedOrigins(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
UpdatePlaybackRestrictionPolicyRequest & WithName(const Aws::String &value)
void SetAllowedCountries(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector