AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReplicatorResult.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/ReplicationStateInfo.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/kafka/model/KafkaClusterDescription.h>
15#include <aws/kafka/model/ReplicationInfoDescription.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Kafka
31{
32namespace Model
33{
35 {
36 public:
37 AWS_KAFKA_API DescribeReplicatorResult();
40
41
43
46 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
47 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
48 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
50 inline DescribeReplicatorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
58 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; }
59 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); }
60 inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); }
61 inline DescribeReplicatorResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
62 inline DescribeReplicatorResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
63 inline DescribeReplicatorResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
65
67
70 inline bool GetIsReplicatorReference() const{ return m_isReplicatorReference; }
71 inline void SetIsReplicatorReference(bool value) { m_isReplicatorReference = value; }
74
76
79 inline const Aws::Vector<KafkaClusterDescription>& GetKafkaClusters() const{ return m_kafkaClusters; }
80 inline void SetKafkaClusters(const Aws::Vector<KafkaClusterDescription>& value) { m_kafkaClusters = value; }
81 inline void SetKafkaClusters(Aws::Vector<KafkaClusterDescription>&& value) { m_kafkaClusters = std::move(value); }
84 inline DescribeReplicatorResult& AddKafkaClusters(const KafkaClusterDescription& value) { m_kafkaClusters.push_back(value); return *this; }
85 inline DescribeReplicatorResult& AddKafkaClusters(KafkaClusterDescription&& value) { m_kafkaClusters.push_back(std::move(value)); return *this; }
87
89
93 inline const Aws::Vector<ReplicationInfoDescription>& GetReplicationInfoList() const{ return m_replicationInfoList; }
94 inline void SetReplicationInfoList(const Aws::Vector<ReplicationInfoDescription>& value) { m_replicationInfoList = value; }
95 inline void SetReplicationInfoList(Aws::Vector<ReplicationInfoDescription>&& value) { m_replicationInfoList = std::move(value); }
98 inline DescribeReplicatorResult& AddReplicationInfoList(const ReplicationInfoDescription& value) { m_replicationInfoList.push_back(value); return *this; }
99 inline DescribeReplicatorResult& AddReplicationInfoList(ReplicationInfoDescription&& value) { m_replicationInfoList.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; }
107 inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; }
108 inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); }
109 inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); }
110 inline DescribeReplicatorResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;}
111 inline DescribeReplicatorResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;}
112 inline DescribeReplicatorResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;}
114
116
119 inline const Aws::String& GetReplicatorDescription() const{ return m_replicatorDescription; }
120 inline void SetReplicatorDescription(const Aws::String& value) { m_replicatorDescription = value; }
121 inline void SetReplicatorDescription(Aws::String&& value) { m_replicatorDescription = std::move(value); }
122 inline void SetReplicatorDescription(const char* value) { m_replicatorDescription.assign(value); }
125 inline DescribeReplicatorResult& WithReplicatorDescription(const char* value) { SetReplicatorDescription(value); return *this;}
127
129
132 inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; }
133 inline void SetReplicatorName(const Aws::String& value) { m_replicatorName = value; }
134 inline void SetReplicatorName(Aws::String&& value) { m_replicatorName = std::move(value); }
135 inline void SetReplicatorName(const char* value) { m_replicatorName.assign(value); }
136 inline DescribeReplicatorResult& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;}
137 inline DescribeReplicatorResult& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;}
138 inline DescribeReplicatorResult& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;}
140
142
146 inline const Aws::String& GetReplicatorResourceArn() const{ return m_replicatorResourceArn; }
147 inline void SetReplicatorResourceArn(const Aws::String& value) { m_replicatorResourceArn = value; }
148 inline void SetReplicatorResourceArn(Aws::String&& value) { m_replicatorResourceArn = std::move(value); }
149 inline void SetReplicatorResourceArn(const char* value) { m_replicatorResourceArn.assign(value); }
152 inline DescribeReplicatorResult& WithReplicatorResourceArn(const char* value) { SetReplicatorResourceArn(value); return *this;}
154
156
159 inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; }
160 inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; }
161 inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); }
163 inline DescribeReplicatorResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(std::move(value)); return *this;}
165
167
171 inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; }
172 inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArn = value; }
173 inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArn = std::move(value); }
174 inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArn.assign(value); }
177 inline DescribeReplicatorResult& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;}
179
181
184 inline const ReplicationStateInfo& GetStateInfo() const{ return m_stateInfo; }
185 inline void SetStateInfo(const ReplicationStateInfo& value) { m_stateInfo = value; }
186 inline void SetStateInfo(ReplicationStateInfo&& value) { m_stateInfo = std::move(value); }
187 inline DescribeReplicatorResult& WithStateInfo(const ReplicationStateInfo& value) { SetStateInfo(value); return *this;}
188 inline DescribeReplicatorResult& WithStateInfo(ReplicationStateInfo&& value) { SetStateInfo(std::move(value)); return *this;}
190
192
195 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
196 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
197 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
199 inline DescribeReplicatorResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
200 inline DescribeReplicatorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
201 inline DescribeReplicatorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
202 inline DescribeReplicatorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
203 inline DescribeReplicatorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
204 inline DescribeReplicatorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
205 inline DescribeReplicatorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
206 inline DescribeReplicatorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
208
210
211 inline const Aws::String& GetRequestId() const{ return m_requestId; }
212 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
213 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
214 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
215 inline DescribeReplicatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
216 inline DescribeReplicatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
217 inline DescribeReplicatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
219 private:
220
221 Aws::Utils::DateTime m_creationTime;
222
223 Aws::String m_currentVersion;
224
225 bool m_isReplicatorReference;
226
228
229 Aws::Vector<ReplicationInfoDescription> m_replicationInfoList;
230
231 Aws::String m_replicatorArn;
232
233 Aws::String m_replicatorDescription;
234
235 Aws::String m_replicatorName;
236
237 Aws::String m_replicatorResourceArn;
238
239 ReplicatorState m_replicatorState;
240
241 Aws::String m_serviceExecutionRoleArn;
242
243 ReplicationStateInfo m_stateInfo;
244
246
247 Aws::String m_requestId;
248 };
249
250} // namespace Model
251} // namespace Kafka
252} // namespace Aws
DescribeReplicatorResult & WithKafkaClusters(Aws::Vector< KafkaClusterDescription > &&value)
void SetReplicatorResourceArn(const Aws::String &value)
DescribeReplicatorResult & WithIsReplicatorReference(bool value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStateInfo(ReplicationStateInfo &&value)
DescribeReplicatorResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_KAFKA_API DescribeReplicatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServiceExecutionRoleArn(const Aws::String &value)
DescribeReplicatorResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeReplicatorResult & WithStateInfo(ReplicationStateInfo &&value)
void SetStateInfo(const ReplicationStateInfo &value)
DescribeReplicatorResult & WithReplicatorDescription(const Aws::String &value)
DescribeReplicatorResult & WithServiceExecutionRoleArn(Aws::String &&value)
DescribeReplicatorResult & WithReplicatorName(const Aws::String &value)
DescribeReplicatorResult & WithCurrentVersion(const Aws::String &value)
DescribeReplicatorResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_KAFKA_API DescribeReplicatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplicatorResult & WithReplicatorArn(Aws::String &&value)
DescribeReplicatorResult & WithReplicatorName(Aws::String &&value)
DescribeReplicatorResult & WithReplicatorResourceArn(const Aws::String &value)
DescribeReplicatorResult & WithStateInfo(const ReplicationStateInfo &value)
DescribeReplicatorResult & WithRequestId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeReplicatorResult & WithRequestId(const Aws::String &value)
DescribeReplicatorResult & AddKafkaClusters(const KafkaClusterDescription &value)
DescribeReplicatorResult & WithReplicatorDescription(Aws::String &&value)
const Aws::Vector< ReplicationInfoDescription > & GetReplicationInfoList() const
DescribeReplicatorResult & WithReplicatorResourceArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetReplicatorDescription(const Aws::String &value)
DescribeReplicatorResult & AddReplicationInfoList(ReplicationInfoDescription &&value)
DescribeReplicatorResult & WithReplicationInfoList(Aws::Vector< ReplicationInfoDescription > &&value)
DescribeReplicatorResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeReplicatorResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeReplicatorResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeReplicatorResult & AddTags(Aws::String &&key, const char *value)
void SetReplicatorState(const ReplicatorState &value)
DescribeReplicatorResult & WithServiceExecutionRoleArn(const Aws::String &value)
DescribeReplicatorResult & AddReplicationInfoList(const ReplicationInfoDescription &value)
DescribeReplicatorResult & WithCurrentVersion(Aws::String &&value)
void SetKafkaClusters(const Aws::Vector< KafkaClusterDescription > &value)
DescribeReplicatorResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeReplicatorResult & WithReplicatorResourceArn(Aws::String &&value)
void SetReplicationInfoList(const Aws::Vector< ReplicationInfoDescription > &value)
DescribeReplicatorResult & WithCurrentVersion(const char *value)
DescribeReplicatorResult & WithReplicatorState(ReplicatorState &&value)
DescribeReplicatorResult & WithKafkaClusters(const Aws::Vector< KafkaClusterDescription > &value)
DescribeReplicatorResult & WithReplicatorState(const ReplicatorState &value)
DescribeReplicatorResult & WithServiceExecutionRoleArn(const char *value)
const ReplicationStateInfo & GetStateInfo() const
DescribeReplicatorResult & AddKafkaClusters(KafkaClusterDescription &&value)
const Aws::Vector< KafkaClusterDescription > & GetKafkaClusters() const
DescribeReplicatorResult & WithRequestId(const char *value)
void SetReplicationInfoList(Aws::Vector< ReplicationInfoDescription > &&value)
void SetKafkaClusters(Aws::Vector< KafkaClusterDescription > &&value)
DescribeReplicatorResult & WithReplicatorName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeReplicatorResult & AddTags(const char *key, const char *value)
DescribeReplicatorResult & AddTags(const char *key, Aws::String &&value)
DescribeReplicatorResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeReplicatorResult & WithReplicatorArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeReplicatorResult & WithReplicationInfoList(const Aws::Vector< ReplicationInfoDescription > &value)
DescribeReplicatorResult & WithReplicatorArn(const Aws::String &value)
DescribeReplicatorResult & WithReplicatorDescription(const char *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