7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/SchedulerResourceStatus.h>
10#include <aws/sagemaker/model/ComputeQuotaConfig.h>
11#include <aws/sagemaker/model/ComputeQuotaTarget.h>
12#include <aws/sagemaker/model/ActivationState.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/UserContext.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename ComputeQuotaArnT = Aws::String>
47 void SetComputeQuotaArn(ComputeQuotaArnT&& value) { m_computeQuotaArnHasBeenSet =
true; m_computeQuotaArn = std::forward<ComputeQuotaArnT>(value); }
48 template<
typename ComputeQuotaArnT = Aws::String>
57 template<
typename ComputeQuotaIdT = Aws::String>
58 void SetComputeQuotaId(ComputeQuotaIdT&& value) { m_computeQuotaIdHasBeenSet =
true; m_computeQuotaId = std::forward<ComputeQuotaIdT>(value); }
59 template<
typename ComputeQuotaIdT = Aws::String>
68 template<
typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
70 template<
typename NameT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
90 inline void SetComputeQuotaVersion(
int value) { m_computeQuotaVersionHasBeenSet =
true; m_computeQuotaVersion = value; }
108 template<
typename FailureReasonT = Aws::String>
109 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
110 template<
typename FailureReasonT = Aws::String>
119 template<
typename ClusterArnT = Aws::String>
120 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
121 template<
typename ClusterArnT = Aws::String>
131 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
132 void SetComputeQuotaConfig(ComputeQuotaConfigT&& value) { m_computeQuotaConfigHasBeenSet =
true; m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value); }
133 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
142 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
143 void SetComputeQuotaTarget(ComputeQuotaTargetT&& value) { m_computeQuotaTargetHasBeenSet =
true; m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value); }
144 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
163 template<
typename CreationTimeT = Aws::Utils::DateTime>
164 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
165 template<
typename CreationTimeT = Aws::Utils::DateTime>
172 template<
typename CreatedByT = UserContext>
173 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
174 template<
typename CreatedByT = UserContext>
183 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
184 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
185 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
192 template<
typename LastModifiedByT = UserContext>
193 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
194 template<
typename LastModifiedByT = UserContext>
201 template<
typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
203 template<
typename RequestIdT = Aws::String>
209 bool m_computeQuotaArnHasBeenSet =
false;
212 bool m_computeQuotaIdHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
220 int m_computeQuotaVersion{0};
221 bool m_computeQuotaVersionHasBeenSet =
false;
224 bool m_statusHasBeenSet =
false;
227 bool m_failureReasonHasBeenSet =
false;
230 bool m_clusterArnHasBeenSet =
false;
232 ComputeQuotaConfig m_computeQuotaConfig;
233 bool m_computeQuotaConfigHasBeenSet =
false;
235 ComputeQuotaTarget m_computeQuotaTarget;
236 bool m_computeQuotaTargetHasBeenSet =
false;
239 bool m_activationStateHasBeenSet =
false;
242 bool m_creationTimeHasBeenSet =
false;
244 UserContext m_createdBy;
245 bool m_createdByHasBeenSet =
false;
248 bool m_lastModifiedTimeHasBeenSet =
false;
250 UserContext m_lastModifiedBy;
251 bool m_lastModifiedByHasBeenSet =
false;
254 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