AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicatorSummary.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/model/ReplicatorState.h>
12#include <aws/kafka/model/KafkaClusterSummary.h>
13#include <aws/kafka/model/ReplicationInfoSummary.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Kafka
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_KAFKA_API ReplicatorSummary();
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
50 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
51 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
52 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
53 inline ReplicatorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
54 inline ReplicatorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
62 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
63 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
64 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
65 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
66 inline ReplicatorSummary& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
67 inline ReplicatorSummary& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
68 inline ReplicatorSummary& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
70
72
75 inline bool GetIsReplicatorReference() const{ return m_isReplicatorReference; }
76 inline bool IsReplicatorReferenceHasBeenSet() const { return m_isReplicatorReferenceHasBeenSet; }
77 inline void SetIsReplicatorReference(bool value) { m_isReplicatorReferenceHasBeenSet = true; m_isReplicatorReference = value; }
78 inline ReplicatorSummary& WithIsReplicatorReference(bool value) { SetIsReplicatorReference(value); return *this;}
80
82
85 inline const Aws::Vector<KafkaClusterSummary>& GetKafkaClustersSummary() const{ return m_kafkaClustersSummary; }
86 inline bool KafkaClustersSummaryHasBeenSet() const { return m_kafkaClustersSummaryHasBeenSet; }
87 inline void SetKafkaClustersSummary(const Aws::Vector<KafkaClusterSummary>& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary = value; }
88 inline void SetKafkaClustersSummary(Aws::Vector<KafkaClusterSummary>&& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary = std::move(value); }
91 inline ReplicatorSummary& AddKafkaClustersSummary(const KafkaClusterSummary& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary.push_back(value); return *this; }
92 inline ReplicatorSummary& AddKafkaClustersSummary(KafkaClusterSummary&& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary.push_back(std::move(value)); return *this; }
94
96
99 inline const Aws::Vector<ReplicationInfoSummary>& GetReplicationInfoSummaryList() const{ return m_replicationInfoSummaryList; }
100 inline bool ReplicationInfoSummaryListHasBeenSet() const { return m_replicationInfoSummaryListHasBeenSet; }
101 inline void SetReplicationInfoSummaryList(const Aws::Vector<ReplicationInfoSummary>& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList = value; }
102 inline void SetReplicationInfoSummaryList(Aws::Vector<ReplicationInfoSummary>&& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList = std::move(value); }
105 inline ReplicatorSummary& AddReplicationInfoSummaryList(const ReplicationInfoSummary& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList.push_back(value); return *this; }
106 inline ReplicatorSummary& AddReplicationInfoSummaryList(ReplicationInfoSummary&& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; }
114 inline bool ReplicatorArnHasBeenSet() const { return m_replicatorArnHasBeenSet; }
115 inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = value; }
116 inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = std::move(value); }
117 inline void SetReplicatorArn(const char* value) { m_replicatorArnHasBeenSet = true; m_replicatorArn.assign(value); }
118 inline ReplicatorSummary& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;}
119 inline ReplicatorSummary& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;}
120 inline ReplicatorSummary& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;}
122
124
127 inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; }
128 inline bool ReplicatorNameHasBeenSet() const { return m_replicatorNameHasBeenSet; }
129 inline void SetReplicatorName(const Aws::String& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = value; }
130 inline void SetReplicatorName(Aws::String&& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = std::move(value); }
131 inline void SetReplicatorName(const char* value) { m_replicatorNameHasBeenSet = true; m_replicatorName.assign(value); }
132 inline ReplicatorSummary& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;}
133 inline ReplicatorSummary& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;}
134 inline ReplicatorSummary& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;}
136
138
142 inline const Aws::String& GetReplicatorResourceArn() const{ return m_replicatorResourceArn; }
143 inline bool ReplicatorResourceArnHasBeenSet() const { return m_replicatorResourceArnHasBeenSet; }
144 inline void SetReplicatorResourceArn(const Aws::String& value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn = value; }
145 inline void SetReplicatorResourceArn(Aws::String&& value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn = std::move(value); }
146 inline void SetReplicatorResourceArn(const char* value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn.assign(value); }
148 inline ReplicatorSummary& WithReplicatorResourceArn(Aws::String&& value) { SetReplicatorResourceArn(std::move(value)); return *this;}
149 inline ReplicatorSummary& WithReplicatorResourceArn(const char* value) { SetReplicatorResourceArn(value); return *this;}
151
153
156 inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; }
157 inline bool ReplicatorStateHasBeenSet() const { return m_replicatorStateHasBeenSet; }
158 inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorStateHasBeenSet = true; m_replicatorState = value; }
159 inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorStateHasBeenSet = true; m_replicatorState = std::move(value); }
160 inline ReplicatorSummary& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;}
161 inline ReplicatorSummary& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(std::move(value)); return *this;}
163 private:
164
165 Aws::Utils::DateTime m_creationTime;
166 bool m_creationTimeHasBeenSet = false;
167
168 Aws::String m_currentVersion;
169 bool m_currentVersionHasBeenSet = false;
170
171 bool m_isReplicatorReference;
172 bool m_isReplicatorReferenceHasBeenSet = false;
173
174 Aws::Vector<KafkaClusterSummary> m_kafkaClustersSummary;
175 bool m_kafkaClustersSummaryHasBeenSet = false;
176
177 Aws::Vector<ReplicationInfoSummary> m_replicationInfoSummaryList;
178 bool m_replicationInfoSummaryListHasBeenSet = false;
179
180 Aws::String m_replicatorArn;
181 bool m_replicatorArnHasBeenSet = false;
182
183 Aws::String m_replicatorName;
184 bool m_replicatorNameHasBeenSet = false;
185
186 Aws::String m_replicatorResourceArn;
187 bool m_replicatorResourceArnHasBeenSet = false;
188
189 ReplicatorState m_replicatorState;
190 bool m_replicatorStateHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Kafka
195} // namespace Aws
ReplicatorSummary & AddReplicationInfoSummaryList(const ReplicationInfoSummary &value)
ReplicatorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ReplicatorSummary & WithReplicatorResourceArn(const char *value)
const Aws::Vector< ReplicationInfoSummary > & GetReplicationInfoSummaryList() const
ReplicatorSummary & WithCurrentVersion(Aws::String &&value)
void SetReplicatorArn(const Aws::String &value)
ReplicatorSummary & WithReplicatorResourceArn(const Aws::String &value)
void SetCurrentVersion(const char *value)
const ReplicatorState & GetReplicatorState() const
AWS_KAFKA_API ReplicatorSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ReplicatorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetReplicatorArn(Aws::String &&value)
ReplicatorSummary & WithReplicatorArn(const char *value)
const Aws::String & GetReplicatorName() const
void SetReplicationInfoSummaryList(Aws::Vector< ReplicationInfoSummary > &&value)
void SetReplicatorResourceArn(const char *value)
const Aws::String & GetReplicatorArn() const
void SetCurrentVersion(Aws::String &&value)
void SetKafkaClustersSummary(Aws::Vector< KafkaClusterSummary > &&value)
void SetReplicatorName(const Aws::String &value)
const Aws::String & GetCurrentVersion() const
ReplicatorSummary & WithCurrentVersion(const char *value)
ReplicatorSummary & WithReplicatorState(ReplicatorState &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicationInfoSummaryList(const Aws::Vector< ReplicationInfoSummary > &value)
ReplicatorSummary & WithReplicatorName(const char *value)
ReplicatorSummary & AddKafkaClustersSummary(const KafkaClusterSummary &value)
void SetReplicatorState(const ReplicatorState &value)
ReplicatorSummary & WithIsReplicatorReference(bool value)
ReplicatorSummary & WithReplicatorName(const Aws::String &value)
ReplicatorSummary & AddReplicationInfoSummaryList(ReplicationInfoSummary &&value)
ReplicatorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ReplicatorSummary & WithReplicatorResourceArn(Aws::String &&value)
const Aws::Vector< KafkaClusterSummary > & GetKafkaClustersSummary() const
void SetReplicatorState(ReplicatorState &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ReplicatorSummary & WithReplicatorArn(const Aws::String &value)
void SetReplicatorResourceArn(const Aws::String &value)
ReplicatorSummary & WithReplicationInfoSummaryList(Aws::Vector< ReplicationInfoSummary > &&value)
void SetReplicatorResourceArn(Aws::String &&value)
ReplicatorSummary & WithReplicatorName(Aws::String &&value)
ReplicatorSummary & WithKafkaClustersSummary(Aws::Vector< KafkaClusterSummary > &&value)
void SetKafkaClustersSummary(const Aws::Vector< KafkaClusterSummary > &value)
void SetCurrentVersion(const Aws::String &value)
ReplicatorSummary & WithReplicatorArn(Aws::String &&value)
const Aws::String & GetReplicatorResourceArn() const
ReplicatorSummary & WithKafkaClustersSummary(const Aws::Vector< KafkaClusterSummary > &value)
void SetReplicatorName(const char *value)
ReplicatorSummary & WithReplicatorState(const ReplicatorState &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ReplicatorSummary & WithReplicationInfoSummaryList(const Aws::Vector< ReplicationInfoSummary > &value)
void SetReplicatorName(Aws::String &&value)
ReplicatorSummary & AddKafkaClustersSummary(KafkaClusterSummary &&value)
ReplicatorSummary & WithCurrentVersion(const Aws::String &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