AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterOperationV2.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Kafka
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_KAFKA_API ClusterOperationV2();
44 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
53 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
54 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
55 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
56 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
57 inline ClusterOperationV2& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
58 inline ClusterOperationV2& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
59 inline ClusterOperationV2& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
61
63
67 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
68 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
69 inline void SetClusterType(const ClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
70 inline void SetClusterType(ClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
71 inline ClusterOperationV2& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
72 inline ClusterOperationV2& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
74
76
80 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
83 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
84 inline ClusterOperationV2& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
85 inline ClusterOperationV2& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
94 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
95 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
96 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
97 inline ClusterOperationV2& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
98 inline ClusterOperationV2& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
100
102
107 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
108 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
109 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
110 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
111 inline ClusterOperationV2& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
112 inline ClusterOperationV2& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
114
116
120 inline const Aws::String& GetOperationArn() const{ return m_operationArn; }
121 inline bool OperationArnHasBeenSet() const { return m_operationArnHasBeenSet; }
122 inline void SetOperationArn(const Aws::String& value) { m_operationArnHasBeenSet = true; m_operationArn = value; }
123 inline void SetOperationArn(Aws::String&& value) { m_operationArnHasBeenSet = true; m_operationArn = std::move(value); }
124 inline void SetOperationArn(const char* value) { m_operationArnHasBeenSet = true; m_operationArn.assign(value); }
125 inline ClusterOperationV2& WithOperationArn(const Aws::String& value) { SetOperationArn(value); return *this;}
126 inline ClusterOperationV2& WithOperationArn(Aws::String&& value) { SetOperationArn(std::move(value)); return *this;}
127 inline ClusterOperationV2& WithOperationArn(const char* value) { SetOperationArn(value); return *this;}
129
131
135 inline const Aws::String& GetOperationState() const{ return m_operationState; }
136 inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; }
137 inline void SetOperationState(const Aws::String& value) { m_operationStateHasBeenSet = true; m_operationState = value; }
138 inline void SetOperationState(Aws::String&& value) { m_operationStateHasBeenSet = true; m_operationState = std::move(value); }
139 inline void SetOperationState(const char* value) { m_operationStateHasBeenSet = true; m_operationState.assign(value); }
140 inline ClusterOperationV2& WithOperationState(const Aws::String& value) { SetOperationState(value); return *this;}
141 inline ClusterOperationV2& WithOperationState(Aws::String&& value) { SetOperationState(std::move(value)); return *this;}
142 inline ClusterOperationV2& WithOperationState(const char* value) { SetOperationState(value); return *this;}
144
146
150 inline const Aws::String& GetOperationType() const{ return m_operationType; }
151 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
152 inline void SetOperationType(const Aws::String& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
153 inline void SetOperationType(Aws::String&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
154 inline void SetOperationType(const char* value) { m_operationTypeHasBeenSet = true; m_operationType.assign(value); }
155 inline ClusterOperationV2& WithOperationType(const Aws::String& value) { SetOperationType(value); return *this;}
156 inline ClusterOperationV2& WithOperationType(Aws::String&& value) { SetOperationType(std::move(value)); return *this;}
157 inline ClusterOperationV2& WithOperationType(const char* value) { SetOperationType(value); return *this;}
159
161
165 inline const ClusterOperationV2Provisioned& GetProvisioned() const{ return m_provisioned; }
166 inline bool ProvisionedHasBeenSet() const { return m_provisionedHasBeenSet; }
167 inline void SetProvisioned(const ClusterOperationV2Provisioned& value) { m_provisionedHasBeenSet = true; m_provisioned = value; }
168 inline void SetProvisioned(ClusterOperationV2Provisioned&& value) { m_provisionedHasBeenSet = true; m_provisioned = std::move(value); }
170 inline ClusterOperationV2& WithProvisioned(ClusterOperationV2Provisioned&& value) { SetProvisioned(std::move(value)); return *this;}
172
174
178 inline const ClusterOperationV2Serverless& GetServerless() const{ return m_serverless; }
179 inline bool ServerlessHasBeenSet() const { return m_serverlessHasBeenSet; }
180 inline void SetServerless(const ClusterOperationV2Serverless& value) { m_serverlessHasBeenSet = true; m_serverless = value; }
181 inline void SetServerless(ClusterOperationV2Serverless&& value) { m_serverlessHasBeenSet = true; m_serverless = std::move(value); }
183 inline ClusterOperationV2& WithServerless(ClusterOperationV2Serverless&& value) { SetServerless(std::move(value)); return *this;}
185 private:
186
187 Aws::String m_clusterArn;
188 bool m_clusterArnHasBeenSet = false;
189
190 ClusterType m_clusterType;
191 bool m_clusterTypeHasBeenSet = false;
192
193 Aws::Utils::DateTime m_startTime;
194 bool m_startTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_endTime;
197 bool m_endTimeHasBeenSet = false;
198
199 ErrorInfo m_errorInfo;
200 bool m_errorInfoHasBeenSet = false;
201
202 Aws::String m_operationArn;
203 bool m_operationArnHasBeenSet = false;
204
205 Aws::String m_operationState;
206 bool m_operationStateHasBeenSet = false;
207
208 Aws::String m_operationType;
209 bool m_operationTypeHasBeenSet = false;
210
211 ClusterOperationV2Provisioned m_provisioned;
212 bool m_provisionedHasBeenSet = false;
213
214 ClusterOperationV2Serverless m_serverless;
215 bool m_serverlessHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Kafka
220} // namespace Aws
void SetOperationArn(const Aws::String &value)
void SetOperationType(const Aws::String &value)
ClusterOperationV2 & WithServerless(ClusterOperationV2Serverless &&value)
ClusterOperationV2 & WithOperationState(const Aws::String &value)
void SetProvisioned(const ClusterOperationV2Provisioned &value)
void SetServerless(const ClusterOperationV2Serverless &value)
void SetStartTime(const Aws::Utils::DateTime &value)
ClusterOperationV2 & WithOperationArn(const char *value)
ClusterOperationV2 & WithErrorInfo(const ErrorInfo &value)
ClusterOperationV2 & WithProvisioned(const ClusterOperationV2Provisioned &value)
ClusterOperationV2 & WithEndTime(const Aws::Utils::DateTime &value)
void SetProvisioned(ClusterOperationV2Provisioned &&value)
ClusterOperationV2 & WithStartTime(Aws::Utils::DateTime &&value)
void SetOperationArn(Aws::String &&value)
AWS_KAFKA_API ClusterOperationV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2 & WithOperationType(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
const ClusterOperationV2Provisioned & GetProvisioned() const
ClusterOperationV2 & WithClusterArn(const char *value)
const ClusterOperationV2Serverless & GetServerless() const
void SetOperationState(const Aws::String &value)
ClusterOperationV2 & WithOperationArn(Aws::String &&value)
ClusterOperationV2 & WithOperationType(const Aws::String &value)
const Aws::String & GetClusterArn() const
void SetOperationType(Aws::String &&value)
ClusterOperationV2 & WithOperationState(Aws::String &&value)
ClusterOperationV2 & WithClusterArn(Aws::String &&value)
void SetClusterArn(const Aws::String &value)
ClusterOperationV2 & WithServerless(const ClusterOperationV2Serverless &value)
void SetOperationState(Aws::String &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationV2 & WithClusterType(const ClusterType &value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetClusterType(const ClusterType &value)
ClusterOperationV2 & WithStartTime(const Aws::Utils::DateTime &value)
ClusterOperationV2 & WithClusterArn(const Aws::String &value)
void SetClusterType(ClusterType &&value)
void SetServerless(ClusterOperationV2Serverless &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetErrorInfo(const ErrorInfo &value)
const Aws::String & GetOperationType() const
void SetClusterArn(Aws::String &&value)
ClusterOperationV2 & WithOperationArn(const Aws::String &value)
ClusterOperationV2 & WithEndTime(Aws::Utils::DateTime &&value)
ClusterOperationV2 & WithOperationState(const char *value)
const ClusterType & GetClusterType() const
ClusterOperationV2 & WithClusterType(ClusterType &&value)
AWS_KAFKA_API ClusterOperationV2(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2 & WithProvisioned(ClusterOperationV2Provisioned &&value)
const Aws::String & GetOperationArn() const
const Aws::Utils::DateTime & GetEndTime() const
void SetStartTime(Aws::Utils::DateTime &&value)
ClusterOperationV2 & WithErrorInfo(ErrorInfo &&value)
ClusterOperationV2 & WithOperationType(const char *value)
const Aws::String & GetOperationState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue