7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/Destination.h>
12#include <aws/cloudtrail/model/Tag.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
64 template<
typename SourceT = Aws::String>
65 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
66 template<
typename SourceT = Aws::String>
77 template<
typename DestinationsT = Aws::Vector<Destination>>
78 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
79 template<
typename DestinationsT = Aws::Vector<Destination>>
81 template<
typename DestinationsT = Destination>
89 template<
typename TagsT = Aws::Vector<Tag>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
91 template<
typename TagsT = Aws::Vector<Tag>>
93 template<
typename TagsT = Tag>
99 bool m_nameHasBeenSet =
false;
102 bool m_sourceHasBeenSet =
false;
105 bool m_destinationsHasBeenSet =
false;
108 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