AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptimizationJobSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/OptimizationJobStatus.h>
11#include <aws/sagemaker/model/OptimizationJobDeploymentInstanceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API OptimizationJobSummary();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetOptimizationJobName() const{ return m_optimizationJobName; }
50 inline bool OptimizationJobNameHasBeenSet() const { return m_optimizationJobNameHasBeenSet; }
51 inline void SetOptimizationJobName(const Aws::String& value) { m_optimizationJobNameHasBeenSet = true; m_optimizationJobName = value; }
52 inline void SetOptimizationJobName(Aws::String&& value) { m_optimizationJobNameHasBeenSet = true; m_optimizationJobName = std::move(value); }
53 inline void SetOptimizationJobName(const char* value) { m_optimizationJobNameHasBeenSet = true; m_optimizationJobName.assign(value); }
55 inline OptimizationJobSummary& WithOptimizationJobName(Aws::String&& value) { SetOptimizationJobName(std::move(value)); return *this;}
56 inline OptimizationJobSummary& WithOptimizationJobName(const char* value) { SetOptimizationJobName(value); return *this;}
58
60
63 inline const Aws::String& GetOptimizationJobArn() const{ return m_optimizationJobArn; }
64 inline bool OptimizationJobArnHasBeenSet() const { return m_optimizationJobArnHasBeenSet; }
65 inline void SetOptimizationJobArn(const Aws::String& value) { m_optimizationJobArnHasBeenSet = true; m_optimizationJobArn = value; }
66 inline void SetOptimizationJobArn(Aws::String&& value) { m_optimizationJobArnHasBeenSet = true; m_optimizationJobArn = std::move(value); }
67 inline void SetOptimizationJobArn(const char* value) { m_optimizationJobArnHasBeenSet = true; m_optimizationJobArn.assign(value); }
69 inline OptimizationJobSummary& WithOptimizationJobArn(Aws::String&& value) { SetOptimizationJobArn(std::move(value)); return *this;}
70 inline OptimizationJobSummary& WithOptimizationJobArn(const char* value) { SetOptimizationJobArn(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
78 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
79 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
80 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
81 inline OptimizationJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
82 inline OptimizationJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
84
86
89 inline const OptimizationJobStatus& GetOptimizationJobStatus() const{ return m_optimizationJobStatus; }
90 inline bool OptimizationJobStatusHasBeenSet() const { return m_optimizationJobStatusHasBeenSet; }
91 inline void SetOptimizationJobStatus(const OptimizationJobStatus& value) { m_optimizationJobStatusHasBeenSet = true; m_optimizationJobStatus = value; }
92 inline void SetOptimizationJobStatus(OptimizationJobStatus&& value) { m_optimizationJobStatusHasBeenSet = true; m_optimizationJobStatus = std::move(value); }
96
98
101 inline const Aws::Utils::DateTime& GetOptimizationStartTime() const{ return m_optimizationStartTime; }
102 inline bool OptimizationStartTimeHasBeenSet() const { return m_optimizationStartTimeHasBeenSet; }
103 inline void SetOptimizationStartTime(const Aws::Utils::DateTime& value) { m_optimizationStartTimeHasBeenSet = true; m_optimizationStartTime = value; }
104 inline void SetOptimizationStartTime(Aws::Utils::DateTime&& value) { m_optimizationStartTimeHasBeenSet = true; m_optimizationStartTime = std::move(value); }
108
110
113 inline const Aws::Utils::DateTime& GetOptimizationEndTime() const{ return m_optimizationEndTime; }
114 inline bool OptimizationEndTimeHasBeenSet() const { return m_optimizationEndTimeHasBeenSet; }
115 inline void SetOptimizationEndTime(const Aws::Utils::DateTime& value) { m_optimizationEndTimeHasBeenSet = true; m_optimizationEndTime = value; }
116 inline void SetOptimizationEndTime(Aws::Utils::DateTime&& value) { m_optimizationEndTimeHasBeenSet = true; m_optimizationEndTime = std::move(value); }
120
122
125 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
126 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
127 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
128 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
130 inline OptimizationJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
132
134
138 inline const OptimizationJobDeploymentInstanceType& GetDeploymentInstanceType() const{ return m_deploymentInstanceType; }
139 inline bool DeploymentInstanceTypeHasBeenSet() const { return m_deploymentInstanceTypeHasBeenSet; }
140 inline void SetDeploymentInstanceType(const OptimizationJobDeploymentInstanceType& value) { m_deploymentInstanceTypeHasBeenSet = true; m_deploymentInstanceType = value; }
141 inline void SetDeploymentInstanceType(OptimizationJobDeploymentInstanceType&& value) { m_deploymentInstanceTypeHasBeenSet = true; m_deploymentInstanceType = std::move(value); }
145
147
150 inline const Aws::Vector<Aws::String>& GetOptimizationTypes() const{ return m_optimizationTypes; }
151 inline bool OptimizationTypesHasBeenSet() const { return m_optimizationTypesHasBeenSet; }
152 inline void SetOptimizationTypes(const Aws::Vector<Aws::String>& value) { m_optimizationTypesHasBeenSet = true; m_optimizationTypes = value; }
153 inline void SetOptimizationTypes(Aws::Vector<Aws::String>&& value) { m_optimizationTypesHasBeenSet = true; m_optimizationTypes = std::move(value); }
156 inline OptimizationJobSummary& AddOptimizationTypes(const Aws::String& value) { m_optimizationTypesHasBeenSet = true; m_optimizationTypes.push_back(value); return *this; }
157 inline OptimizationJobSummary& AddOptimizationTypes(Aws::String&& value) { m_optimizationTypesHasBeenSet = true; m_optimizationTypes.push_back(std::move(value)); return *this; }
158 inline OptimizationJobSummary& AddOptimizationTypes(const char* value) { m_optimizationTypesHasBeenSet = true; m_optimizationTypes.push_back(value); return *this; }
160 private:
161
162 Aws::String m_optimizationJobName;
163 bool m_optimizationJobNameHasBeenSet = false;
164
165 Aws::String m_optimizationJobArn;
166 bool m_optimizationJobArnHasBeenSet = false;
167
168 Aws::Utils::DateTime m_creationTime;
169 bool m_creationTimeHasBeenSet = false;
170
171 OptimizationJobStatus m_optimizationJobStatus;
172 bool m_optimizationJobStatusHasBeenSet = false;
173
174 Aws::Utils::DateTime m_optimizationStartTime;
175 bool m_optimizationStartTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_optimizationEndTime;
178 bool m_optimizationEndTimeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedTime;
181 bool m_lastModifiedTimeHasBeenSet = false;
182
183 OptimizationJobDeploymentInstanceType m_deploymentInstanceType;
184 bool m_deploymentInstanceTypeHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_optimizationTypes;
187 bool m_optimizationTypesHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SageMaker
192} // namespace Aws
void SetOptimizationStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetOptimizationEndTime() const
OptimizationJobSummary & WithOptimizationJobName(Aws::String &&value)
AWS_SAGEMAKER_API OptimizationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OptimizationJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetOptimizationStartTime() const
const Aws::Vector< Aws::String > & GetOptimizationTypes() const
OptimizationJobSummary & WithOptimizationJobStatus(const OptimizationJobStatus &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetOptimizationEndTime(const Aws::Utils::DateTime &value)
OptimizationJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API OptimizationJobSummary(Aws::Utils::Json::JsonView jsonValue)
const OptimizationJobStatus & GetOptimizationJobStatus() const
void SetOptimizationJobName(const Aws::String &value)
OptimizationJobSummary & WithOptimizationJobArn(Aws::String &&value)
OptimizationJobSummary & WithOptimizationJobName(const Aws::String &value)
OptimizationJobSummary & WithDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
OptimizationJobSummary & WithOptimizationEndTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetOptimizationJobStatus(OptimizationJobStatus &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
OptimizationJobSummary & WithOptimizationTypes(const Aws::Vector< Aws::String > &value)
OptimizationJobSummary & AddOptimizationTypes(Aws::String &&value)
void SetOptimizationJobStatus(const OptimizationJobStatus &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
OptimizationJobSummary & WithOptimizationTypes(Aws::Vector< Aws::String > &&value)
const OptimizationJobDeploymentInstanceType & GetDeploymentInstanceType() const
void SetDeploymentInstanceType(const OptimizationJobDeploymentInstanceType &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
OptimizationJobSummary & WithOptimizationJobArn(const Aws::String &value)
OptimizationJobSummary & WithOptimizationJobName(const char *value)
OptimizationJobSummary & WithOptimizationStartTime(const Aws::Utils::DateTime &value)
void SetOptimizationEndTime(Aws::Utils::DateTime &&value)
void SetOptimizationStartTime(const Aws::Utils::DateTime &value)
OptimizationJobSummary & AddOptimizationTypes(const Aws::String &value)
OptimizationJobSummary & WithOptimizationJobArn(const char *value)
OptimizationJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetOptimizationTypes(const Aws::Vector< Aws::String > &value)
OptimizationJobSummary & WithOptimizationStartTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetOptimizationTypes(Aws::Vector< Aws::String > &&value)
OptimizationJobSummary & WithDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
OptimizationJobSummary & WithOptimizationJobStatus(OptimizationJobStatus &&value)
OptimizationJobSummary & WithOptimizationEndTime(const Aws::Utils::DateTime &value)
OptimizationJobSummary & AddOptimizationTypes(const char *value)
OptimizationJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDeploymentInstanceType(OptimizationJobDeploymentInstanceType &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue