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/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ChannelArnT = Aws::String>
39 m_channelArnHasBeenSet =
true;
40 m_channelArn = std::forward<ChannelArnT>(value);
42 template <
typename ChannelArnT = Aws::String>
54 template <
typename NameT = Aws::String>
56 m_nameHasBeenSet =
true;
57 m_name = std::forward<NameT>(value);
59 template <
typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
71 template <
typename SourceT = Aws::String>
73 m_sourceHasBeenSet =
true;
74 m_source = std::forward<SourceT>(value);
76 template <
typename SourceT = Aws::String>
88 template <
typename DestinationsT = Aws::Vector<Destination>>
90 m_destinationsHasBeenSet =
true;
91 m_destinations = std::forward<DestinationsT>(value);
93 template <
typename DestinationsT = Aws::Vector<Destination>>
98 template <
typename DestinationsT = Destination>
100 m_destinationsHasBeenSet =
true;
101 m_destinations.emplace_back(std::forward<DestinationsT>(value));
109 template <
typename TagsT = Aws::Vector<Tag>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Vector<Tag>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsT = Tag>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace_back(std::forward<TagsT>(value));
130 template <
typename RequestIdT = Aws::String>
132 m_requestIdHasBeenSet =
true;
133 m_requestId = std::forward<RequestIdT>(value);
135 template <
typename RequestIdT = Aws::String>
153 bool m_channelArnHasBeenSet =
false;
154 bool m_nameHasBeenSet =
false;
155 bool m_sourceHasBeenSet =
false;
156 bool m_destinationsHasBeenSet =
false;
157 bool m_tagsHasBeenSet =
false;
158 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)
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