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/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ChannelArnT = Aws::String>
40 m_channelArnHasBeenSet =
true;
41 m_channelArn = std::forward<ChannelArnT>(value);
43 template <
typename ChannelArnT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
76 template <
typename SourceT = Aws::String>
78 m_sourceHasBeenSet =
true;
79 m_source = std::forward<SourceT>(value);
81 template <
typename SourceT = Aws::String>
94 template <
typename SourceConfigT = SourceConfig>
96 m_sourceConfigHasBeenSet =
true;
97 m_sourceConfig = std::forward<SourceConfigT>(value);
99 template <
typename SourceConfigT = SourceConfig>
114 template <
typename DestinationsT = Aws::Vector<Destination>>
116 m_destinationsHasBeenSet =
true;
117 m_destinations = std::forward<DestinationsT>(value);
119 template <
typename DestinationsT = Aws::Vector<Destination>>
124 template <
typename DestinationsT = Destination>
126 m_destinationsHasBeenSet =
true;
127 m_destinations.emplace_back(std::forward<DestinationsT>(value));
138 template <
typename IngestionStatusT = IngestionStatus>
140 m_ingestionStatusHasBeenSet =
true;
141 m_ingestionStatus = std::forward<IngestionStatusT>(value);
143 template <
typename IngestionStatusT = IngestionStatus>
153 template <
typename RequestIdT = Aws::String>
155 m_requestIdHasBeenSet =
true;
156 m_requestId = std::forward<RequestIdT>(value);
158 template <
typename RequestIdT = Aws::String>
178 bool m_channelArnHasBeenSet =
false;
179 bool m_nameHasBeenSet =
false;
180 bool m_sourceHasBeenSet =
false;
181 bool m_sourceConfigHasBeenSet =
false;
182 bool m_destinationsHasBeenSet =
false;
183 bool m_ingestionStatusHasBeenSet =
false;
184 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
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