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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ComputeQuotaArnT = Aws::String>
42 m_computeQuotaArnHasBeenSet =
true;
43 m_computeQuotaArn = std::forward<ComputeQuotaArnT>(value);
45 template <
typename ComputeQuotaArnT = Aws::String>
57 template <
typename ComputeQuotaIdT = Aws::String>
59 m_computeQuotaIdHasBeenSet =
true;
60 m_computeQuotaId = std::forward<ComputeQuotaIdT>(value);
62 template <
typename ComputeQuotaIdT = Aws::String>
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
91 template <
typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet =
true;
94 m_description = std::forward<DescriptionT>(value);
96 template <
typename DescriptionT = Aws::String>
109 m_computeQuotaVersionHasBeenSet =
true;
110 m_computeQuotaVersion = value;
124 m_statusHasBeenSet =
true;
138 template <
typename FailureReasonT = Aws::String>
140 m_failureReasonHasBeenSet =
true;
141 m_failureReason = std::forward<FailureReasonT>(value);
143 template <
typename FailureReasonT = Aws::String>
155 template <
typename ClusterArnT = Aws::String>
157 m_clusterArnHasBeenSet =
true;
158 m_clusterArn = std::forward<ClusterArnT>(value);
160 template <
typename ClusterArnT = Aws::String>
173 template <
typename ComputeQuotaConfigT = ComputeQuotaConfig>
175 m_computeQuotaConfigHasBeenSet =
true;
176 m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value);
178 template <
typename ComputeQuotaConfigT = ComputeQuotaConfig>
190 template <
typename ComputeQuotaTargetT = ComputeQuotaTarget>
192 m_computeQuotaTargetHasBeenSet =
true;
193 m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value);
195 template <
typename ComputeQuotaTargetT = ComputeQuotaTarget>
209 m_activationStateHasBeenSet =
true;
210 m_activationState = value;
223 template <
typename CreationTimeT = Aws::Utils::DateTime>
225 m_creationTimeHasBeenSet =
true;
226 m_creationTime = std::forward<CreationTimeT>(value);
228 template <
typename CreationTimeT = Aws::Utils::DateTime>
238 template <
typename CreatedByT = UserContext>
240 m_createdByHasBeenSet =
true;
241 m_createdBy = std::forward<CreatedByT>(value);
243 template <
typename CreatedByT = UserContext>
255 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
257 m_lastModifiedTimeHasBeenSet =
true;
258 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
260 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
270 template <
typename LastModifiedByT = UserContext>
272 m_lastModifiedByHasBeenSet =
true;
273 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
275 template <
typename LastModifiedByT = UserContext>
285 template <
typename RequestIdT = Aws::String>
287 m_requestIdHasBeenSet =
true;
288 m_requestId = std::forward<RequestIdT>(value);
290 template <
typename RequestIdT = Aws::String>
305 int m_computeQuotaVersion{0};
313 ComputeQuotaConfig m_computeQuotaConfig;
315 ComputeQuotaTarget m_computeQuotaTarget;
321 UserContext m_createdBy;
325 UserContext m_lastModifiedBy;
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;
void SetCreatedBy(CreatedByT &&value)
AWS_SAGEMAKER_API DescribeComputeQuotaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeComputeQuotaResult & WithStatus(SchedulerResourceStatus value)
SchedulerResourceStatus GetStatus() const
const Aws::Utils::DateTime & GetCreationTime() const
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)
const Aws::String & GetDescription() const
DescribeComputeQuotaResult & WithClusterArn(ClusterArnT &&value)
const Aws::String & GetComputeQuotaId() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetClusterArn() const
void SetComputeQuotaId(ComputeQuotaIdT &&value)
DescribeComputeQuotaResult & WithComputeQuotaArn(ComputeQuotaArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeComputeQuotaResult & WithFailureReason(FailureReasonT &&value)
void SetComputeQuotaTarget(ComputeQuotaTargetT &&value)
const ComputeQuotaTarget & GetComputeQuotaTarget() const
int GetComputeQuotaVersion() const
const Aws::String & GetComputeQuotaArn() const
void SetFailureReason(FailureReasonT &&value)
DescribeComputeQuotaResult & WithDescription(DescriptionT &&value)
const ComputeQuotaConfig & GetComputeQuotaConfig() const
DescribeComputeQuotaResult & WithComputeQuotaTarget(ComputeQuotaTargetT &&value)
DescribeComputeQuotaResult & WithComputeQuotaId(ComputeQuotaIdT &&value)
DescribeComputeQuotaResult & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetRequestId() const
void SetComputeQuotaConfig(ComputeQuotaConfigT &&value)
void SetComputeQuotaVersion(int value)
DescribeComputeQuotaResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetName() const
void SetComputeQuotaArn(ComputeQuotaArnT &&value)
DescribeComputeQuotaResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
DescribeComputeQuotaResult & WithComputeQuotaVersion(int value)
const UserContext & GetLastModifiedBy() const
DescribeComputeQuotaResult & WithActivationState(ActivationState value)
void SetActivationState(ActivationState value)
ActivationState GetActivationState() const
const Aws::String & GetFailureReason() const
void SetStatus(SchedulerResourceStatus value)
AWS_SAGEMAKER_API DescribeComputeQuotaResult()=default
void SetDescription(DescriptionT &&value)
void SetClusterArn(ClusterArnT &&value)
void SetRequestId(RequestIdT &&value)
const UserContext & GetCreatedBy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue