7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11#include <aws/kafka/model/ClusterOperationStep.h>
12#include <aws/kafka/model/ErrorInfo.h>
13#include <aws/kafka/model/MutableClusterInfo.h>
14#include <aws/kafka/model/VpcConnectionInfo.h>
52 template <
typename ClientRequestIdT = Aws::String>
54 m_clientRequestIdHasBeenSet =
true;
55 m_clientRequestId = std::forward<ClientRequestIdT>(value);
57 template <
typename ClientRequestIdT = Aws::String>
72 template <
typename ClusterArnT = Aws::String>
74 m_clusterArnHasBeenSet =
true;
75 m_clusterArn = std::forward<ClusterArnT>(value);
77 template <
typename ClusterArnT = Aws::String>
92 template <
typename CreationTimeT = Aws::Utils::DateTime>
94 m_creationTimeHasBeenSet =
true;
95 m_creationTime = std::forward<CreationTimeT>(value);
97 template <
typename CreationTimeT = Aws::Utils::DateTime>
112 template <
typename EndTimeT = Aws::Utils::DateTime>
114 m_endTimeHasBeenSet =
true;
115 m_endTime = std::forward<EndTimeT>(value);
117 template <
typename EndTimeT = Aws::Utils::DateTime>
132 template <
typename ErrorInfoT = ErrorInfo>
134 m_errorInfoHasBeenSet =
true;
135 m_errorInfo = std::forward<ErrorInfoT>(value);
137 template <
typename ErrorInfoT = ErrorInfo>
152 template <
typename OperationArnT = Aws::String>
154 m_operationArnHasBeenSet =
true;
155 m_operationArn = std::forward<OperationArnT>(value);
157 template <
typename OperationArnT = Aws::String>
172 template <
typename OperationStateT = Aws::String>
174 m_operationStateHasBeenSet =
true;
175 m_operationState = std::forward<OperationStateT>(value);
177 template <
typename OperationStateT = Aws::String>
192 template <
typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
194 m_operationStepsHasBeenSet =
true;
195 m_operationSteps = std::forward<OperationStepsT>(value);
197 template <
typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
202 template <
typename OperationStepsT = ClusterOperationStep>
204 m_operationStepsHasBeenSet =
true;
205 m_operationSteps.emplace_back(std::forward<OperationStepsT>(value));
218 template <
typename OperationTypeT = Aws::String>
220 m_operationTypeHasBeenSet =
true;
221 m_operationType = std::forward<OperationTypeT>(value);
223 template <
typename OperationTypeT = Aws::String>
239 template <
typename SourceClusterInfoT = MutableClusterInfo>
241 m_sourceClusterInfoHasBeenSet =
true;
242 m_sourceClusterInfo = std::forward<SourceClusterInfoT>(value);
244 template <
typename SourceClusterInfoT = MutableClusterInfo>
260 template <
typename TargetClusterInfoT = MutableClusterInfo>
262 m_targetClusterInfoHasBeenSet =
true;
263 m_targetClusterInfo = std::forward<TargetClusterInfoT>(value);
265 template <
typename TargetClusterInfoT = MutableClusterInfo>
281 template <
typename VpcConnectionInfoT = VpcConnectionInfo>
283 m_vpcConnectionInfoHasBeenSet =
true;
284 m_vpcConnectionInfo = std::forward<VpcConnectionInfoT>(value);
286 template <
typename VpcConnectionInfoT = VpcConnectionInfo>
301 ErrorInfo m_errorInfo;
311 MutableClusterInfo m_sourceClusterInfo;
313 MutableClusterInfo m_targetClusterInfo;
315 VpcConnectionInfo m_vpcConnectionInfo;
316 bool m_clientRequestIdHasBeenSet =
false;
317 bool m_clusterArnHasBeenSet =
false;
318 bool m_creationTimeHasBeenSet =
false;
319 bool m_endTimeHasBeenSet =
false;
320 bool m_errorInfoHasBeenSet =
false;
321 bool m_operationArnHasBeenSet =
false;
322 bool m_operationStateHasBeenSet =
false;
323 bool m_operationStepsHasBeenSet =
false;
324 bool m_operationTypeHasBeenSet =
false;
325 bool m_sourceClusterInfoHasBeenSet =
false;
326 bool m_targetClusterInfoHasBeenSet =
false;
327 bool m_vpcConnectionInfoHasBeenSet =
false;
bool SourceClusterInfoHasBeenSet() const
const Aws::String & GetOperationState() const
void SetClientRequestId(ClientRequestIdT &&value)
bool ClusterArnHasBeenSet() const
ClusterOperationInfo & WithErrorInfo(ErrorInfoT &&value)
AWS_KAFKA_API ClusterOperationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
ClusterOperationInfo & WithClientRequestId(ClientRequestIdT &&value)
void SetOperationType(OperationTypeT &&value)
AWS_KAFKA_API ClusterOperationInfo(Aws::Utils::Json::JsonView jsonValue)
bool EndTimeHasBeenSet() const
const Aws::String & GetClientRequestId() const
bool ClientRequestIdHasBeenSet() const
ClusterOperationInfo & WithClusterArn(ClusterArnT &&value)
AWS_KAFKA_API ClusterOperationInfo()=default
void SetTargetClusterInfo(TargetClusterInfoT &&value)
const Aws::String & GetOperationType() const
void SetClusterArn(ClusterArnT &&value)
void SetErrorInfo(ErrorInfoT &&value)
ClusterOperationInfo & WithOperationSteps(OperationStepsT &&value)
bool TargetClusterInfoHasBeenSet() const
const Aws::Vector< ClusterOperationStep > & GetOperationSteps() const
ClusterOperationInfo & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetSourceClusterInfo(SourceClusterInfoT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperationState(OperationStateT &&value)
bool OperationTypeHasBeenSet() const
bool OperationStepsHasBeenSet() const
const VpcConnectionInfo & GetVpcConnectionInfo() const
void SetVpcConnectionInfo(VpcConnectionInfoT &&value)
const ErrorInfo & GetErrorInfo() const
ClusterOperationInfo & WithSourceClusterInfo(SourceClusterInfoT &&value)
void SetCreationTime(CreationTimeT &&value)
ClusterOperationInfo & WithEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetOperationSteps(OperationStepsT &&value)
bool ErrorInfoHasBeenSet() const
const MutableClusterInfo & GetSourceClusterInfo() const
const MutableClusterInfo & GetTargetClusterInfo() const
bool OperationStateHasBeenSet() const
const Aws::String & GetOperationArn() const
void SetOperationArn(OperationArnT &&value)
bool VpcConnectionInfoHasBeenSet() const
ClusterOperationInfo & WithOperationType(OperationTypeT &&value)
ClusterOperationInfo & WithOperationArn(OperationArnT &&value)
const Aws::String & GetClusterArn() const
ClusterOperationInfo & AddOperationSteps(OperationStepsT &&value)
ClusterOperationInfo & WithOperationState(OperationStateT &&value)
void SetEndTime(EndTimeT &&value)
bool OperationArnHasBeenSet() const
ClusterOperationInfo & WithVpcConnectionInfo(VpcConnectionInfoT &&value)
ClusterOperationInfo & WithTargetClusterInfo(TargetClusterInfoT &&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