7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/Destination.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ChannelArnT = Aws::String>
39 m_channelArnHasBeenSet =
true;
40 m_channelArn = std::forward<ChannelArnT>(value);
42 template <
typename ChannelArnT = Aws::String>
54 template <
typename NameT = Aws::String>
56 m_nameHasBeenSet =
true;
57 m_name = std::forward<NameT>(value);
59 template <
typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
71 template <
typename SourceT = Aws::String>
73 m_sourceHasBeenSet =
true;
74 m_source = std::forward<SourceT>(value);
76 template <
typename SourceT = Aws::String>
88 template <
typename DestinationsT = Aws::Vector<Destination>>
90 m_destinationsHasBeenSet =
true;
91 m_destinations = std::forward<DestinationsT>(value);
93 template <
typename DestinationsT = Aws::Vector<Destination>>
98 template <
typename DestinationsT = Destination>
100 m_destinationsHasBeenSet =
true;
101 m_destinations.emplace_back(std::forward<DestinationsT>(value));
109 template <
typename RequestIdT = Aws::String>
111 m_requestIdHasBeenSet =
true;
112 m_requestId = std::forward<RequestIdT>(value);
114 template <
typename RequestIdT = Aws::String>
133 bool m_channelArnHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
135 bool m_sourceHasBeenSet =
false;
136 bool m_destinationsHasBeenSet =
false;
137 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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