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>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
103 bool m_nameHasBeenSet =
false;
106 bool m_sourceHasBeenSet =
false;
109 bool m_destinationsHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
void SetSource(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateChannelRequest & WithName(Aws::String &&value)
void SetDestinations(const Aws::Vector< Destination > &value)
CreateChannelRequest & WithTags(Aws::Vector< Tag > &&value)
CreateChannelRequest & WithName(const char *value)
const Aws::Vector< Destination > & GetDestinations() const
void SetName(const char *value)
CreateChannelRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
void SetDestinations(Aws::Vector< Destination > &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSource(const char *value)
AWS_CLOUDTRAIL_API CreateChannelRequest()
CreateChannelRequest & WithSource(const Aws::String &value)
bool DestinationsHasBeenSet() const
void SetSource(const Aws::String &value)
void SetName(const Aws::String &value)
CreateChannelRequest & WithSource(const char *value)
CreateChannelRequest & AddTags(const Tag &value)
CreateChannelRequest & WithName(const Aws::String &value)
CreateChannelRequest & AddDestinations(Destination &&value)
CreateChannelRequest & AddDestinations(const Destination &value)
CreateChannelRequest & WithTags(const Aws::Vector< Tag > &value)
CreateChannelRequest & WithSource(Aws::String &&value)
bool TagsHasBeenSet() const
CreateChannelRequest & WithDestinations(Aws::Vector< Destination > &&value)
CreateChannelRequest & WithDestinations(const Aws::Vector< Destination > &value)
const Aws::String & GetSource() const
bool SourceHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetName(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
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