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>
51 template<
typename ComputeQuotaArnT = Aws::String>
52 void SetComputeQuotaArn(ComputeQuotaArnT&& value) { m_computeQuotaArnHasBeenSet =
true; m_computeQuotaArn = std::forward<ComputeQuotaArnT>(value); }
53 template<
typename ComputeQuotaArnT = Aws::String>
63 template<
typename ComputeQuotaIdT = Aws::String>
64 void SetComputeQuotaId(ComputeQuotaIdT&& value) { m_computeQuotaIdHasBeenSet =
true; m_computeQuotaId = std::forward<ComputeQuotaIdT>(value); }
65 template<
typename ComputeQuotaIdT = Aws::String>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
87 inline void SetComputeQuotaVersion(
int value) { m_computeQuotaVersionHasBeenSet =
true; m_computeQuotaVersion = value; }
107 template<
typename ClusterArnT = Aws::String>
108 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
109 template<
typename ClusterArnT = Aws::String>
120 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
121 void SetComputeQuotaConfig(ComputeQuotaConfigT&& value) { m_computeQuotaConfigHasBeenSet =
true; m_computeQuotaConfig = std::forward<ComputeQuotaConfigT>(value); }
122 template<
typename ComputeQuotaConfigT = ComputeQuotaConfig>
132 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
133 void SetComputeQuotaTarget(ComputeQuotaTargetT&& value) { m_computeQuotaTargetHasBeenSet =
true; m_computeQuotaTarget = std::forward<ComputeQuotaTargetT>(value); }
134 template<
typename ComputeQuotaTargetT = ComputeQuotaTarget>
155 template<
typename CreationTimeT = Aws::Utils::DateTime>
156 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
157 template<
typename CreationTimeT = Aws::Utils::DateTime>
167 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
168 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
169 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
175 bool m_computeQuotaArnHasBeenSet =
false;
178 bool m_computeQuotaIdHasBeenSet =
false;
181 bool m_nameHasBeenSet =
false;
183 int m_computeQuotaVersion{0};
184 bool m_computeQuotaVersionHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_clusterArnHasBeenSet =
false;
192 ComputeQuotaConfig m_computeQuotaConfig;
193 bool m_computeQuotaConfigHasBeenSet =
false;
195 ComputeQuotaTarget m_computeQuotaTarget;
196 bool m_computeQuotaTargetHasBeenSet =
false;
199 bool m_activationStateHasBeenSet =
false;
202 bool m_creationTimeHasBeenSet =
false;
205 bool m_lastModifiedTimeHasBeenSet =
false;
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool ComputeQuotaTargetHasBeenSet() const
const Aws::String & GetName() const
void SetComputeQuotaVersion(int value)
const ComputeQuotaConfig & GetComputeQuotaConfig() const
const ComputeQuotaTarget & GetComputeQuotaTarget() const
bool StatusHasBeenSet() const
void SetComputeQuotaTarget(ComputeQuotaTargetT &&value)
ComputeQuotaSummary & WithComputeQuotaVersion(int value)
AWS_SAGEMAKER_API ComputeQuotaSummary(Aws::Utils::Json::JsonView jsonValue)
void SetComputeQuotaConfig(ComputeQuotaConfigT &&value)
ComputeQuotaSummary & WithCreationTime(CreationTimeT &&value)
ComputeQuotaSummary & WithComputeQuotaArn(ComputeQuotaArnT &&value)
const Aws::String & GetComputeQuotaArn() const
bool ClusterArnHasBeenSet() const
ComputeQuotaSummary & WithComputeQuotaConfig(ComputeQuotaConfigT &&value)
bool ActivationStateHasBeenSet() const
ActivationState GetActivationState() const
bool ComputeQuotaVersionHasBeenSet() const
ComputeQuotaSummary & WithComputeQuotaId(ComputeQuotaIdT &&value)
bool NameHasBeenSet() const
void SetStatus(SchedulerResourceStatus value)
bool LastModifiedTimeHasBeenSet() const
void SetName(NameT &&value)
ComputeQuotaSummary & WithActivationState(ActivationState value)
bool ComputeQuotaConfigHasBeenSet() const
bool ComputeQuotaIdHasBeenSet() const
ComputeQuotaSummary & WithComputeQuotaTarget(ComputeQuotaTargetT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API ComputeQuotaSummary()=default
SchedulerResourceStatus GetStatus() const
const Aws::String & GetComputeQuotaId() const
void SetComputeQuotaArn(ComputeQuotaArnT &&value)
void SetActivationState(ActivationState value)
bool ComputeQuotaArnHasBeenSet() const
bool CreationTimeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeQuotaSummary & WithClusterArn(ClusterArnT &&value)
void SetClusterArn(ClusterArnT &&value)
void SetComputeQuotaId(ComputeQuotaIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API ComputeQuotaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetComputeQuotaVersion() const
const Aws::String & GetClusterArn() const
ComputeQuotaSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ComputeQuotaSummary & WithName(NameT &&value)
ComputeQuotaSummary & WithStatus(SchedulerResourceStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue