7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/Destination.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ChannelArnT = Aws::String>
43 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet =
true; m_channelArn = std::forward<ChannelArnT>(value); }
44 template<
typename ChannelArnT = Aws::String>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 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>
75 template<
typename DestinationsT = Aws::Vector<Destination>>
76 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
77 template<
typename DestinationsT = Aws::Vector<Destination>>
79 template<
typename DestinationsT = Destination>
86 template<
typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
88 template<
typename RequestIdT = Aws::String>
94 bool m_channelArnHasBeenSet =
false;
97 bool m_nameHasBeenSet =
false;
100 bool m_sourceHasBeenSet =
false;
103 bool m_destinationsHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetSource() const
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
UpdateChannelResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
UpdateChannelResult & WithChannelArn(ChannelArnT &&value)
UpdateChannelResult & AddDestinations(DestinationsT &&value)
UpdateChannelResult & WithSource(SourceT &&value)
void SetDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API UpdateChannelResult()=default
AWS_CLOUDTRAIL_API UpdateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSource(SourceT &&value)
AWS_CLOUDTRAIL_API UpdateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetChannelArn() const
UpdateChannelResult & WithName(NameT &&value)
const Aws::Vector< Destination > & GetDestinations() const
UpdateChannelResult & WithDestinations(DestinationsT &&value)
const Aws::String & GetName() const
void SetChannelArn(ChannelArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue