7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/Destination.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
41 template <
typename ChannelT = Aws::String>
43 m_channelHasBeenSet =
true;
44 m_channel = std::forward<ChannelT>(value);
46 template <
typename ChannelT = Aws::String>
60 template <
typename DestinationsT = Aws::Vector<Destination>>
62 m_destinationsHasBeenSet =
true;
63 m_destinations = std::forward<DestinationsT>(value);
65 template <
typename DestinationsT = Aws::Vector<Destination>>
70 template <
typename DestinationsT = Destination>
72 m_destinationsHasBeenSet =
true;
73 m_destinations.emplace_back(std::forward<DestinationsT>(value));
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
101 bool m_channelHasBeenSet =
false;
102 bool m_destinationsHasBeenSet =
false;
103 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