7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/Destination.h>
11#include <aws/cloudtrail/model/Tag.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ChannelArnT = Aws::String>
44 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet =
true; m_channelArn = std::forward<ChannelArnT>(value); }
45 template<
typename ChannelArnT = Aws::String>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
65 template<
typename SourceT = Aws::String>
66 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
67 template<
typename SourceT = Aws::String>
76 template<
typename DestinationsT = Aws::Vector<Destination>>
77 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
78 template<
typename DestinationsT = Aws::Vector<Destination>>
80 template<
typename DestinationsT = Destination>
87 template<
typename TagsT = Aws::Vector<Tag>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
89 template<
typename TagsT = Aws::Vector<Tag>>
91 template<
typename TagsT = Tag>
98 template<
typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
100 template<
typename RequestIdT = Aws::String>
106 bool m_channelArnHasBeenSet =
false;
109 bool m_nameHasBeenSet =
false;
112 bool m_sourceHasBeenSet =
false;
115 bool m_destinationsHasBeenSet =
false;
118 bool m_tagsHasBeenSet =
false;
121 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