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>
41 template <
typename AllowedCountriesT = Aws::Vector<Aws::String>>
43 m_allowedCountriesHasBeenSet =
true;
44 m_allowedCountries = std::forward<AllowedCountriesT>(value);
46 template <
typename AllowedCountriesT = Aws::Vector<Aws::String>>
51 template <
typename AllowedCountriesT = Aws::String>
53 m_allowedCountriesHasBeenSet =
true;
54 m_allowedCountries.emplace_back(std::forward<AllowedCountriesT>(value));
68 template <
typename AllowedOriginsT = Aws::Vector<Aws::String>>
70 m_allowedOriginsHasBeenSet =
true;
71 m_allowedOrigins = std::forward<AllowedOriginsT>(value);
73 template <
typename AllowedOriginsT = Aws::Vector<Aws::String>>
78 template <
typename AllowedOriginsT = Aws::String>
80 m_allowedOriginsHasBeenSet =
true;
81 m_allowedOrigins.emplace_back(std::forward<AllowedOriginsT>(value));
92 template <
typename ArnT = Aws::String>
94 m_arnHasBeenSet =
true;
95 m_arn = std::forward<ArnT>(value);
97 template <
typename ArnT = Aws::String>
99 SetArn(std::forward<ArnT>(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_allowedCountriesHasBeenSet =
false;
149 bool m_allowedOriginsHasBeenSet =
false;
150 bool m_arnHasBeenSet =
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