AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLCandidate.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/FinalAutoMLJobObjectiveMetric.h>
10#include <aws/sagemaker/model/ObjectiveStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/CandidateStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/CandidateProperties.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/sagemaker/model/AutoMLCandidateStep.h>
17#include <aws/sagemaker/model/AutoMLContainerDefinition.h>
18#include <aws/sagemaker/model/AutoMLProcessingUnit.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_SAGEMAKER_API AutoMLCandidate();
46 AWS_SAGEMAKER_API AutoMLCandidate(Aws::Utils::Json::JsonView jsonValue);
48 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetCandidateName() const{ return m_candidateName; }
56 inline bool CandidateNameHasBeenSet() const { return m_candidateNameHasBeenSet; }
57 inline void SetCandidateName(const Aws::String& value) { m_candidateNameHasBeenSet = true; m_candidateName = value; }
58 inline void SetCandidateName(Aws::String&& value) { m_candidateNameHasBeenSet = true; m_candidateName = std::move(value); }
59 inline void SetCandidateName(const char* value) { m_candidateNameHasBeenSet = true; m_candidateName.assign(value); }
60 inline AutoMLCandidate& WithCandidateName(const Aws::String& value) { SetCandidateName(value); return *this;}
61 inline AutoMLCandidate& WithCandidateName(Aws::String&& value) { SetCandidateName(std::move(value)); return *this;}
62 inline AutoMLCandidate& WithCandidateName(const char* value) { SetCandidateName(value); return *this;}
64
66
67 inline const FinalAutoMLJobObjectiveMetric& GetFinalAutoMLJobObjectiveMetric() const{ return m_finalAutoMLJobObjectiveMetric; }
68 inline bool FinalAutoMLJobObjectiveMetricHasBeenSet() const { return m_finalAutoMLJobObjectiveMetricHasBeenSet; }
69 inline void SetFinalAutoMLJobObjectiveMetric(const FinalAutoMLJobObjectiveMetric& value) { m_finalAutoMLJobObjectiveMetricHasBeenSet = true; m_finalAutoMLJobObjectiveMetric = value; }
70 inline void SetFinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric&& value) { m_finalAutoMLJobObjectiveMetricHasBeenSet = true; m_finalAutoMLJobObjectiveMetric = std::move(value); }
74
76
79 inline const ObjectiveStatus& GetObjectiveStatus() const{ return m_objectiveStatus; }
80 inline bool ObjectiveStatusHasBeenSet() const { return m_objectiveStatusHasBeenSet; }
81 inline void SetObjectiveStatus(const ObjectiveStatus& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = value; }
82 inline void SetObjectiveStatus(ObjectiveStatus&& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = std::move(value); }
83 inline AutoMLCandidate& WithObjectiveStatus(const ObjectiveStatus& value) { SetObjectiveStatus(value); return *this;}
84 inline AutoMLCandidate& WithObjectiveStatus(ObjectiveStatus&& value) { SetObjectiveStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::Vector<AutoMLCandidateStep>& GetCandidateSteps() const{ return m_candidateSteps; }
92 inline bool CandidateStepsHasBeenSet() const { return m_candidateStepsHasBeenSet; }
93 inline void SetCandidateSteps(const Aws::Vector<AutoMLCandidateStep>& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps = value; }
94 inline void SetCandidateSteps(Aws::Vector<AutoMLCandidateStep>&& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps = std::move(value); }
96 inline AutoMLCandidate& WithCandidateSteps(Aws::Vector<AutoMLCandidateStep>&& value) { SetCandidateSteps(std::move(value)); return *this;}
97 inline AutoMLCandidate& AddCandidateSteps(const AutoMLCandidateStep& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps.push_back(value); return *this; }
98 inline AutoMLCandidate& AddCandidateSteps(AutoMLCandidateStep&& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps.push_back(std::move(value)); return *this; }
100
102
105 inline const CandidateStatus& GetCandidateStatus() const{ return m_candidateStatus; }
106 inline bool CandidateStatusHasBeenSet() const { return m_candidateStatusHasBeenSet; }
107 inline void SetCandidateStatus(const CandidateStatus& value) { m_candidateStatusHasBeenSet = true; m_candidateStatus = value; }
108 inline void SetCandidateStatus(CandidateStatus&& value) { m_candidateStatusHasBeenSet = true; m_candidateStatus = std::move(value); }
109 inline AutoMLCandidate& WithCandidateStatus(const CandidateStatus& value) { SetCandidateStatus(value); return *this;}
110 inline AutoMLCandidate& WithCandidateStatus(CandidateStatus&& value) { SetCandidateStatus(std::move(value)); return *this;}
112
114
117 inline const Aws::Vector<AutoMLContainerDefinition>& GetInferenceContainers() const{ return m_inferenceContainers; }
118 inline bool InferenceContainersHasBeenSet() const { return m_inferenceContainersHasBeenSet; }
119 inline void SetInferenceContainers(const Aws::Vector<AutoMLContainerDefinition>& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers = value; }
120 inline void SetInferenceContainers(Aws::Vector<AutoMLContainerDefinition>&& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers = std::move(value); }
123 inline AutoMLCandidate& AddInferenceContainers(const AutoMLContainerDefinition& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers.push_back(value); return *this; }
124 inline AutoMLCandidate& AddInferenceContainers(AutoMLContainerDefinition&& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
132 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
133 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
134 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
135 inline AutoMLCandidate& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
136 inline AutoMLCandidate& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
144 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
145 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
146 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
147 inline AutoMLCandidate& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
148 inline AutoMLCandidate& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
156 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
157 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
158 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
160 inline AutoMLCandidate& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
168 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
169 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
170 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
171 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
172 inline AutoMLCandidate& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
173 inline AutoMLCandidate& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
174 inline AutoMLCandidate& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
176
178
181 inline const CandidateProperties& GetCandidateProperties() const{ return m_candidateProperties; }
182 inline bool CandidatePropertiesHasBeenSet() const { return m_candidatePropertiesHasBeenSet; }
183 inline void SetCandidateProperties(const CandidateProperties& value) { m_candidatePropertiesHasBeenSet = true; m_candidateProperties = value; }
184 inline void SetCandidateProperties(CandidateProperties&& value) { m_candidatePropertiesHasBeenSet = true; m_candidateProperties = std::move(value); }
186 inline AutoMLCandidate& WithCandidateProperties(CandidateProperties&& value) { SetCandidateProperties(std::move(value)); return *this;}
188
190
198 inline bool InferenceContainerDefinitionsHasBeenSet() const { return m_inferenceContainerDefinitionsHasBeenSet; }
199 inline void SetInferenceContainerDefinitions(const Aws::Map<AutoMLProcessingUnit, Aws::Vector<AutoMLContainerDefinition>>& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions = value; }
200 inline void SetInferenceContainerDefinitions(Aws::Map<AutoMLProcessingUnit, Aws::Vector<AutoMLContainerDefinition>>&& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions = std::move(value); }
203 inline AutoMLCandidate& AddInferenceContainerDefinitions(const AutoMLProcessingUnit& key, const Aws::Vector<AutoMLContainerDefinition>& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions.emplace(key, value); return *this; }
204 inline AutoMLCandidate& AddInferenceContainerDefinitions(AutoMLProcessingUnit&& key, const Aws::Vector<AutoMLContainerDefinition>& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions.emplace(std::move(key), value); return *this; }
205 inline AutoMLCandidate& AddInferenceContainerDefinitions(const AutoMLProcessingUnit& key, Aws::Vector<AutoMLContainerDefinition>&& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions.emplace(key, std::move(value)); return *this; }
206 inline AutoMLCandidate& AddInferenceContainerDefinitions(AutoMLProcessingUnit&& key, Aws::Vector<AutoMLContainerDefinition>&& value) { m_inferenceContainerDefinitionsHasBeenSet = true; m_inferenceContainerDefinitions.emplace(std::move(key), std::move(value)); return *this; }
208 private:
209
210 Aws::String m_candidateName;
211 bool m_candidateNameHasBeenSet = false;
212
213 FinalAutoMLJobObjectiveMetric m_finalAutoMLJobObjectiveMetric;
214 bool m_finalAutoMLJobObjectiveMetricHasBeenSet = false;
215
216 ObjectiveStatus m_objectiveStatus;
217 bool m_objectiveStatusHasBeenSet = false;
218
219 Aws::Vector<AutoMLCandidateStep> m_candidateSteps;
220 bool m_candidateStepsHasBeenSet = false;
221
222 CandidateStatus m_candidateStatus;
223 bool m_candidateStatusHasBeenSet = false;
224
225 Aws::Vector<AutoMLContainerDefinition> m_inferenceContainers;
226 bool m_inferenceContainersHasBeenSet = false;
227
228 Aws::Utils::DateTime m_creationTime;
229 bool m_creationTimeHasBeenSet = false;
230
231 Aws::Utils::DateTime m_endTime;
232 bool m_endTimeHasBeenSet = false;
233
234 Aws::Utils::DateTime m_lastModifiedTime;
235 bool m_lastModifiedTimeHasBeenSet = false;
236
237 Aws::String m_failureReason;
238 bool m_failureReasonHasBeenSet = false;
239
240 CandidateProperties m_candidateProperties;
241 bool m_candidatePropertiesHasBeenSet = false;
242
244 bool m_inferenceContainerDefinitionsHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace SageMaker
249} // namespace Aws
void SetCreationTime(const Aws::Utils::DateTime &value)
AutoMLCandidate & WithCandidateStatus(const CandidateStatus &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCandidateName(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
AutoMLCandidate & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetFailureReason() const
AutoMLCandidate & AddCandidateSteps(const AutoMLCandidateStep &value)
AutoMLCandidate & WithCandidateName(const Aws::String &value)
void SetFinalAutoMLJobObjectiveMetric(const FinalAutoMLJobObjectiveMetric &value)
void SetInferenceContainerDefinitions(Aws::Map< AutoMLProcessingUnit, Aws::Vector< AutoMLContainerDefinition > > &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AutoMLCandidate & WithCandidateName(Aws::String &&value)
void SetCandidateStatus(CandidateStatus &&value)
AutoMLCandidate & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< AutoMLContainerDefinition > & GetInferenceContainers() const
AutoMLCandidate & WithCandidateStatus(CandidateStatus &&value)
AutoMLCandidate & WithFailureReason(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
void SetCandidateStatus(const CandidateStatus &value)
AutoMLCandidate & AddInferenceContainerDefinitions(AutoMLProcessingUnit &&key, const Aws::Vector< AutoMLContainerDefinition > &value)
AutoMLCandidate & WithCreationTime(const Aws::Utils::DateTime &value)
void SetObjectiveStatus(const ObjectiveStatus &value)
AutoMLCandidate & WithObjectiveStatus(ObjectiveStatus &&value)
void SetObjectiveStatus(ObjectiveStatus &&value)
AutoMLCandidate & WithCandidateName(const char *value)
AutoMLCandidate & WithInferenceContainerDefinitions(Aws::Map< AutoMLProcessingUnit, Aws::Vector< AutoMLContainerDefinition > > &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
AutoMLCandidate & WithCandidateSteps(Aws::Vector< AutoMLCandidateStep > &&value)
const Aws::Map< AutoMLProcessingUnit, Aws::Vector< AutoMLContainerDefinition > > & GetInferenceContainerDefinitions() const
const CandidateProperties & GetCandidateProperties() const
AutoMLCandidate & WithCandidateSteps(const Aws::Vector< AutoMLCandidateStep > &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AutoMLCandidate & WithInferenceContainers(const Aws::Vector< AutoMLContainerDefinition > &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AutoMLCandidate & WithInferenceContainers(Aws::Vector< AutoMLContainerDefinition > &&value)
const Aws::Vector< AutoMLCandidateStep > & GetCandidateSteps() const
AutoMLCandidate & WithObjectiveStatus(const ObjectiveStatus &value)
AutoMLCandidate & WithFinalAutoMLJobObjectiveMetric(const FinalAutoMLJobObjectiveMetric &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AutoMLCandidate & WithEndTime(const Aws::Utils::DateTime &value)
AutoMLCandidate & AddInferenceContainers(AutoMLContainerDefinition &&value)
void SetInferenceContainers(const Aws::Vector< AutoMLContainerDefinition > &value)
void SetInferenceContainers(Aws::Vector< AutoMLContainerDefinition > &&value)
AutoMLCandidate & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCandidateSteps(Aws::Vector< AutoMLCandidateStep > &&value)
AutoMLCandidate & WithCandidateProperties(CandidateProperties &&value)
AWS_SAGEMAKER_API AutoMLCandidate & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLCandidate & WithCandidateProperties(const CandidateProperties &value)
AutoMLCandidate & AddInferenceContainerDefinitions(AutoMLProcessingUnit &&key, Aws::Vector< AutoMLContainerDefinition > &&value)
AutoMLCandidate & WithInferenceContainerDefinitions(const Aws::Map< AutoMLProcessingUnit, Aws::Vector< AutoMLContainerDefinition > > &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetInferenceContainerDefinitions(const Aws::Map< AutoMLProcessingUnit, Aws::Vector< AutoMLContainerDefinition > > &value)
AutoMLCandidate & AddCandidateSteps(AutoMLCandidateStep &&value)
void SetCandidateProperties(CandidateProperties &&value)
AutoMLCandidate & WithFinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric &&value)
AutoMLCandidate & WithFailureReason(const char *value)
AutoMLCandidate & WithFailureReason(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
AutoMLCandidate & AddInferenceContainerDefinitions(const AutoMLProcessingUnit &key, const Aws::Vector< AutoMLContainerDefinition > &value)
AutoMLCandidate & AddInferenceContainerDefinitions(const AutoMLProcessingUnit &key, Aws::Vector< AutoMLContainerDefinition > &&value)
void SetCandidateProperties(const CandidateProperties &value)
const CandidateStatus & GetCandidateStatus() const
const Aws::Utils::DateTime & GetEndTime() const
void SetCandidateName(const char *value)
void SetCandidateName(const Aws::String &value)
const ObjectiveStatus & GetObjectiveStatus() const
AutoMLCandidate & AddInferenceContainers(const AutoMLContainerDefinition &value)
void SetCandidateSteps(const Aws::Vector< AutoMLCandidateStep > &value)
AutoMLCandidate & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetFinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric &&value)
AWS_SAGEMAKER_API AutoMLCandidate(Aws::Utils::Json::JsonView jsonValue)
const FinalAutoMLJobObjectiveMetric & GetFinalAutoMLJobObjectiveMetric() const
const Aws::String & GetCandidateName() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue