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>
51 template<
typename CreationTimeT = Aws::Utils::DateTime>
52 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
53 template<
typename CreationTimeT = Aws::Utils::DateTime>
63 template<
typename CurrentVersionT = Aws::String>
64 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
65 template<
typename CurrentVersionT = Aws::String>
75 inline void SetIsReplicatorReference(
bool value) { m_isReplicatorReferenceHasBeenSet =
true; m_isReplicatorReference = value; }
85 template<
typename KafkaClustersSummaryT = Aws::Vector<KafkaClusterSummary>>
86 void SetKafkaClustersSummary(KafkaClustersSummaryT&& value) { m_kafkaClustersSummaryHasBeenSet =
true; m_kafkaClustersSummary = std::forward<KafkaClustersSummaryT>(value); }
87 template<
typename KafkaClustersSummaryT = Aws::Vector<KafkaClusterSummary>>
89 template<
typename KafkaClustersSummaryT = KafkaClusterSummary>
90 ReplicatorSummary&
AddKafkaClustersSummary(KafkaClustersSummaryT&& value) { m_kafkaClustersSummaryHasBeenSet =
true; m_kafkaClustersSummary.emplace_back(std::forward<KafkaClustersSummaryT>(value));
return *
this; }
99 template<
typename ReplicationInfoSummaryListT = Aws::Vector<ReplicationInfoSummary>>
100 void SetReplicationInfoSummaryList(ReplicationInfoSummaryListT&& value) { m_replicationInfoSummaryListHasBeenSet =
true; m_replicationInfoSummaryList = std::forward<ReplicationInfoSummaryListT>(value); }
101 template<
typename ReplicationInfoSummaryListT = Aws::Vector<ReplicationInfoSummary>>
103 template<
typename ReplicationInfoSummaryListT = ReplicationInfoSummary>
104 ReplicatorSummary&
AddReplicationInfoSummaryList(ReplicationInfoSummaryListT&& value) { m_replicationInfoSummaryListHasBeenSet =
true; m_replicationInfoSummaryList.emplace_back(std::forward<ReplicationInfoSummaryListT>(value));
return *
this; }
113 template<
typename ReplicatorArnT = Aws::String>
114 void SetReplicatorArn(ReplicatorArnT&& value) { m_replicatorArnHasBeenSet =
true; m_replicatorArn = std::forward<ReplicatorArnT>(value); }
115 template<
typename ReplicatorArnT = Aws::String>
125 template<
typename ReplicatorNameT = Aws::String>
126 void SetReplicatorName(ReplicatorNameT&& value) { m_replicatorNameHasBeenSet =
true; m_replicatorName = std::forward<ReplicatorNameT>(value); }
127 template<
typename ReplicatorNameT = Aws::String>
138 template<
typename ReplicatorResourceArnT = Aws::String>
139 void SetReplicatorResourceArn(ReplicatorResourceArnT&& value) { m_replicatorResourceArnHasBeenSet =
true; m_replicatorResourceArn = std::forward<ReplicatorResourceArnT>(value); }
140 template<
typename ReplicatorResourceArnT = Aws::String>
156 bool m_creationTimeHasBeenSet =
false;
159 bool m_currentVersionHasBeenSet =
false;
161 bool m_isReplicatorReference{
false};
162 bool m_isReplicatorReferenceHasBeenSet =
false;
165 bool m_kafkaClustersSummaryHasBeenSet =
false;
168 bool m_replicationInfoSummaryListHasBeenSet =
false;
171 bool m_replicatorArnHasBeenSet =
false;
174 bool m_replicatorNameHasBeenSet =
false;
177 bool m_replicatorResourceArnHasBeenSet =
false;
180 bool m_replicatorStateHasBeenSet =
false;
bool KafkaClustersSummaryHasBeenSet() const
void SetReplicatorResourceArn(ReplicatorResourceArnT &&value)
void SetReplicatorArn(ReplicatorArnT &&value)
ReplicatorSummary & WithReplicatorArn(ReplicatorArnT &&value)
AWS_KAFKA_API ReplicatorSummary()=default
ReplicatorSummary & WithCurrentVersion(CurrentVersionT &&value)
const Aws::Vector< ReplicationInfoSummary > & GetReplicationInfoSummaryList() const
ReplicatorSummary & WithReplicatorName(ReplicatorNameT &&value)
ReplicatorState GetReplicatorState() const
void SetReplicatorName(ReplicatorNameT &&value)
bool IsReplicatorReferenceHasBeenSet() const
ReplicatorSummary & WithReplicationInfoSummaryList(ReplicationInfoSummaryListT &&value)
bool ReplicatorStateHasBeenSet() const
bool ReplicationInfoSummaryListHasBeenSet() const
ReplicatorSummary & AddKafkaClustersSummary(KafkaClustersSummaryT &&value)
AWS_KAFKA_API ReplicatorSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ReplicatorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReplicatorState(ReplicatorState value)
ReplicatorSummary & WithCreationTime(CreationTimeT &&value)
ReplicatorSummary & AddReplicationInfoSummaryList(ReplicationInfoSummaryListT &&value)
const Aws::String & GetReplicatorName() const
void SetCreationTime(CreationTimeT &&value)
void SetIsReplicatorReference(bool value)
const Aws::String & GetReplicatorArn() const
void SetReplicationInfoSummaryList(ReplicationInfoSummaryListT &&value)
const Aws::String & GetCurrentVersion() const
bool CurrentVersionHasBeenSet() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicatorSummary & WithReplicatorState(ReplicatorState value)
bool ReplicatorArnHasBeenSet() const
ReplicatorSummary & WithIsReplicatorReference(bool value)
void SetCurrentVersion(CurrentVersionT &&value)
bool GetIsReplicatorReference() const
const Aws::Vector< KafkaClusterSummary > & GetKafkaClustersSummary() const
const Aws::Utils::DateTime & GetCreationTime() const
ReplicatorSummary & WithReplicatorResourceArn(ReplicatorResourceArnT &&value)
bool ReplicatorResourceArnHasBeenSet() const
void SetKafkaClustersSummary(KafkaClustersSummaryT &&value)
ReplicatorSummary & WithKafkaClustersSummary(KafkaClustersSummaryT &&value)
const Aws::String & GetReplicatorResourceArn() const
bool CreationTimeHasBeenSet() const
bool ReplicatorNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue