7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kafka/Kafka_EXPORTS.h>
13#include <aws/kafka/model/ChannelDestinationType.h>
14#include <aws/kafka/model/ChannelLoggingInfo.h>
15#include <aws/kafka/model/ChannelStateInfo.h>
16#include <aws/kafka/model/ChannelStatus.h>
17#include <aws/kafka/model/EncryptionConfiguration.h>
18#include <aws/kafka/model/IcebergDestinationConfiguration.h>
19#include <aws/kafka/model/S3DestinationConfiguration.h>
20#include <aws/kafka/model/TopicConfiguration.h>
25template <
typename RESULT_TYPE>
26class AmazonWebServiceResult;
55 template <
typename ChannelArnT = Aws::String>
57 m_channelArnHasBeenSet =
true;
58 m_channelArn = std::forward<ChannelArnT>(value);
60 template <
typename ChannelArnT = Aws::String>
72 template <
typename ChannelNameT = Aws::String>
74 m_channelNameHasBeenSet =
true;
75 m_channelName = std::forward<ChannelNameT>(value);
77 template <
typename ChannelNameT = Aws::String>
89 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
91 m_encryptionConfigurationHasBeenSet =
true;
92 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
94 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
106 template <
typename IcebergDestinationConfigurationT = IcebergDestinationConfiguration>
108 m_icebergDestinationConfigurationHasBeenSet =
true;
109 m_icebergDestinationConfiguration = std::forward<IcebergDestinationConfigurationT>(value);
111 template <
typename IcebergDestinationConfigurationT = IcebergDestinationConfiguration>
123 template <
typename S3DestinationConfigurationT = S3DestinationConfiguration>
125 m_s3DestinationConfigurationHasBeenSet =
true;
126 m_s3DestinationConfiguration = std::forward<S3DestinationConfigurationT>(value);
128 template <
typename S3DestinationConfigurationT = S3DestinationConfiguration>
141 m_statusHasBeenSet =
true;
156 m_destinationTypeHasBeenSet =
true;
157 m_destinationType = value;
172 template <
typename CreationTimeT = Aws::Utils::DateTime>
174 m_creationTimeHasBeenSet =
true;
175 m_creationTime = std::forward<CreationTimeT>(value);
177 template <
typename CreationTimeT = Aws::Utils::DateTime>
189 template <
typename TopicConfigurationListT = Aws::Vector<TopicConfiguration>>
191 m_topicConfigurationListHasBeenSet =
true;
192 m_topicConfigurationList = std::forward<TopicConfigurationListT>(value);
194 template <
typename TopicConfigurationListT = Aws::Vector<TopicConfiguration>>
199 template <
typename TopicConfigurationListT = TopicConfiguration>
201 m_topicConfigurationListHasBeenSet =
true;
202 m_topicConfigurationList.emplace_back(std::forward<TopicConfigurationListT>(value));
212 template <
typename LoggingInfoT = ChannelLoggingInfo>
214 m_loggingInfoHasBeenSet =
true;
215 m_loggingInfo = std::forward<LoggingInfoT>(value);
217 template <
typename LoggingInfoT = ChannelLoggingInfo>
230 template <
typename StateInfoT = ChannelStateInfo>
232 m_stateInfoHasBeenSet =
true;
233 m_stateInfo = std::forward<StateInfoT>(value);
235 template <
typename StateInfoT = ChannelStateInfo>
248 template <
typename ClusterOperationArnT = Aws::String>
250 m_clusterOperationArnHasBeenSet =
true;
251 m_clusterOperationArn = std::forward<ClusterOperationArnT>(value);
253 template <
typename ClusterOperationArnT = Aws::String>
265 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
267 m_tagsHasBeenSet =
true;
268 m_tags = std::forward<TagsT>(value);
270 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
272 SetTags(std::forward<TagsT>(value));
275 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
277 m_tagsHasBeenSet =
true;
278 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
286 template <
typename RequestIdT = Aws::String>
288 m_requestIdHasBeenSet =
true;
289 m_requestId = std::forward<RequestIdT>(value);
291 template <
typename RequestIdT = Aws::String>
318 ChannelLoggingInfo m_loggingInfo;
320 ChannelStateInfo m_stateInfo;
328 bool m_channelArnHasBeenSet =
false;
329 bool m_channelNameHasBeenSet =
false;
330 bool m_encryptionConfigurationHasBeenSet =
false;
331 bool m_icebergDestinationConfigurationHasBeenSet =
false;
332 bool m_s3DestinationConfigurationHasBeenSet =
false;
333 bool m_statusHasBeenSet =
false;
334 bool m_destinationTypeHasBeenSet =
false;
335 bool m_creationTimeHasBeenSet =
false;
336 bool m_topicConfigurationListHasBeenSet =
false;
337 bool m_loggingInfoHasBeenSet =
false;
338 bool m_stateInfoHasBeenSet =
false;
339 bool m_clusterOperationArnHasBeenSet =
false;
340 bool m_tagsHasBeenSet =
false;
341 bool m_requestIdHasBeenSet =
false;
DescribeChannelResult & AddTopicConfigurationList(TopicConfigurationListT &&value)
DescribeChannelResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeChannelResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationList() const
const S3DestinationConfiguration & GetS3DestinationConfiguration() const
void SetTopicConfigurationList(TopicConfigurationListT &&value)
void SetChannelArn(ChannelArnT &&value)
void SetTags(TagsT &&value)
DescribeChannelResult & WithDestinationType(ChannelDestinationType value)
const ChannelStateInfo & GetStateInfo() const
DescribeChannelResult & WithChannelArn(ChannelArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetClusterOperationArn() const
const Aws::String & GetChannelName() const
DescribeChannelResult & WithTags(TagsT &&value)
DescribeChannelResult & WithClusterOperationArn(ClusterOperationArnT &&value)
DescribeChannelResult & WithStateInfo(StateInfoT &&value)
void SetIcebergDestinationConfiguration(IcebergDestinationConfigurationT &&value)
ChannelDestinationType GetDestinationType() const
DescribeChannelResult & WithLoggingInfo(LoggingInfoT &&value)
DescribeChannelResult & WithChannelName(ChannelNameT &&value)
void SetLoggingInfo(LoggingInfoT &&value)
DescribeChannelResult & WithIcebergDestinationConfiguration(IcebergDestinationConfigurationT &&value)
AWS_KAFKA_API DescribeChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(CreationTimeT &&value)
AWS_KAFKA_API DescribeChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDestinationType(ChannelDestinationType value)
void SetRequestId(RequestIdT &&value)
const IcebergDestinationConfiguration & GetIcebergDestinationConfiguration() const
void SetS3DestinationConfiguration(S3DestinationConfigurationT &&value)
const ChannelLoggingInfo & GetLoggingInfo() const
DescribeChannelResult & WithS3DestinationConfiguration(S3DestinationConfigurationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeChannelResult & WithRequestId(RequestIdT &&value)
void SetStateInfo(StateInfoT &&value)
const Aws::String & GetRequestId() const
void SetChannelName(ChannelNameT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
DescribeChannelResult & WithCreationTime(CreationTimeT &&value)
void SetClusterOperationArn(ClusterOperationArnT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetChannelArn() const
DescribeChannelResult & WithStatus(ChannelStatus value)
void SetStatus(ChannelStatus value)
ChannelStatus GetStatus() const
AWS_KAFKA_API DescribeChannelResult()=default
DescribeChannelResult & WithTopicConfigurationList(TopicConfigurationListT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue