7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/ClusterType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/kafka/model/ErrorInfo.h>
12#include <aws/kafka/model/ClusterOperationV2Provisioned.h>
13#include <aws/kafka/model/ClusterOperationV2Serverless.h>
54 template<
typename ClusterArnT = Aws::String>
55 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
56 template<
typename ClusterArnT = Aws::String>
78 template<
typename StartTimeT = Aws::Utils::DateTime>
79 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
80 template<
typename StartTimeT = Aws::Utils::DateTime>
91 template<
typename EndTimeT = Aws::Utils::DateTime>
92 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
93 template<
typename EndTimeT = Aws::Utils::DateTime>
105 template<
typename ErrorInfoT = ErrorInfo>
106 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo = std::forward<ErrorInfoT>(value); }
107 template<
typename ErrorInfoT = ErrorInfo>
118 template<
typename OperationArnT = Aws::String>
119 void SetOperationArn(OperationArnT&& value) { m_operationArnHasBeenSet =
true; m_operationArn = std::forward<OperationArnT>(value); }
120 template<
typename OperationArnT = Aws::String>
131 template<
typename OperationStateT = Aws::String>
132 void SetOperationState(OperationStateT&& value) { m_operationStateHasBeenSet =
true; m_operationState = std::forward<OperationStateT>(value); }
133 template<
typename OperationStateT = Aws::String>
144 template<
typename OperationTypeT = Aws::String>
145 void SetOperationType(OperationTypeT&& value) { m_operationTypeHasBeenSet =
true; m_operationType = std::forward<OperationTypeT>(value); }
146 template<
typename OperationTypeT = Aws::String>
157 template<
typename ProvisionedT = ClusterOperationV2Provisioned>
158 void SetProvisioned(ProvisionedT&& value) { m_provisionedHasBeenSet =
true; m_provisioned = std::forward<ProvisionedT>(value); }
159 template<
typename ProvisionedT = ClusterOperationV2Provisioned>
170 template<
typename ServerlessT = ClusterOperationV2Serverless>
171 void SetServerless(ServerlessT&& value) { m_serverlessHasBeenSet =
true; m_serverless = std::forward<ServerlessT>(value); }
172 template<
typename ServerlessT = ClusterOperationV2Serverless>
178 bool m_clusterArnHasBeenSet =
false;
181 bool m_clusterTypeHasBeenSet =
false;
184 bool m_startTimeHasBeenSet =
false;
187 bool m_endTimeHasBeenSet =
false;
189 ErrorInfo m_errorInfo;
190 bool m_errorInfoHasBeenSet =
false;
193 bool m_operationArnHasBeenSet =
false;
196 bool m_operationStateHasBeenSet =
false;
199 bool m_operationTypeHasBeenSet =
false;
201 ClusterOperationV2Provisioned m_provisioned;
202 bool m_provisionedHasBeenSet =
false;
204 ClusterOperationV2Serverless m_serverless;
205 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