7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kafka/KafkaRequest.h>
11#include <aws/kafka/Kafka_EXPORTS.h>
12#include <aws/kafka/model/ChannelLoggingInfo.h>
13#include <aws/kafka/model/EncryptionConfiguration.h>
14#include <aws/kafka/model/IcebergDestinationConfiguration.h>
15#include <aws/kafka/model/S3DestinationConfiguration.h>
16#include <aws/kafka/model/TopicConfiguration.h>
48 template <
typename ChannelNameT = Aws::String>
50 m_channelNameHasBeenSet =
true;
51 m_channelName = std::forward<ChannelNameT>(value);
53 template <
typename ChannelNameT = Aws::String>
69 template <
typename ClusterArnT = Aws::String>
71 m_clusterArnHasBeenSet =
true;
72 m_clusterArn = std::forward<ClusterArnT>(value);
74 template <
typename ClusterArnT = Aws::String>
87 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
89 m_encryptionConfigurationHasBeenSet =
true;
90 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
92 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>
125 template <
typename S3DestinationConfigurationT = S3DestinationConfiguration>
127 m_s3DestinationConfigurationHasBeenSet =
true;
128 m_s3DestinationConfiguration = std::forward<S3DestinationConfigurationT>(value);
130 template <
typename S3DestinationConfigurationT = S3DestinationConfiguration>
143 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 m_tagsHasBeenSet =
true;
146 m_tags = std::forward<TagsT>(value);
148 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 SetTags(std::forward<TagsT>(value));
153 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
155 m_tagsHasBeenSet =
true;
156 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 template <
typename TopicConfigurationListT = Aws::Vector<TopicConfiguration>>
170 m_topicConfigurationListHasBeenSet =
true;
171 m_topicConfigurationList = std::forward<TopicConfigurationListT>(value);
173 template <
typename TopicConfigurationListT = Aws::Vector<TopicConfiguration>>
178 template <
typename TopicConfigurationListT = TopicConfiguration>
180 m_topicConfigurationListHasBeenSet =
true;
181 m_topicConfigurationList.emplace_back(std::forward<TopicConfigurationListT>(value));
192 template <
typename LoggingInfoT = ChannelLoggingInfo>
194 m_loggingInfoHasBeenSet =
true;
195 m_loggingInfo = std::forward<LoggingInfoT>(value);
197 template <
typename LoggingInfoT = ChannelLoggingInfo>
219 bool m_channelNameHasBeenSet =
false;
220 bool m_clusterArnHasBeenSet =
false;
221 bool m_encryptionConfigurationHasBeenSet =
false;
222 bool m_icebergDestinationConfigurationHasBeenSet =
false;
223 bool m_s3DestinationConfigurationHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
225 bool m_topicConfigurationListHasBeenSet =
false;
226 bool m_loggingInfoHasBeenSet =
false;
AWS_KAFKA_API Aws::String SerializePayload() const override
bool ChannelNameHasBeenSet() const
bool ClusterArnHasBeenSet() const
void SetLoggingInfo(LoggingInfoT &&value)
CreateChannelRequest & AddTopicConfigurationList(TopicConfigurationListT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool IcebergDestinationConfigurationHasBeenSet() const
bool LoggingInfoHasBeenSet() const
void SetS3DestinationConfiguration(S3DestinationConfigurationT &&value)
void SetIcebergDestinationConfiguration(IcebergDestinationConfigurationT &&value)
void SetTopicConfigurationList(TopicConfigurationListT &&value)
CreateChannelRequest & WithTags(TagsT &&value)
void SetChannelName(ChannelNameT &&value)
CreateChannelRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
bool TagsHasBeenSet() const
void SetClusterArn(ClusterArnT &&value)
virtual const char * GetServiceRequestName() const override
CreateChannelRequest & WithIcebergDestinationConfiguration(IcebergDestinationConfigurationT &&value)
bool TopicConfigurationListHasBeenSet() const
CreateChannelRequest & WithS3DestinationConfiguration(S3DestinationConfigurationT &&value)
CreateChannelRequest & WithTopicConfigurationList(TopicConfigurationListT &&value)
const Aws::String & GetClusterArn() const
AWS_KAFKA_API CreateChannelRequest()=default
CreateChannelRequest & WithClusterArn(ClusterArnT &&value)
CreateChannelRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const S3DestinationConfiguration & GetS3DestinationConfiguration() const
CreateChannelRequest & WithLoggingInfo(LoggingInfoT &&value)
const Aws::Vector< TopicConfiguration > & GetTopicConfigurationList() const
bool S3DestinationConfigurationHasBeenSet() const
const Aws::String & GetChannelName() const
const ChannelLoggingInfo & GetLoggingInfo() const
const IcebergDestinationConfiguration & GetIcebergDestinationConfiguration() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateChannelRequest & WithChannelName(ChannelNameT &&value)
bool EncryptionConfigurationHasBeenSet() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
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