7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs/IVS_EXPORTS.h>
11#include <aws/ivs/model/BatchError.h>
12#include <aws/ivs/model/Channel.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
40 template <
typename AccessControlAllowOriginT = Aws::String>
42 m_accessControlAllowOriginHasBeenSet =
true;
43 m_accessControlAllowOrigin = std::forward<AccessControlAllowOriginT>(value);
45 template <
typename AccessControlAllowOriginT = Aws::String>
59 template <
typename AccessControlExposeHeadersT = Aws::String>
61 m_accessControlExposeHeadersHasBeenSet =
true;
62 m_accessControlExposeHeaders = std::forward<AccessControlExposeHeadersT>(value);
64 template <
typename AccessControlExposeHeadersT = Aws::String>
78 template <
typename CacheControlT = Aws::String>
80 m_cacheControlHasBeenSet =
true;
81 m_cacheControl = std::forward<CacheControlT>(value);
83 template <
typename CacheControlT = Aws::String>
97 template <
typename ContentSecurityPolicyT = Aws::String>
99 m_contentSecurityPolicyHasBeenSet =
true;
100 m_contentSecurityPolicy = std::forward<ContentSecurityPolicyT>(value);
102 template <
typename ContentSecurityPolicyT = Aws::String>
116 template <
typename StrictTransportSecurityT = Aws::String>
118 m_strictTransportSecurityHasBeenSet =
true;
119 m_strictTransportSecurity = std::forward<StrictTransportSecurityT>(value);
121 template <
typename StrictTransportSecurityT = Aws::String>
135 template <
typename XContentTypeOptionsT = Aws::String>
137 m_xContentTypeOptionsHasBeenSet =
true;
138 m_xContentTypeOptions = std::forward<XContentTypeOptionsT>(value);
140 template <
typename XContentTypeOptionsT = Aws::String>
154 template <
typename XFrameOptionsT = Aws::String>
156 m_xFrameOptionsHasBeenSet =
true;
157 m_xFrameOptions = std::forward<XFrameOptionsT>(value);
159 template <
typename XFrameOptionsT = Aws::String>
171 template <
typename ChannelsT = Aws::Vector<Channel>>
173 m_channelsHasBeenSet =
true;
174 m_channels = std::forward<ChannelsT>(value);
176 template <
typename ChannelsT = Aws::Vector<Channel>>
181 template <
typename ChannelsT = Channel>
183 m_channelsHasBeenSet =
true;
184 m_channels.emplace_back(std::forward<ChannelsT>(value));
194 template <
typename ErrorsT = Aws::Vector<BatchError>>
196 m_errorsHasBeenSet =
true;
197 m_errors = std::forward<ErrorsT>(value);
199 template <
typename ErrorsT = Aws::Vector<BatchError>>
204 template <
typename ErrorsT = BatchError>
206 m_errorsHasBeenSet =
true;
207 m_errors.emplace_back(std::forward<ErrorsT>(value));
215 template <
typename RequestIdT = Aws::String>
217 m_requestIdHasBeenSet =
true;
218 m_requestId = std::forward<RequestIdT>(value);
220 template <
typename RequestIdT = Aws::String>
249 bool m_accessControlAllowOriginHasBeenSet =
false;
250 bool m_accessControlExposeHeadersHasBeenSet =
false;
251 bool m_cacheControlHasBeenSet =
false;
252 bool m_contentSecurityPolicyHasBeenSet =
false;
253 bool m_strictTransportSecurityHasBeenSet =
false;
254 bool m_xContentTypeOptionsHasBeenSet =
false;
255 bool m_xFrameOptionsHasBeenSet =
false;
256 bool m_channelsHasBeenSet =
false;
257 bool m_errorsHasBeenSet =
false;
258 bool m_requestIdHasBeenSet =
false;
BatchGetChannelResult & WithXFrameOptions(XFrameOptionsT &&value)
const Aws::String & GetCacheControl() const
BatchGetChannelResult & WithXContentTypeOptions(XContentTypeOptionsT &&value)
void SetRequestId(RequestIdT &&value)
BatchGetChannelResult & WithChannels(ChannelsT &&value)
BatchGetChannelResult & WithErrors(ErrorsT &&value)
const Aws::String & GetContentSecurityPolicy() const
const Aws::String & GetAccessControlExposeHeaders() const
BatchGetChannelResult & AddErrors(ErrorsT &&value)
BatchGetChannelResult & WithStrictTransportSecurity(StrictTransportSecurityT &&value)
void SetErrors(ErrorsT &&value)
const Aws::Vector< BatchError > & GetErrors() const
void SetStrictTransportSecurity(StrictTransportSecurityT &&value)
const Aws::String & GetStrictTransportSecurity() const
AWS_IVS_API BatchGetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetXFrameOptions() const
BatchGetChannelResult & WithContentSecurityPolicy(ContentSecurityPolicyT &&value)
void SetCacheControl(CacheControlT &&value)
const Aws::String & GetRequestId() const
AWS_IVS_API BatchGetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Channel > & GetChannels() const
BatchGetChannelResult & WithCacheControl(CacheControlT &&value)
void SetChannels(ChannelsT &&value)
const Aws::String & GetXContentTypeOptions() const
void SetXContentTypeOptions(XContentTypeOptionsT &&value)
BatchGetChannelResult & WithRequestId(RequestIdT &&value)
BatchGetChannelResult & WithAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
void SetAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
BatchGetChannelResult & AddChannels(ChannelsT &&value)
const Aws::String & GetAccessControlAllowOrigin() const
AWS_IVS_API BatchGetChannelResult()=default
void SetAccessControlExposeHeaders(AccessControlExposeHeadersT &&value)
void SetXFrameOptions(XFrameOptionsT &&value)
void SetContentSecurityPolicy(ContentSecurityPolicyT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchGetChannelResult & WithAccessControlAllowOrigin(AccessControlAllowOriginT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue