AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOptimizationJobResult.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/OptimizationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/OptimizationJobModelSource.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/sagemaker/model/OptimizationJobDeploymentInstanceType.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/OptimizationJobOutputConfig.h>
16#include <aws/sagemaker/model/OptimizationOutput.h>
17#include <aws/sagemaker/model/StoppingCondition.h>
18#include <aws/sagemaker/model/OptimizationVpcConfig.h>
19#include <aws/sagemaker/model/OptimizationConfig.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace SageMaker
35{
36namespace Model
37{
39 {
40 public:
41 AWS_SAGEMAKER_API DescribeOptimizationJobResult();
44
45
47
50 inline const Aws::String& GetOptimizationJobArn() const{ return m_optimizationJobArn; }
51 inline void SetOptimizationJobArn(const Aws::String& value) { m_optimizationJobArn = value; }
52 inline void SetOptimizationJobArn(Aws::String&& value) { m_optimizationJobArn = std::move(value); }
53 inline void SetOptimizationJobArn(const char* value) { m_optimizationJobArn.assign(value); }
56 inline DescribeOptimizationJobResult& WithOptimizationJobArn(const char* value) { SetOptimizationJobArn(value); return *this;}
58
60
63 inline const OptimizationJobStatus& GetOptimizationJobStatus() const{ return m_optimizationJobStatus; }
64 inline void SetOptimizationJobStatus(const OptimizationJobStatus& value) { m_optimizationJobStatus = value; }
65 inline void SetOptimizationJobStatus(OptimizationJobStatus&& value) { m_optimizationJobStatus = std::move(value); }
69
71
74 inline const Aws::Utils::DateTime& GetOptimizationStartTime() const{ return m_optimizationStartTime; }
75 inline void SetOptimizationStartTime(const Aws::Utils::DateTime& value) { m_optimizationStartTime = value; }
76 inline void SetOptimizationStartTime(Aws::Utils::DateTime&& value) { m_optimizationStartTime = std::move(value); }
80
82
85 inline const Aws::Utils::DateTime& GetOptimizationEndTime() const{ return m_optimizationEndTime; }
86 inline void SetOptimizationEndTime(const Aws::Utils::DateTime& value) { m_optimizationEndTime = value; }
87 inline void SetOptimizationEndTime(Aws::Utils::DateTime&& value) { m_optimizationEndTime = std::move(value); }
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
97 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
98 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
100 inline DescribeOptimizationJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
108 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
109 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
113
115
119 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
120 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
121 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
122 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
124 inline DescribeOptimizationJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
125 inline DescribeOptimizationJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
127
129
132 inline const Aws::String& GetOptimizationJobName() const{ return m_optimizationJobName; }
133 inline void SetOptimizationJobName(const Aws::String& value) { m_optimizationJobName = value; }
134 inline void SetOptimizationJobName(Aws::String&& value) { m_optimizationJobName = std::move(value); }
135 inline void SetOptimizationJobName(const char* value) { m_optimizationJobName.assign(value); }
138 inline DescribeOptimizationJobResult& WithOptimizationJobName(const char* value) { SetOptimizationJobName(value); return *this;}
140
142
145 inline const OptimizationJobModelSource& GetModelSource() const{ return m_modelSource; }
146 inline void SetModelSource(const OptimizationJobModelSource& value) { m_modelSource = value; }
147 inline void SetModelSource(OptimizationJobModelSource&& value) { m_modelSource = std::move(value); }
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetOptimizationEnvironment() const{ return m_optimizationEnvironment; }
157 inline void SetOptimizationEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_optimizationEnvironment = value; }
158 inline void SetOptimizationEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_optimizationEnvironment = std::move(value); }
161 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(const Aws::String& key, const Aws::String& value) { m_optimizationEnvironment.emplace(key, value); return *this; }
162 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(Aws::String&& key, const Aws::String& value) { m_optimizationEnvironment.emplace(std::move(key), value); return *this; }
163 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(const Aws::String& key, Aws::String&& value) { m_optimizationEnvironment.emplace(key, std::move(value)); return *this; }
164 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(Aws::String&& key, Aws::String&& value) { m_optimizationEnvironment.emplace(std::move(key), std::move(value)); return *this; }
165 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(const char* key, Aws::String&& value) { m_optimizationEnvironment.emplace(key, std::move(value)); return *this; }
166 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(Aws::String&& key, const char* value) { m_optimizationEnvironment.emplace(std::move(key), value); return *this; }
167 inline DescribeOptimizationJobResult& AddOptimizationEnvironment(const char* key, const char* value) { m_optimizationEnvironment.emplace(key, value); return *this; }
169
171
175 inline const OptimizationJobDeploymentInstanceType& GetDeploymentInstanceType() const{ return m_deploymentInstanceType; }
176 inline void SetDeploymentInstanceType(const OptimizationJobDeploymentInstanceType& value) { m_deploymentInstanceType = value; }
177 inline void SetDeploymentInstanceType(OptimizationJobDeploymentInstanceType&& value) { m_deploymentInstanceType = std::move(value); }
181
183
186 inline const Aws::Vector<OptimizationConfig>& GetOptimizationConfigs() const{ return m_optimizationConfigs; }
187 inline void SetOptimizationConfigs(const Aws::Vector<OptimizationConfig>& value) { m_optimizationConfigs = value; }
188 inline void SetOptimizationConfigs(Aws::Vector<OptimizationConfig>&& value) { m_optimizationConfigs = std::move(value); }
191 inline DescribeOptimizationJobResult& AddOptimizationConfigs(const OptimizationConfig& value) { m_optimizationConfigs.push_back(value); return *this; }
192 inline DescribeOptimizationJobResult& AddOptimizationConfigs(OptimizationConfig&& value) { m_optimizationConfigs.push_back(std::move(value)); return *this; }
194
196
200 inline const OptimizationJobOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
201 inline void SetOutputConfig(const OptimizationJobOutputConfig& value) { m_outputConfig = value; }
202 inline void SetOutputConfig(OptimizationJobOutputConfig&& value) { m_outputConfig = std::move(value); }
206
208
211 inline const OptimizationOutput& GetOptimizationOutput() const{ return m_optimizationOutput; }
212 inline void SetOptimizationOutput(const OptimizationOutput& value) { m_optimizationOutput = value; }
213 inline void SetOptimizationOutput(OptimizationOutput&& value) { m_optimizationOutput = std::move(value); }
217
219
222 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
223 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
224 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
225 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
226 inline DescribeOptimizationJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
227 inline DescribeOptimizationJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
228 inline DescribeOptimizationJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
230
232
233 inline const StoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
234 inline void SetStoppingCondition(const StoppingCondition& value) { m_stoppingCondition = value; }
235 inline void SetStoppingCondition(StoppingCondition&& value) { m_stoppingCondition = std::move(value); }
239
241
244 inline const OptimizationVpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
245 inline void SetVpcConfig(const OptimizationVpcConfig& value) { m_vpcConfig = value; }
246 inline void SetVpcConfig(OptimizationVpcConfig&& value) { m_vpcConfig = std::move(value); }
248 inline DescribeOptimizationJobResult& WithVpcConfig(OptimizationVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
250
252
253 inline const Aws::String& GetRequestId() const{ return m_requestId; }
254 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
255 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
256 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
257 inline DescribeOptimizationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
258 inline DescribeOptimizationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
259 inline DescribeOptimizationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
261 private:
262
263 Aws::String m_optimizationJobArn;
264
265 OptimizationJobStatus m_optimizationJobStatus;
266
267 Aws::Utils::DateTime m_optimizationStartTime;
268
269 Aws::Utils::DateTime m_optimizationEndTime;
270
271 Aws::Utils::DateTime m_creationTime;
272
273 Aws::Utils::DateTime m_lastModifiedTime;
274
275 Aws::String m_failureReason;
276
277 Aws::String m_optimizationJobName;
278
279 OptimizationJobModelSource m_modelSource;
280
281 Aws::Map<Aws::String, Aws::String> m_optimizationEnvironment;
282
283 OptimizationJobDeploymentInstanceType m_deploymentInstanceType;
284
285 Aws::Vector<OptimizationConfig> m_optimizationConfigs;
286
287 OptimizationJobOutputConfig m_outputConfig;
288
289 OptimizationOutput m_optimizationOutput;
290
291 Aws::String m_roleArn;
292
293 StoppingCondition m_stoppingCondition;
294
295 OptimizationVpcConfig m_vpcConfig;
296
297 Aws::String m_requestId;
298 };
299
300} // namespace Model
301} // namespace SageMaker
302} // namespace Aws
const OptimizationJobDeploymentInstanceType & GetDeploymentInstanceType() const
DescribeOptimizationJobResult & WithOptimizationEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
DescribeOptimizationJobResult & WithOptimizationConfigs(const Aws::Vector< OptimizationConfig > &value)
DescribeOptimizationJobResult & AddOptimizationConfigs(OptimizationConfig &&value)
DescribeOptimizationJobResult & AddOptimizationConfigs(const OptimizationConfig &value)
DescribeOptimizationJobResult & AddOptimizationEnvironment(const Aws::String &key, const Aws::String &value)
void SetOptimizationEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
DescribeOptimizationJobResult & WithOptimizationJobArn(const char *value)
DescribeOptimizationJobResult & AddOptimizationEnvironment(const char *key, const char *value)
DescribeOptimizationJobResult & WithOptimizationJobStatus(const OptimizationJobStatus &value)
const OptimizationJobOutputConfig & GetOutputConfig() const
void SetOptimizationJobStatus(const OptimizationJobStatus &value)
void SetDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
void SetOutputConfig(const OptimizationJobOutputConfig &value)
DescribeOptimizationJobResult & WithRequestId(const char *value)
DescribeOptimizationJobResult & WithOptimizationStartTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API DescribeOptimizationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOptimizationJobResult & AddOptimizationEnvironment(Aws::String &&key, const Aws::String &value)
DescribeOptimizationJobResult & AddOptimizationEnvironment(Aws::String &&key, Aws::String &&value)
DescribeOptimizationJobResult & WithOutputConfig(const OptimizationJobOutputConfig &value)
DescribeOptimizationJobResult & WithOptimizationJobArn(const Aws::String &value)
void SetOptimizationStartTime(const Aws::Utils::DateTime &value)
DescribeOptimizationJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeOptimizationJobResult & WithOptimizationJobName(Aws::String &&value)
const Aws::Vector< OptimizationConfig > & GetOptimizationConfigs() const
DescribeOptimizationJobResult & WithOutputConfig(OptimizationJobOutputConfig &&value)
DescribeOptimizationJobResult & WithFailureReason(const char *value)
DescribeOptimizationJobResult & WithFailureReason(const Aws::String &value)
void SetOptimizationEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
DescribeOptimizationJobResult & AddOptimizationEnvironment(const Aws::String &key, Aws::String &&value)
DescribeOptimizationJobResult & WithOptimizationOutput(const OptimizationOutput &value)
DescribeOptimizationJobResult & WithModelSource(OptimizationJobModelSource &&value)
DescribeOptimizationJobResult & WithOptimizationEndTime(Aws::Utils::DateTime &&value)
DescribeOptimizationJobResult & WithRoleArn(const char *value)
DescribeOptimizationJobResult & WithRequestId(const Aws::String &value)
DescribeOptimizationJobResult & WithRequestId(Aws::String &&value)
void SetDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
DescribeOptimizationJobResult & WithOptimizationJobArn(Aws::String &&value)
DescribeOptimizationJobResult & WithRoleArn(const Aws::String &value)
DescribeOptimizationJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeOptimizationJobResult & WithStoppingCondition(const StoppingCondition &value)
AWS_SAGEMAKER_API DescribeOptimizationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOptimizationJobResult & AddOptimizationEnvironment(const char *key, Aws::String &&value)
void SetModelSource(const OptimizationJobModelSource &value)
DescribeOptimizationJobResult & WithOptimizationEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
DescribeOptimizationJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeOptimizationJobResult & WithRoleArn(Aws::String &&value)
DescribeOptimizationJobResult & WithOptimizationOutput(OptimizationOutput &&value)
DescribeOptimizationJobResult & WithVpcConfig(OptimizationVpcConfig &&value)
DescribeOptimizationJobResult & WithOptimizationJobStatus(OptimizationJobStatus &&value)
const Aws::Map< Aws::String, Aws::String > & GetOptimizationEnvironment() const
DescribeOptimizationJobResult & WithFailureReason(Aws::String &&value)
DescribeOptimizationJobResult & WithOptimizationJobName(const Aws::String &value)
DescribeOptimizationJobResult & WithOptimizationEndTime(const Aws::Utils::DateTime &value)
DescribeOptimizationJobResult & WithStoppingCondition(StoppingCondition &&value)
DescribeOptimizationJobResult & WithOptimizationConfigs(Aws::Vector< OptimizationConfig > &&value)
DescribeOptimizationJobResult & WithOptimizationJobName(const char *value)
DescribeOptimizationJobResult & WithModelSource(const OptimizationJobModelSource &value)
void SetOptimizationConfigs(Aws::Vector< OptimizationConfig > &&value)
DescribeOptimizationJobResult & WithVpcConfig(const OptimizationVpcConfig &value)
DescribeOptimizationJobResult & WithDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
DescribeOptimizationJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeOptimizationJobResult & WithOptimizationStartTime(const Aws::Utils::DateTime &value)
DescribeOptimizationJobResult & AddOptimizationEnvironment(Aws::String &&key, const char *value)
void SetOptimizationConfigs(const Aws::Vector< OptimizationConfig > &value)
DescribeOptimizationJobResult & WithDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
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