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>
47 inline void SetChannel(
const char* value) { m_channelHasBeenSet =
true; m_channel.assign(value); }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
84 bool m_channelHasBeenSet =
false;
87 bool m_destinationsHasBeenSet =
false;
90 bool m_nameHasBeenSet =
false;
UpdateChannelRequest & WithDestinations(Aws::Vector< Destination > &&value)
virtual const char * GetServiceRequestName() const override
void SetDestinations(const Aws::Vector< Destination > &value)
void SetName(const char *value)
AWS_CLOUDTRAIL_API UpdateChannelRequest()
void SetChannel(const char *value)
UpdateChannelRequest & WithName(const char *value)
const Aws::Vector< Destination > & GetDestinations() const
UpdateChannelRequest & WithDestinations(const Aws::Vector< Destination > &value)
void SetName(Aws::String &&value)
UpdateChannelRequest & AddDestinations(const Destination &value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetChannel(const Aws::String &value)
UpdateChannelRequest & WithName(const Aws::String &value)
UpdateChannelRequest & AddDestinations(Destination &&value)
void SetChannel(Aws::String &&value)
UpdateChannelRequest & WithChannel(const char *value)
UpdateChannelRequest & WithChannel(const Aws::String &value)
const Aws::String & GetName() const
bool ChannelHasBeenSet() const
UpdateChannelRequest & WithChannel(Aws::String &&value)
void SetName(const Aws::String &value)
bool DestinationsHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
void SetDestinations(Aws::Vector< Destination > &&value)
const Aws::String & GetChannel() const
UpdateChannelRequest & WithName(Aws::String &&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