AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationInfoDescription.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/ConsumerGroupReplication.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/model/TargetCompressionType.h>
11#include <aws/kafka/model/TopicReplication.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Kafka
25{
26namespace Model
27{
28
37 {
38 public:
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ConsumerGroupReplication& GetConsumerGroupReplication() const{ return m_consumerGroupReplication; }
50 inline bool ConsumerGroupReplicationHasBeenSet() const { return m_consumerGroupReplicationHasBeenSet; }
51 inline void SetConsumerGroupReplication(const ConsumerGroupReplication& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = value; }
52 inline void SetConsumerGroupReplication(ConsumerGroupReplication&& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = std::move(value); }
56
58
61 inline const Aws::String& GetSourceKafkaClusterAlias() const{ return m_sourceKafkaClusterAlias; }
62 inline bool SourceKafkaClusterAliasHasBeenSet() const { return m_sourceKafkaClusterAliasHasBeenSet; }
63 inline void SetSourceKafkaClusterAlias(const Aws::String& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = value; }
64 inline void SetSourceKafkaClusterAlias(Aws::String&& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = std::move(value); }
65 inline void SetSourceKafkaClusterAlias(const char* value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias.assign(value); }
68 inline ReplicationInfoDescription& WithSourceKafkaClusterAlias(const char* value) { SetSourceKafkaClusterAlias(value); return *this;}
70
72
75 inline const TargetCompressionType& GetTargetCompressionType() const{ return m_targetCompressionType; }
76 inline bool TargetCompressionTypeHasBeenSet() const { return m_targetCompressionTypeHasBeenSet; }
77 inline void SetTargetCompressionType(const TargetCompressionType& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = value; }
78 inline void SetTargetCompressionType(TargetCompressionType&& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = std::move(value); }
82
84
87 inline const Aws::String& GetTargetKafkaClusterAlias() const{ return m_targetKafkaClusterAlias; }
88 inline bool TargetKafkaClusterAliasHasBeenSet() const { return m_targetKafkaClusterAliasHasBeenSet; }
89 inline void SetTargetKafkaClusterAlias(const Aws::String& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = value; }
90 inline void SetTargetKafkaClusterAlias(Aws::String&& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = std::move(value); }
91 inline void SetTargetKafkaClusterAlias(const char* value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias.assign(value); }
94 inline ReplicationInfoDescription& WithTargetKafkaClusterAlias(const char* value) { SetTargetKafkaClusterAlias(value); return *this;}
96
98
101 inline const TopicReplication& GetTopicReplication() const{ return m_topicReplication; }
102 inline bool TopicReplicationHasBeenSet() const { return m_topicReplicationHasBeenSet; }
103 inline void SetTopicReplication(const TopicReplication& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = value; }
104 inline void SetTopicReplication(TopicReplication&& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = std::move(value); }
106 inline ReplicationInfoDescription& WithTopicReplication(TopicReplication&& value) { SetTopicReplication(std::move(value)); return *this;}
108 private:
109
110 ConsumerGroupReplication m_consumerGroupReplication;
111 bool m_consumerGroupReplicationHasBeenSet = false;
112
113 Aws::String m_sourceKafkaClusterAlias;
114 bool m_sourceKafkaClusterAliasHasBeenSet = false;
115
116 TargetCompressionType m_targetCompressionType;
117 bool m_targetCompressionTypeHasBeenSet = false;
118
119 Aws::String m_targetKafkaClusterAlias;
120 bool m_targetKafkaClusterAliasHasBeenSet = false;
121
122 TopicReplication m_topicReplication;
123 bool m_topicReplicationHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Kafka
128} // namespace Aws
void SetTargetCompressionType(const TargetCompressionType &value)
ReplicationInfoDescription & WithConsumerGroupReplication(const ConsumerGroupReplication &value)
ReplicationInfoDescription & WithTopicReplication(TopicReplication &&value)
ReplicationInfoDescription & WithTargetCompressionType(const TargetCompressionType &value)
ReplicationInfoDescription & WithConsumerGroupReplication(ConsumerGroupReplication &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConsumerGroupReplication(ConsumerGroupReplication &&value)
ReplicationInfoDescription & WithSourceKafkaClusterAlias(Aws::String &&value)
const TargetCompressionType & GetTargetCompressionType() const
ReplicationInfoDescription & WithTargetCompressionType(TargetCompressionType &&value)
const ConsumerGroupReplication & GetConsumerGroupReplication() const
ReplicationInfoDescription & WithTargetKafkaClusterAlias(Aws::String &&value)
ReplicationInfoDescription & WithTopicReplication(const TopicReplication &value)
void SetTopicReplication(const TopicReplication &value)
AWS_KAFKA_API ReplicationInfoDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationInfoDescription & WithSourceKafkaClusterAlias(const Aws::String &value)
ReplicationInfoDescription & WithTargetKafkaClusterAlias(const char *value)
void SetTargetCompressionType(TargetCompressionType &&value)
AWS_KAFKA_API ReplicationInfoDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicationInfoDescription & WithSourceKafkaClusterAlias(const char *value)
ReplicationInfoDescription & WithTargetKafkaClusterAlias(const Aws::String &value)
void SetConsumerGroupReplication(const ConsumerGroupReplication &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue