7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kafka/model/ErrorInfo.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kafka/model/MutableClusterInfo.h>
13#include <aws/kafka/model/VpcConnectionInfo.h>
14#include <aws/kafka/model/ClusterOperationStep.h>
58 template<
typename ClientRequestIdT = Aws::String>
59 void SetClientRequestId(ClientRequestIdT&& value) { m_clientRequestIdHasBeenSet =
true; m_clientRequestId = std::forward<ClientRequestIdT>(value); }
60 template<
typename ClientRequestIdT = Aws::String>
72 template<
typename ClusterArnT = Aws::String>
73 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
74 template<
typename ClusterArnT = Aws::String>
86 template<
typename CreationTimeT = Aws::Utils::DateTime>
87 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
88 template<
typename CreationTimeT = Aws::Utils::DateTime>
100 template<
typename EndTimeT = Aws::Utils::DateTime>
101 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
102 template<
typename EndTimeT = Aws::Utils::DateTime>
114 template<
typename ErrorInfoT = ErrorInfo>
115 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo = std::forward<ErrorInfoT>(value); }
116 template<
typename ErrorInfoT = ErrorInfo>
128 template<
typename OperationArnT = Aws::String>
129 void SetOperationArn(OperationArnT&& value) { m_operationArnHasBeenSet =
true; m_operationArn = std::forward<OperationArnT>(value); }
130 template<
typename OperationArnT = Aws::String>
142 template<
typename OperationStateT = Aws::String>
143 void SetOperationState(OperationStateT&& value) { m_operationStateHasBeenSet =
true; m_operationState = std::forward<OperationStateT>(value); }
144 template<
typename OperationStateT = Aws::String>
156 template<
typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
157 void SetOperationSteps(OperationStepsT&& value) { m_operationStepsHasBeenSet =
true; m_operationSteps = std::forward<OperationStepsT>(value); }
158 template<
typename OperationStepsT = Aws::Vector<ClusterOperationStep>>
160 template<
typename OperationStepsT = ClusterOperationStep>
172 template<
typename OperationTypeT = Aws::String>
173 void SetOperationType(OperationTypeT&& value) { m_operationTypeHasBeenSet =
true; m_operationType = std::forward<OperationTypeT>(value); }
174 template<
typename OperationTypeT = Aws::String>
187 template<
typename SourceClusterInfoT = MutableClusterInfo>
188 void SetSourceClusterInfo(SourceClusterInfoT&& value) { m_sourceClusterInfoHasBeenSet =
true; m_sourceClusterInfo = std::forward<SourceClusterInfoT>(value); }
189 template<
typename SourceClusterInfoT = MutableClusterInfo>
202 template<
typename TargetClusterInfoT = MutableClusterInfo>
203 void SetTargetClusterInfo(TargetClusterInfoT&& value) { m_targetClusterInfoHasBeenSet =
true; m_targetClusterInfo = std::forward<TargetClusterInfoT>(value); }
204 template<
typename TargetClusterInfoT = MutableClusterInfo>
217 template<
typename VpcConnectionInfoT = VpcConnectionInfo>
218 void SetVpcConnectionInfo(VpcConnectionInfoT&& value) { m_vpcConnectionInfoHasBeenSet =
true; m_vpcConnectionInfo = std::forward<VpcConnectionInfoT>(value); }
219 template<
typename VpcConnectionInfoT = VpcConnectionInfo>
225 bool m_clientRequestIdHasBeenSet =
false;
228 bool m_clusterArnHasBeenSet =
false;
231 bool m_creationTimeHasBeenSet =
false;
234 bool m_endTimeHasBeenSet =
false;
236 ErrorInfo m_errorInfo;
237 bool m_errorInfoHasBeenSet =
false;
240 bool m_operationArnHasBeenSet =
false;
243 bool m_operationStateHasBeenSet =
false;
246 bool m_operationStepsHasBeenSet =
false;
249 bool m_operationTypeHasBeenSet =
false;
251 MutableClusterInfo m_sourceClusterInfo;
252 bool m_sourceClusterInfoHasBeenSet =
false;
254 MutableClusterInfo m_targetClusterInfo;
255 bool m_targetClusterInfoHasBeenSet =
false;
257 VpcConnectionInfo m_vpcConnectionInfo;
258 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