7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ivs/IVSRequest.h>
10#include <aws/ivs/IVS_EXPORTS.h>
38 template <
typename ArnT = Aws::String>
40 m_arnHasBeenSet =
true;
41 m_arn = std::forward<ArnT>(value);
43 template <
typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
59 template <
typename AllowedCountriesT = Aws::Vector<Aws::String>>
61 m_allowedCountriesHasBeenSet =
true;
62 m_allowedCountries = std::forward<AllowedCountriesT>(value);
64 template <
typename AllowedCountriesT = Aws::Vector<Aws::String>>
69 template <
typename AllowedCountriesT = Aws::String>
71 m_allowedCountriesHasBeenSet =
true;
72 m_allowedCountries.emplace_back(std::forward<AllowedCountriesT>(value));
86 template <
typename AllowedOriginsT = Aws::Vector<Aws::String>>
88 m_allowedOriginsHasBeenSet =
true;
89 m_allowedOrigins = std::forward<AllowedOriginsT>(value);
91 template <
typename AllowedOriginsT = Aws::Vector<Aws::String>>
96 template <
typename AllowedOriginsT = Aws::String>
98 m_allowedOriginsHasBeenSet =
true;
99 m_allowedOrigins.emplace_back(std::forward<AllowedOriginsT>(value));
112 m_enableStrictOriginEnforcementHasBeenSet =
true;
113 m_enableStrictOriginEnforcement = value;
127 template <
typename NameT = Aws::String>
129 m_nameHasBeenSet =
true;
130 m_name = std::forward<NameT>(value);
132 template <
typename NameT = Aws::String>
134 SetName(std::forward<NameT>(value));
145 bool m_enableStrictOriginEnforcement{
false};
148 bool m_arnHasBeenSet =
false;
149 bool m_allowedCountriesHasBeenSet =
false;
150 bool m_allowedOriginsHasBeenSet =
false;
151 bool m_enableStrictOriginEnforcementHasBeenSet =
false;
152 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