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>
45 template<
typename AllowedCountriesT = Aws::Vector<Aws::String>>
46 void SetAllowedCountries(AllowedCountriesT&& value) { m_allowedCountriesHasBeenSet =
true; m_allowedCountries = std::forward<AllowedCountriesT>(value); }
47 template<
typename AllowedCountriesT = Aws::Vector<Aws::String>>
49 template<
typename AllowedCountriesT = Aws::String>
62 template<
typename AllowedOriginsT = Aws::Vector<Aws::String>>
63 void SetAllowedOrigins(AllowedOriginsT&& value) { m_allowedOriginsHasBeenSet =
true; m_allowedOrigins = std::forward<AllowedOriginsT>(value); }
64 template<
typename AllowedOriginsT = Aws::Vector<Aws::String>>
66 template<
typename AllowedOriginsT = Aws::String>
76 template<
typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
78 template<
typename ArnT = Aws::String>
99 template<
typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
101 template<
typename NameT = Aws::String>
107 bool m_allowedCountriesHasBeenSet =
false;
110 bool m_allowedOriginsHasBeenSet =
false;
113 bool m_arnHasBeenSet =
false;
115 bool m_enableStrictOriginEnforcement{
false};
116 bool m_enableStrictOriginEnforcementHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
const Aws::String & GetArn() const
const Aws::String & GetName() const
AWS_IVS_API UpdatePlaybackRestrictionPolicyRequest()=default
UpdatePlaybackRestrictionPolicyRequest & WithArn(ArnT &&value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedCountries(AllowedCountriesT &&value)
void SetArn(ArnT &&value)
void SetAllowedOrigins(AllowedOriginsT &&value)
const Aws::Vector< Aws::String > & GetAllowedOrigins() const
bool ArnHasBeenSet() const
UpdatePlaybackRestrictionPolicyRequest & WithAllowedCountries(AllowedCountriesT &&value)
UpdatePlaybackRestrictionPolicyRequest & AddAllowedOrigins(AllowedOriginsT &&value)
void SetEnableStrictOriginEnforcement(bool value)
bool GetEnableStrictOriginEnforcement() const
bool AllowedCountriesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetAllowedCountries() const
bool EnableStrictOriginEnforcementHasBeenSet() const
AWS_IVS_API Aws::String SerializePayload() const override
UpdatePlaybackRestrictionPolicyRequest & WithEnableStrictOriginEnforcement(bool value)
bool NameHasBeenSet() const
bool AllowedOriginsHasBeenSet() const
void SetAllowedCountries(AllowedCountriesT &&value)
void SetName(NameT &&value)
UpdatePlaybackRestrictionPolicyRequest & WithName(NameT &&value)
UpdatePlaybackRestrictionPolicyRequest & WithAllowedOrigins(AllowedOriginsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector