7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/Destination.h>
9#include <aws/cloudtrail/model/IngestionStatus.h>
10#include <aws/cloudtrail/model/SourceConfig.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ChannelArnT = Aws::String>
41 m_channelArnHasBeenSet =
true;
42 m_channelArn = std::forward<ChannelArnT>(value);
44 template <
typename ChannelArnT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
77 template <
typename SourceT = Aws::String>
79 m_sourceHasBeenSet =
true;
80 m_source = std::forward<SourceT>(value);
82 template <
typename SourceT = Aws::String>
95 template <
typename SourceConfigT = SourceConfig>
97 m_sourceConfigHasBeenSet =
true;
98 m_sourceConfig = std::forward<SourceConfigT>(value);
100 template <
typename SourceConfigT = SourceConfig>
115 template <
typename DestinationsT = Aws::Vector<Destination>>
117 m_destinationsHasBeenSet =
true;
118 m_destinations = std::forward<DestinationsT>(value);
120 template <
typename DestinationsT = Aws::Vector<Destination>>
125 template <
typename DestinationsT = Destination>
127 m_destinationsHasBeenSet =
true;
128 m_destinations.emplace_back(std::forward<DestinationsT>(value));
139 template <
typename IngestionStatusT = IngestionStatus>
141 m_ingestionStatusHasBeenSet =
true;
142 m_ingestionStatus = std::forward<IngestionStatusT>(value);
144 template <
typename IngestionStatusT = IngestionStatus>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
182 bool m_channelArnHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
184 bool m_sourceHasBeenSet =
false;
185 bool m_sourceConfigHasBeenSet =
false;
186 bool m_destinationsHasBeenSet =
false;
187 bool m_ingestionStatusHasBeenSet =
false;
188 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const SourceConfig & GetSourceConfig() const
GetChannelResult & WithName(NameT &&value)
GetChannelResult & WithRequestId(RequestIdT &&value)
void SetIngestionStatus(IngestionStatusT &&value)
const Aws::String & GetChannelArn() const
const Aws::String & GetSource() const
GetChannelResult & WithChannelArn(ChannelArnT &&value)
const IngestionStatus & GetIngestionStatus() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetChannelResult & WithDestinations(DestinationsT &&value)
GetChannelResult & WithSourceConfig(SourceConfigT &&value)
const Aws::String & GetRequestId() const
void SetDestinations(DestinationsT &&value)
void SetSourceConfig(SourceConfigT &&value)
const Aws::Vector< Destination > & GetDestinations() const
AWS_CLOUDTRAIL_API GetChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GetChannelResult()=default
void SetSource(SourceT &&value)
void SetChannelArn(ChannelArnT &&value)
GetChannelResult & AddDestinations(DestinationsT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
AWS_CLOUDTRAIL_API GetChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelResult & WithSource(SourceT &&value)
GetChannelResult & WithIngestionStatus(IngestionStatusT &&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