AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeComputeQuotaResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ActivationState.h>
11#include <aws/sagemaker/model/ComputeQuotaConfig.h>
12#include <aws/sagemaker/model/ComputeQuotaTarget.h>
13#include <aws/sagemaker/model/SchedulerResourceStatus.h>
14#include <aws/sagemaker/model/UserContext.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeComputeQuotaResult() = default;
34
36
39 inline const Aws::String& GetComputeQuotaArn() const { return m_computeQuotaArn; }
40 template <typename ComputeQuotaArnT = Aws::String>
41 void SetComputeQuotaArn(ComputeQuotaArnT&& value) {
42 m_computeQuotaArnHasBeenSet = true;
43 m_computeQuotaArn = std::forward<ComputeQuotaArnT>(value);
44 }
45 template <typename ComputeQuotaArnT = Aws::String>
47 SetComputeQuotaArn(std::forward<ComputeQuotaArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetComputeQuotaId() const { return m_computeQuotaId; }
57 template <typename ComputeQuotaIdT = Aws::String>
58 void SetComputeQuotaId(ComputeQuotaIdT&& value) {
59 m_computeQuotaIdHasBeenSet = true;
60 m_computeQuotaId = std::forward<ComputeQuotaIdT>(value);
61 }
62 template <typename ComputeQuotaIdT = Aws::String>
64 SetComputeQuotaId(std::forward<ComputeQuotaIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline int GetComputeQuotaVersion() const { return m_computeQuotaVersion; }
108 inline void SetComputeQuotaVersion(int value) {
109 m_computeQuotaVersionHasBeenSet = true;
110 m_computeQuotaVersion = value;
111 }
114 return *this;
115 }
117
119
122 inline SchedulerResourceStatus GetStatus() const { return m_status; }
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
138 template <typename FailureReasonT = Aws::String>
139 void SetFailureReason(FailureReasonT&& value) {
140 m_failureReasonHasBeenSet = true;
141 m_failureReason = std::forward<FailureReasonT>(value);
142 }
143 template <typename FailureReasonT = Aws::String>
145 SetFailureReason(std::forward<FailureReasonT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
155 template <typename ClusterArnT = Aws::String>
156 void SetClusterArn(ClusterArnT&& value) {
157 m_clusterArnHasBeenSet = true;
158 m_clusterArn = std::forward<ClusterArnT>(value);
159 }
160 template <typename ClusterArnT = Aws::String>
162 SetClusterArn(std::forward<ClusterArnT>(value));
163 return *this;
164 }
166
168
172 inline const ComputeQuotaConfig& GetComputeQuotaConfig() const { return m_computeQuotaConfig; }
173 template <typename ComputeQuotaConfigT = ComputeQuotaConfig>
174 void SetComputeQuotaConfig(ComputeQuotaConfigT&& value) {
175 m_computeQuotaConfigHasBeenSet = true;
176 m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value);
177 }
178 template <typename ComputeQuotaConfigT = ComputeQuotaConfig>
180 SetComputeQuotaConfig(std::forward<ComputeQuotaConfigT>(value));
181 return *this;
182 }
184
186
189 inline const ComputeQuotaTarget& GetComputeQuotaTarget() const { return m_computeQuotaTarget; }
190 template <typename ComputeQuotaTargetT = ComputeQuotaTarget>
191 void SetComputeQuotaTarget(ComputeQuotaTargetT&& value) {
192 m_computeQuotaTargetHasBeenSet = true;
193 m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value);
194 }
195 template <typename ComputeQuotaTargetT = ComputeQuotaTarget>
197 SetComputeQuotaTarget(std::forward<ComputeQuotaTargetT>(value));
198 return *this;
199 }
201
203
207 inline ActivationState GetActivationState() const { return m_activationState; }
209 m_activationStateHasBeenSet = true;
210 m_activationState = value;
211 }
213 SetActivationState(value);
214 return *this;
215 }
217
219
222 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
223 template <typename CreationTimeT = Aws::Utils::DateTime>
224 void SetCreationTime(CreationTimeT&& value) {
225 m_creationTimeHasBeenSet = true;
226 m_creationTime = std::forward<CreationTimeT>(value);
227 }
228 template <typename CreationTimeT = Aws::Utils::DateTime>
230 SetCreationTime(std::forward<CreationTimeT>(value));
231 return *this;
232 }
234
236
237 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
238 template <typename CreatedByT = UserContext>
239 void SetCreatedBy(CreatedByT&& value) {
240 m_createdByHasBeenSet = true;
241 m_createdBy = std::forward<CreatedByT>(value);
242 }
243 template <typename CreatedByT = UserContext>
245 SetCreatedBy(std::forward<CreatedByT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
255 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
256 void SetLastModifiedTime(LastModifiedTimeT&& value) {
257 m_lastModifiedTimeHasBeenSet = true;
258 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
259 }
260 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
262 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
263 return *this;
264 }
266
268
269 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
270 template <typename LastModifiedByT = UserContext>
271 void SetLastModifiedBy(LastModifiedByT&& value) {
272 m_lastModifiedByHasBeenSet = true;
273 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
274 }
275 template <typename LastModifiedByT = UserContext>
277 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
278 return *this;
279 }
281
283
284 inline const Aws::String& GetRequestId() const { return m_requestId; }
285 template <typename RequestIdT = Aws::String>
286 void SetRequestId(RequestIdT&& value) {
287 m_requestIdHasBeenSet = true;
288 m_requestId = std::forward<RequestIdT>(value);
289 }
290 template <typename RequestIdT = Aws::String>
292 SetRequestId(std::forward<RequestIdT>(value));
293 return *this;
294 }
296 private:
297 Aws::String m_computeQuotaArn;
298
299 Aws::String m_computeQuotaId;
300
301 Aws::String m_name;
302
303 Aws::String m_description;
304
305 int m_computeQuotaVersion{0};
306
308
309 Aws::String m_failureReason;
310
311 Aws::String m_clusterArn;
312
313 ComputeQuotaConfig m_computeQuotaConfig;
314
315 ComputeQuotaTarget m_computeQuotaTarget;
316
317 ActivationState m_activationState{ActivationState::NOT_SET};
318
319 Aws::Utils::DateTime m_creationTime{};
320
321 UserContext m_createdBy;
322
323 Aws::Utils::DateTime m_lastModifiedTime{};
324
325 UserContext m_lastModifiedBy;
326
327 Aws::String m_requestId;
328 bool m_computeQuotaArnHasBeenSet = false;
329 bool m_computeQuotaIdHasBeenSet = false;
330 bool m_nameHasBeenSet = false;
331 bool m_descriptionHasBeenSet = false;
332 bool m_computeQuotaVersionHasBeenSet = false;
333 bool m_statusHasBeenSet = false;
334 bool m_failureReasonHasBeenSet = false;
335 bool m_clusterArnHasBeenSet = false;
336 bool m_computeQuotaConfigHasBeenSet = false;
337 bool m_computeQuotaTargetHasBeenSet = false;
338 bool m_activationStateHasBeenSet = false;
339 bool m_creationTimeHasBeenSet = false;
340 bool m_createdByHasBeenSet = false;
341 bool m_lastModifiedTimeHasBeenSet = false;
342 bool m_lastModifiedByHasBeenSet = false;
343 bool m_requestIdHasBeenSet = false;
344};
345
346} // namespace Model
347} // namespace SageMaker
348} // namespace Aws
AWS_SAGEMAKER_API DescribeComputeQuotaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComputeQuotaResult & WithStatus(SchedulerResourceStatus value)
AWS_SAGEMAKER_API DescribeComputeQuotaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComputeQuotaResult & WithCreatedBy(CreatedByT &&value)
DescribeComputeQuotaResult & WithName(NameT &&value)
DescribeComputeQuotaResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeComputeQuotaResult & WithComputeQuotaConfig(ComputeQuotaConfigT &&value)
DescribeComputeQuotaResult & WithClusterArn(ClusterArnT &&value)
DescribeComputeQuotaResult & WithComputeQuotaArn(ComputeQuotaArnT &&value)
DescribeComputeQuotaResult & WithFailureReason(FailureReasonT &&value)
DescribeComputeQuotaResult & WithDescription(DescriptionT &&value)
DescribeComputeQuotaResult & WithComputeQuotaTarget(ComputeQuotaTargetT &&value)
DescribeComputeQuotaResult & WithComputeQuotaId(ComputeQuotaIdT &&value)
DescribeComputeQuotaResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeComputeQuotaResult & WithCreationTime(CreationTimeT &&value)
DescribeComputeQuotaResult & WithRequestId(RequestIdT &&value)
DescribeComputeQuotaResult & WithComputeQuotaVersion(int value)
DescribeComputeQuotaResult & WithActivationState(ActivationState value)
AWS_SAGEMAKER_API DescribeComputeQuotaResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue