7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/Destination.h>
10#include <aws/cloudtrail/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
66 template <
typename SourceT = Aws::String>
68 m_sourceHasBeenSet =
true;
69 m_source = std::forward<SourceT>(value);
71 template <
typename SourceT = Aws::String>
85 template <
typename DestinationsT = Aws::Vector<Destination>>
87 m_destinationsHasBeenSet =
true;
88 m_destinations = std::forward<DestinationsT>(value);
90 template <
typename DestinationsT = Aws::Vector<Destination>>
95 template <
typename DestinationsT = Destination>
97 m_destinationsHasBeenSet =
true;
98 m_destinations.emplace_back(std::forward<DestinationsT>(value));
107 template <
typename TagsT = Aws::Vector<Tag>>
109 m_tagsHasBeenSet =
true;
110 m_tags = std::forward<TagsT>(value);
112 template <
typename TagsT = Aws::Vector<Tag>>
114 SetTags(std::forward<TagsT>(value));
117 template <
typename TagsT = Tag>
119 m_tagsHasBeenSet =
true;
120 m_tags.emplace_back(std::forward<TagsT>(value));
132 bool m_nameHasBeenSet =
false;
133 bool m_sourceHasBeenSet =
false;
134 bool m_destinationsHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
CreateChannelRequest & AddDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API CreateChannelRequest()=default
void SetName(NameT &&value)
const Aws::Vector< Destination > & GetDestinations() const
virtual const char * GetServiceRequestName() const override
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateChannelRequest & WithSource(SourceT &&value)
void SetDestinations(DestinationsT &&value)
CreateChannelRequest & WithName(NameT &&value)
bool DestinationsHasBeenSet() const
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetSource() const
bool SourceHasBeenSet() const
void SetSource(SourceT &&value)
CreateChannelRequest & WithDestinations(DestinationsT &&value)
CreateChannelRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateChannelRequest & AddTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector