AWS SDK for C++  1.9.158
AWS SDK for C++
TrainingJobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; }
47 
51  inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; }
52 
56  inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; }
57 
61  inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); }
62 
66  inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); }
67 
71  inline TrainingJobSummary& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;}
72 
76  inline TrainingJobSummary& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
77 
81  inline TrainingJobSummary& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
82 
83 
87  inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; }
88 
92  inline bool TrainingJobArnHasBeenSet() const { return m_trainingJobArnHasBeenSet; }
93 
97  inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = value; }
98 
102  inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::move(value); }
103 
107  inline void SetTrainingJobArn(const char* value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn.assign(value); }
108 
112  inline TrainingJobSummary& WithTrainingJobArn(const Aws::String& value) { SetTrainingJobArn(value); return *this;}
113 
117  inline TrainingJobSummary& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;}
118 
122  inline TrainingJobSummary& WithTrainingJobArn(const char* value) { SetTrainingJobArn(value); return *this;}
123 
124 
128  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 
133  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 
138  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
139 
143  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
144 
148  inline TrainingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 
153  inline TrainingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
154 
155 
161  inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
162 
168  inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
169 
175  inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
176 
182  inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
183 
189  inline TrainingJobSummary& WithTrainingEndTime(const Aws::Utils::DateTime& value) { SetTrainingEndTime(value); return *this;}
190 
196  inline TrainingJobSummary& WithTrainingEndTime(Aws::Utils::DateTime&& value) { SetTrainingEndTime(std::move(value)); return *this;}
197 
198 
202  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
203 
207  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
208 
212  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
213 
217  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
218 
222  inline TrainingJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
223 
227  inline TrainingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
228 
229 
233  inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; }
234 
238  inline bool TrainingJobStatusHasBeenSet() const { return m_trainingJobStatusHasBeenSet; }
239 
243  inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = value; }
244 
248  inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = std::move(value); }
249 
253  inline TrainingJobSummary& WithTrainingJobStatus(const TrainingJobStatus& value) { SetTrainingJobStatus(value); return *this;}
254 
258  inline TrainingJobSummary& WithTrainingJobStatus(TrainingJobStatus&& value) { SetTrainingJobStatus(std::move(value)); return *this;}
259 
260  private:
261 
262  Aws::String m_trainingJobName;
263  bool m_trainingJobNameHasBeenSet;
264 
265  Aws::String m_trainingJobArn;
266  bool m_trainingJobArnHasBeenSet;
267 
268  Aws::Utils::DateTime m_creationTime;
269  bool m_creationTimeHasBeenSet;
270 
271  Aws::Utils::DateTime m_trainingEndTime;
272  bool m_trainingEndTimeHasBeenSet;
273 
274  Aws::Utils::DateTime m_lastModifiedTime;
275  bool m_lastModifiedTimeHasBeenSet;
276 
277  TrainingJobStatus m_trainingJobStatus;
278  bool m_trainingJobStatusHasBeenSet;
279  };
280 
281 } // namespace Model
282 } // namespace SageMaker
283 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::TrainingJobSummary::TrainingEndTimeHasBeenSet
bool TrainingEndTimeHasBeenSet() const
Definition: TrainingJobSummary.h:168
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrainingJobSummary::GetTrainingEndTime
const Aws::Utils::DateTime & GetTrainingEndTime() const
Definition: TrainingJobSummary.h:161
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrainingJobSummary::WithCreationTime
TrainingJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:153
Aws::SageMaker::Model::TrainingJobSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:138
Aws::SageMaker::Model::TrainingJobSummary::GetTrainingJobArn
const Aws::String & GetTrainingJobArn() const
Definition: TrainingJobSummary.h:87
DateTime.h
Aws::SageMaker::Model::TrainingJobSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:143
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobName
TrainingJobSummary & WithTrainingJobName(const char *value)
Definition: TrainingJobSummary.h:81
Aws::SageMaker::Model::TrainingJobSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: TrainingJobSummary.h:133
Aws::SageMaker::Model::TrainingJobSummary
Definition: TrainingJobSummary.h:35
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobName
void SetTrainingJobName(const char *value)
Definition: TrainingJobSummary.h:66
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobName
TrainingJobSummary & WithTrainingJobName(const Aws::String &value)
Definition: TrainingJobSummary.h:71
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobArn
void SetTrainingJobArn(const Aws::String &value)
Definition: TrainingJobSummary.h:97
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingEndTime
TrainingJobSummary & WithTrainingEndTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:196
Aws::SageMaker::Model::TrainingJobSummary::TrainingJobSummary
TrainingJobSummary()
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingEndTime
void SetTrainingEndTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:175
Aws::SageMaker::Model::TrainingJobSummary::WithLastModifiedTime
TrainingJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:222
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobStatus
TrainingJobSummary & WithTrainingJobStatus(const TrainingJobStatus &value)
Definition: TrainingJobSummary.h:253
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobArn
TrainingJobSummary & WithTrainingJobArn(const Aws::String &value)
Definition: TrainingJobSummary.h:112
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobName
void SetTrainingJobName(const Aws::String &value)
Definition: TrainingJobSummary.h:56
Aws::SageMaker::Model::TrainingJobSummary::TrainingJobSummary
TrainingJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrainingJobSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:212
Aws::SageMaker::Model::TrainingJobSummary::TrainingJobNameHasBeenSet
bool TrainingJobNameHasBeenSet() const
Definition: TrainingJobSummary.h:51
Aws::SageMaker::Model::TrainingJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
TrainingJobStatus.h
Aws::SageMaker::Model::TrainingJobSummary::GetTrainingJobName
const Aws::String & GetTrainingJobName() const
Definition: TrainingJobSummary.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobArn
TrainingJobSummary & WithTrainingJobArn(const char *value)
Definition: TrainingJobSummary.h:122
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrainingJobSummary::WithLastModifiedTime
TrainingJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:227
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobArn
TrainingJobSummary & WithTrainingJobArn(Aws::String &&value)
Definition: TrainingJobSummary.h:117
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobArn
void SetTrainingJobArn(Aws::String &&value)
Definition: TrainingJobSummary.h:102
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobStatus
TrainingJobSummary & WithTrainingJobStatus(TrainingJobStatus &&value)
Definition: TrainingJobSummary.h:258
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobStatus
void SetTrainingJobStatus(const TrainingJobStatus &value)
Definition: TrainingJobSummary.h:243
Aws::SageMaker::Model::TrainingJobSummary::operator=
TrainingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrainingJobSummary::WithCreationTime
TrainingJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:148
Aws::SageMaker::Model::TrainingJobSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: TrainingJobSummary.h:128
Aws::SageMaker::Model::TrainingJobSummary::GetTrainingJobStatus
const TrainingJobStatus & GetTrainingJobStatus() const
Definition: TrainingJobSummary.h:233
Aws::SageMaker::Model::TrainingJobSummary::TrainingJobArnHasBeenSet
bool TrainingJobArnHasBeenSet() const
Definition: TrainingJobSummary.h:92
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingEndTime
void SetTrainingEndTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:182
Aws::SageMaker::Model::TrainingJobSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: TrainingJobSummary.h:202
Aws::SageMaker::Model::TrainingJobStatus
TrainingJobStatus
Definition: TrainingJobStatus.h:17
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingJobName
TrainingJobSummary & WithTrainingJobName(Aws::String &&value)
Definition: TrainingJobSummary.h:76
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrainingJobSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: TrainingJobSummary.h:207
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrainingJobSummary::WithTrainingEndTime
TrainingJobSummary & WithTrainingEndTime(const Aws::Utils::DateTime &value)
Definition: TrainingJobSummary.h:189
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobStatus
void SetTrainingJobStatus(TrainingJobStatus &&value)
Definition: TrainingJobSummary.h:248
Aws::SageMaker::Model::TrainingJobSummary::TrainingJobStatusHasBeenSet
bool TrainingJobStatusHasBeenSet() const
Definition: TrainingJobSummary.h:238
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrainingJobSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: TrainingJobSummary.h:217
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobArn
void SetTrainingJobArn(const char *value)
Definition: TrainingJobSummary.h:107
Aws::SageMaker::Model::TrainingJobSummary::SetTrainingJobName
void SetTrainingJobName(Aws::String &&value)
Definition: TrainingJobSummary.h:61