AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperParameterTuningJobSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HyperParameterTuningJobStatus.h>
10#include <aws/sagemaker/model/HyperParameterTuningJobStrategyType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/TrainingJobStatusCounters.h>
13#include <aws/sagemaker/model/ObjectiveStatusCounters.h>
14#include <aws/sagemaker/model/ResourceLimits.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SAGEMAKER_API HyperParameterTuningJobSummary();
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetHyperParameterTuningJobName() const{ return m_hyperParameterTuningJobName; }
52 inline bool HyperParameterTuningJobNameHasBeenSet() const { return m_hyperParameterTuningJobNameHasBeenSet; }
53 inline void SetHyperParameterTuningJobName(const Aws::String& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = value; }
54 inline void SetHyperParameterTuningJobName(Aws::String&& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = std::move(value); }
55 inline void SetHyperParameterTuningJobName(const char* value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName.assign(value); }
60
62
65 inline const Aws::String& GetHyperParameterTuningJobArn() const{ return m_hyperParameterTuningJobArn; }
66 inline bool HyperParameterTuningJobArnHasBeenSet() const { return m_hyperParameterTuningJobArnHasBeenSet; }
67 inline void SetHyperParameterTuningJobArn(const Aws::String& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = value; }
68 inline void SetHyperParameterTuningJobArn(Aws::String&& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = std::move(value); }
69 inline void SetHyperParameterTuningJobArn(const char* value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn.assign(value); }
74
76
79 inline const HyperParameterTuningJobStatus& GetHyperParameterTuningJobStatus() const{ return m_hyperParameterTuningJobStatus; }
80 inline bool HyperParameterTuningJobStatusHasBeenSet() const { return m_hyperParameterTuningJobStatusHasBeenSet; }
81 inline void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus& value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = value; }
82 inline void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus&& value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = std::move(value); }
86
88
92 inline const HyperParameterTuningJobStrategyType& GetStrategy() const{ return m_strategy; }
93 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
94 inline void SetStrategy(const HyperParameterTuningJobStrategyType& value) { m_strategyHasBeenSet = true; m_strategy = value; }
95 inline void SetStrategy(HyperParameterTuningJobStrategyType&& value) { m_strategyHasBeenSet = true; m_strategy = std::move(value); }
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline HyperParameterTuningJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const{ return m_hyperParameterTuningEndTime; }
117 inline bool HyperParameterTuningEndTimeHasBeenSet() const { return m_hyperParameterTuningEndTimeHasBeenSet; }
118 inline void SetHyperParameterTuningEndTime(const Aws::Utils::DateTime& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = value; }
119 inline void SetHyperParameterTuningEndTime(Aws::Utils::DateTime&& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = std::move(value); }
123
125
128 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
129 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
130 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
131 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
135
137
143 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const{ return m_trainingJobStatusCounters; }
144 inline bool TrainingJobStatusCountersHasBeenSet() const { return m_trainingJobStatusCountersHasBeenSet; }
145 inline void SetTrainingJobStatusCounters(const TrainingJobStatusCounters& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = value; }
146 inline void SetTrainingJobStatusCounters(TrainingJobStatusCounters&& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = std::move(value); }
150
152
158 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const{ return m_objectiveStatusCounters; }
159 inline bool ObjectiveStatusCountersHasBeenSet() const { return m_objectiveStatusCountersHasBeenSet; }
160 inline void SetObjectiveStatusCounters(const ObjectiveStatusCounters& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = value; }
161 inline void SetObjectiveStatusCounters(ObjectiveStatusCounters&& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = std::move(value); }
165
167
173 inline const ResourceLimits& GetResourceLimits() const{ return m_resourceLimits; }
174 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
175 inline void SetResourceLimits(const ResourceLimits& value) { m_resourceLimitsHasBeenSet = true; m_resourceLimits = value; }
176 inline void SetResourceLimits(ResourceLimits&& value) { m_resourceLimitsHasBeenSet = true; m_resourceLimits = std::move(value); }
178 inline HyperParameterTuningJobSummary& WithResourceLimits(ResourceLimits&& value) { SetResourceLimits(std::move(value)); return *this;}
180 private:
181
182 Aws::String m_hyperParameterTuningJobName;
183 bool m_hyperParameterTuningJobNameHasBeenSet = false;
184
185 Aws::String m_hyperParameterTuningJobArn;
186 bool m_hyperParameterTuningJobArnHasBeenSet = false;
187
188 HyperParameterTuningJobStatus m_hyperParameterTuningJobStatus;
189 bool m_hyperParameterTuningJobStatusHasBeenSet = false;
190
192 bool m_strategyHasBeenSet = false;
193
194 Aws::Utils::DateTime m_creationTime;
195 bool m_creationTimeHasBeenSet = false;
196
197 Aws::Utils::DateTime m_hyperParameterTuningEndTime;
198 bool m_hyperParameterTuningEndTimeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastModifiedTime;
201 bool m_lastModifiedTimeHasBeenSet = false;
202
203 TrainingJobStatusCounters m_trainingJobStatusCounters;
204 bool m_trainingJobStatusCountersHasBeenSet = false;
205
206 ObjectiveStatusCounters m_objectiveStatusCounters;
207 bool m_objectiveStatusCountersHasBeenSet = false;
208
209 ResourceLimits m_resourceLimits;
210 bool m_resourceLimitsHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace SageMaker
215} // namespace Aws
AWS_SAGEMAKER_API HyperParameterTuningJobSummary(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetHyperParameterTuningEndTime(const Aws::Utils::DateTime &value)
HyperParameterTuningJobSummary & WithTrainingJobStatusCounters(const TrainingJobStatusCounters &value)
HyperParameterTuningJobSummary & WithObjectiveStatusCounters(const ObjectiveStatusCounters &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HyperParameterTuningJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobArn(Aws::String &&value)
HyperParameterTuningJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningEndTime(const Aws::Utils::DateTime &value)
HyperParameterTuningJobSummary & WithStrategy(const HyperParameterTuningJobStrategyType &value)
void SetTrainingJobStatusCounters(const TrainingJobStatusCounters &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobName(const Aws::String &value)
HyperParameterTuningJobSummary & WithResourceLimits(const ResourceLimits &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobArn(const Aws::String &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningEndTime(Aws::Utils::DateTime &&value)
HyperParameterTuningJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
HyperParameterTuningJobSummary & WithTrainingJobStatusCounters(TrainingJobStatusCounters &&value)
HyperParameterTuningJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const HyperParameterTuningJobStatus & GetHyperParameterTuningJobStatus() const
void SetStrategy(HyperParameterTuningJobStrategyType &&value)
void SetStrategy(const HyperParameterTuningJobStrategyType &value)
void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus &&value)
const TrainingJobStatusCounters & GetTrainingJobStatusCounters() const
void SetObjectiveStatusCounters(const ObjectiveStatusCounters &value)
void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobArn(const char *value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobName(Aws::String &&value)
HyperParameterTuningJobSummary & WithResourceLimits(ResourceLimits &&value)
HyperParameterTuningJobSummary & WithStrategy(HyperParameterTuningJobStrategyType &&value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobName(const char *value)
const HyperParameterTuningJobStrategyType & GetStrategy() const
HyperParameterTuningJobSummary & WithObjectiveStatusCounters(ObjectiveStatusCounters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue