7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/Destination.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename ChannelArnT = Aws::String>
38 m_channelArnHasBeenSet =
true;
39 m_channelArn = std::forward<ChannelArnT>(value);
41 template <
typename ChannelArnT = Aws::String>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
70 template <
typename SourceT = Aws::String>
72 m_sourceHasBeenSet =
true;
73 m_source = std::forward<SourceT>(value);
75 template <
typename SourceT = Aws::String>
87 template <
typename DestinationsT = Aws::Vector<Destination>>
89 m_destinationsHasBeenSet =
true;
90 m_destinations = std::forward<DestinationsT>(value);
92 template <
typename DestinationsT = Aws::Vector<Destination>>
97 template <
typename DestinationsT = Destination>
99 m_destinationsHasBeenSet =
true;
100 m_destinations.emplace_back(std::forward<DestinationsT>(value));
108 template <
typename RequestIdT = Aws::String>
110 m_requestIdHasBeenSet =
true;
111 m_requestId = std::forward<RequestIdT>(value);
113 template <
typename RequestIdT = Aws::String>
129 bool m_channelArnHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
131 bool m_sourceHasBeenSet =
false;
132 bool m_destinationsHasBeenSet =
false;
133 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