7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/SourceConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/IngestionStatus.h>
12#include <aws/cloudtrail/model/Destination.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename ChannelArnT = Aws::String>
45 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet =
true; m_channelArn = std::forward<ChannelArnT>(value); }
46 template<
typename ChannelArnT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
70 template<
typename SourceT = Aws::String>
71 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
72 template<
typename SourceT = Aws::String>
82 template<
typename SourceConfigT = SourceConfig>
83 void SetSourceConfig(SourceConfigT&& value) { m_sourceConfigHasBeenSet =
true; m_sourceConfig = std::forward<SourceConfigT>(value); }
84 template<
typename SourceConfigT = SourceConfig>
96 template<
typename DestinationsT = Aws::Vector<Destination>>
97 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
98 template<
typename DestinationsT = Aws::Vector<Destination>>
100 template<
typename DestinationsT = Destination>
101 GetChannelResult&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
110 template<
typename IngestionStatusT = IngestionStatus>
111 void SetIngestionStatus(IngestionStatusT&& value) { m_ingestionStatusHasBeenSet =
true; m_ingestionStatus = std::forward<IngestionStatusT>(value); }
112 template<
typename IngestionStatusT = IngestionStatus>
119 template<
typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
121 template<
typename RequestIdT = Aws::String>
127 bool m_channelArnHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_sourceHasBeenSet =
false;
136 bool m_sourceConfigHasBeenSet =
false;
139 bool m_destinationsHasBeenSet =
false;
142 bool m_ingestionStatusHasBeenSet =
false;
145 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