7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ClusterOperationV2Provisioned.h>
11#include <aws/kafka/model/ClusterOperationV2Serverless.h>
12#include <aws/kafka/model/ClusterType.h>
13#include <aws/kafka/model/ErrorInfo.h>
48 template <
typename ClusterArnT = Aws::String>
50 m_clusterArnHasBeenSet =
true;
51 m_clusterArn = std::forward<ClusterArnT>(value);
53 template <
typename ClusterArnT = Aws::String>
68 m_clusterTypeHasBeenSet =
true;
69 m_clusterType = value;
84 template <
typename StartTimeT = Aws::Utils::DateTime>
86 m_startTimeHasBeenSet =
true;
87 m_startTime = std::forward<StartTimeT>(value);
89 template <
typename StartTimeT = Aws::Utils::DateTime>
103 template <
typename EndTimeT = Aws::Utils::DateTime>
105 m_endTimeHasBeenSet =
true;
106 m_endTime = std::forward<EndTimeT>(value);
108 template <
typename EndTimeT = Aws::Utils::DateTime>
123 template <
typename ErrorInfoT = ErrorInfo>
125 m_errorInfoHasBeenSet =
true;
126 m_errorInfo = std::forward<ErrorInfoT>(value);
128 template <
typename ErrorInfoT = ErrorInfo>
142 template <
typename OperationArnT = Aws::String>
144 m_operationArnHasBeenSet =
true;
145 m_operationArn = std::forward<OperationArnT>(value);
147 template <
typename OperationArnT = Aws::String>
161 template <
typename OperationStateT = Aws::String>
163 m_operationStateHasBeenSet =
true;
164 m_operationState = std::forward<OperationStateT>(value);
166 template <
typename OperationStateT = Aws::String>
180 template <
typename OperationTypeT = Aws::String>
182 m_operationTypeHasBeenSet =
true;
183 m_operationType = std::forward<OperationTypeT>(value);
185 template <
typename OperationTypeT = Aws::String>
199 template <
typename ProvisionedT = ClusterOperationV2Provisioned>
201 m_provisionedHasBeenSet =
true;
202 m_provisioned = std::forward<ProvisionedT>(value);
204 template <
typename ProvisionedT = ClusterOperationV2Provisioned>
218 template <
typename ServerlessT = ClusterOperationV2Serverless>
220 m_serverlessHasBeenSet =
true;
221 m_serverless = std::forward<ServerlessT>(value);
223 template <
typename ServerlessT = ClusterOperationV2Serverless>
238 ErrorInfo m_errorInfo;
246 ClusterOperationV2Provisioned m_provisioned;
248 ClusterOperationV2Serverless m_serverless;
249 bool m_clusterArnHasBeenSet =
false;
250 bool m_clusterTypeHasBeenSet =
false;
251 bool m_startTimeHasBeenSet =
false;
252 bool m_endTimeHasBeenSet =
false;
253 bool m_errorInfoHasBeenSet =
false;
254 bool m_operationArnHasBeenSet =
false;
255 bool m_operationStateHasBeenSet =
false;
256 bool m_operationTypeHasBeenSet =
false;
257 bool m_provisionedHasBeenSet =
false;
258 bool m_serverlessHasBeenSet =
false;
ClusterOperationV2 & WithClusterType(ClusterType value)
bool ServerlessHasBeenSet() const
bool OperationTypeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
ClusterOperationV2 & WithOperationState(OperationStateT &&value)
bool ClusterTypeHasBeenSet() const
ClusterOperationV2 & WithClusterArn(ClusterArnT &&value)
void SetClusterArn(ClusterArnT &&value)
AWS_KAFKA_API ClusterOperationV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterType GetClusterType() const
bool EndTimeHasBeenSet() const
void SetOperationArn(OperationArnT &&value)
void SetClusterType(ClusterType value)
const Aws::Utils::DateTime & GetStartTime() const
void SetOperationType(OperationTypeT &&value)
const ClusterOperationV2Provisioned & GetProvisioned() const
ClusterOperationV2 & WithEndTime(EndTimeT &&value)
const ClusterOperationV2Serverless & GetServerless() const
bool OperationArnHasBeenSet() const
void SetProvisioned(ProvisionedT &&value)
const Aws::String & GetClusterArn() const
bool ProvisionedHasBeenSet() const
bool OperationStateHasBeenSet() const
AWS_KAFKA_API ClusterOperationV2()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationV2 & WithOperationType(OperationTypeT &&value)
ClusterOperationV2 & WithOperationArn(OperationArnT &&value)
ClusterOperationV2 & WithProvisioned(ProvisionedT &&value)
void SetErrorInfo(ErrorInfoT &&value)
void SetServerless(ServerlessT &&value)
bool ClusterArnHasBeenSet() const
ClusterOperationV2 & WithServerless(ServerlessT &&value)
const ErrorInfo & GetErrorInfo() const
const Aws::String & GetOperationType() const
ClusterOperationV2 & WithStartTime(StartTimeT &&value)
void SetOperationState(OperationStateT &&value)
bool StartTimeHasBeenSet() const
bool ErrorInfoHasBeenSet() const
AWS_KAFKA_API ClusterOperationV2(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetOperationArn() const
const Aws::Utils::DateTime & GetEndTime() const
ClusterOperationV2 & WithErrorInfo(ErrorInfoT &&value)
const Aws::String & GetOperationState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue