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>
45 template<
typename ChannelT = Aws::String>
46 void SetChannel(ChannelT&& value) { m_channelHasBeenSet =
true; m_channel = std::forward<ChannelT>(value); }
47 template<
typename ChannelT = Aws::String>
58 template<
typename DestinationsT = Aws::Vector<Destination>>
59 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
60 template<
typename DestinationsT = Aws::Vector<Destination>>
62 template<
typename DestinationsT = Destination>
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
80 bool m_channelHasBeenSet =
false;
83 bool m_destinationsHasBeenSet =
false;
86 bool m_nameHasBeenSet =
false;
UpdateChannelRequest & WithDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API UpdateChannelRequest()=default
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
const Aws::Vector< Destination > & GetDestinations() const
UpdateChannelRequest & WithChannel(ChannelT &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithName(NameT &&value)
void SetDestinations(DestinationsT &&value)
const Aws::String & GetName() const
bool ChannelHasBeenSet() const
bool DestinationsHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
void SetChannel(ChannelT &&value)
const Aws::String & GetChannel() const
UpdateChannelRequest & AddDestinations(DestinationsT &&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