7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/Destination.h>
9#include <aws/cloudtrail/model/Tag.h>
10#include <aws/core/http/HttpResponse.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>
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
72 template <
typename SourceT = Aws::String>
74 m_sourceHasBeenSet =
true;
75 m_source = std::forward<SourceT>(value);
77 template <
typename SourceT = Aws::String>
89 template <
typename DestinationsT = Aws::Vector<Destination>>
91 m_destinationsHasBeenSet =
true;
92 m_destinations = std::forward<DestinationsT>(value);
94 template <
typename DestinationsT = Aws::Vector<Destination>>
99 template <
typename DestinationsT = Destination>
101 m_destinationsHasBeenSet =
true;
102 m_destinations.emplace_back(std::forward<DestinationsT>(value));
110 template <
typename TagsT = Aws::Vector<Tag>>
112 m_tagsHasBeenSet =
true;
113 m_tags = std::forward<TagsT>(value);
115 template <
typename TagsT = Aws::Vector<Tag>>
117 SetTags(std::forward<TagsT>(value));
120 template <
typename TagsT = Tag>
122 m_tagsHasBeenSet =
true;
123 m_tags.emplace_back(std::forward<TagsT>(value));
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
157 bool m_channelArnHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
159 bool m_sourceHasBeenSet =
false;
160 bool m_destinationsHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
void SetTags(TagsT &&value)
void SetChannelArn(ChannelArnT &&value)
AWS_CLOUDTRAIL_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetSource() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetName() const
void SetSource(SourceT &&value)
CreateChannelResult & WithChannelArn(ChannelArnT &&value)
CreateChannelResult & AddTags(TagsT &&value)
CreateChannelResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateChannelResult & WithTags(TagsT &&value)
AWS_CLOUDTRAIL_API CreateChannelResult()=default
CreateChannelResult & WithDestinations(DestinationsT &&value)
void SetName(NameT &&value)
const Aws::String & GetChannelArn() const
CreateChannelResult & WithSource(SourceT &&value)
CreateChannelResult & WithRequestId(RequestIdT &&value)
void SetDestinations(DestinationsT &&value)
const Aws::Vector< Destination > & GetDestinations() const
CreateChannelResult & AddDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue