7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ivs/IVS_EXPORTS.h>
10#include <aws/ivs/model/BatchError.h>
11#include <aws/ivs/model/Channel.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ChannelsT = Aws::Vector<Channel>>
39 m_channelsHasBeenSet =
true;
40 m_channels = std::forward<ChannelsT>(value);
42 template <
typename ChannelsT = Aws::Vector<Channel>>
47 template <
typename ChannelsT = Channel>
49 m_channelsHasBeenSet =
true;
50 m_channels.emplace_back(std::forward<ChannelsT>(value));
60 template <
typename ErrorsT = Aws::Vector<BatchError>>
62 m_errorsHasBeenSet =
true;
63 m_errors = std::forward<ErrorsT>(value);
65 template <
typename ErrorsT = Aws::Vector<BatchError>>
70 template <
typename ErrorsT = BatchError>
72 m_errorsHasBeenSet =
true;
73 m_errors.emplace_back(std::forward<ErrorsT>(value));
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
98 bool m_channelsHasBeenSet =
false;
99 bool m_errorsHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
BatchGetChannelResult & WithChannels(ChannelsT &&value)
BatchGetChannelResult & WithErrors(ErrorsT &&value)
BatchGetChannelResult & AddErrors(ErrorsT &&value)
void SetErrors(ErrorsT &&value)
const Aws::Vector< BatchError > & GetErrors() const
AWS_IVS_API BatchGetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_IVS_API BatchGetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Channel > & GetChannels() const
void SetChannels(ChannelsT &&value)
BatchGetChannelResult & WithRequestId(RequestIdT &&value)
BatchGetChannelResult & AddChannels(ChannelsT &&value)
AWS_IVS_API BatchGetChannelResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue