AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingJobSummary.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/TrainingJobStatus.h>
11#include <aws/sagemaker/model/SecondaryStatus.h>
12#include <aws/sagemaker/model/WarmPoolStatus.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 TrainingJobSummary();
40 AWS_SAGEMAKER_API TrainingJobSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; }
50 inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; }
51 inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; }
52 inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); }
53 inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); }
54 inline TrainingJobSummary& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;}
55 inline TrainingJobSummary& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
56 inline TrainingJobSummary& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
58
60
63 inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; }
64 inline bool TrainingJobArnHasBeenSet() const { return m_trainingJobArnHasBeenSet; }
65 inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = value; }
66 inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::move(value); }
67 inline void SetTrainingJobArn(const char* value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn.assign(value); }
68 inline TrainingJobSummary& WithTrainingJobArn(const Aws::String& value) { SetTrainingJobArn(value); return *this;}
69 inline TrainingJobSummary& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;}
70 inline TrainingJobSummary& WithTrainingJobArn(const char* value) { SetTrainingJobArn(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 TrainingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
82 inline TrainingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
84
86
91 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
92 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
93 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
94 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
96 inline TrainingJobSummary& WithTrainingEndTime(Aws::Utils::DateTime&& value) { SetTrainingEndTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
104 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
105 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
106 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
108 inline TrainingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
110
112
115 inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; }
116 inline bool TrainingJobStatusHasBeenSet() const { return m_trainingJobStatusHasBeenSet; }
117 inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = value; }
118 inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = std::move(value); }
120 inline TrainingJobSummary& WithTrainingJobStatus(TrainingJobStatus&& value) { SetTrainingJobStatus(std::move(value)); return *this;}
122
124
127 inline const SecondaryStatus& GetSecondaryStatus() const{ return m_secondaryStatus; }
128 inline bool SecondaryStatusHasBeenSet() const { return m_secondaryStatusHasBeenSet; }
129 inline void SetSecondaryStatus(const SecondaryStatus& value) { m_secondaryStatusHasBeenSet = true; m_secondaryStatus = value; }
130 inline void SetSecondaryStatus(SecondaryStatus&& value) { m_secondaryStatusHasBeenSet = true; m_secondaryStatus = std::move(value); }
131 inline TrainingJobSummary& WithSecondaryStatus(const SecondaryStatus& value) { SetSecondaryStatus(value); return *this;}
132 inline TrainingJobSummary& WithSecondaryStatus(SecondaryStatus&& value) { SetSecondaryStatus(std::move(value)); return *this;}
134
136
139 inline const WarmPoolStatus& GetWarmPoolStatus() const{ return m_warmPoolStatus; }
140 inline bool WarmPoolStatusHasBeenSet() const { return m_warmPoolStatusHasBeenSet; }
141 inline void SetWarmPoolStatus(const WarmPoolStatus& value) { m_warmPoolStatusHasBeenSet = true; m_warmPoolStatus = value; }
142 inline void SetWarmPoolStatus(WarmPoolStatus&& value) { m_warmPoolStatusHasBeenSet = true; m_warmPoolStatus = std::move(value); }
143 inline TrainingJobSummary& WithWarmPoolStatus(const WarmPoolStatus& value) { SetWarmPoolStatus(value); return *this;}
144 inline TrainingJobSummary& WithWarmPoolStatus(WarmPoolStatus&& value) { SetWarmPoolStatus(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_trainingJobName;
149 bool m_trainingJobNameHasBeenSet = false;
150
151 Aws::String m_trainingJobArn;
152 bool m_trainingJobArnHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationTime;
155 bool m_creationTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_trainingEndTime;
158 bool m_trainingEndTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastModifiedTime;
161 bool m_lastModifiedTimeHasBeenSet = false;
162
163 TrainingJobStatus m_trainingJobStatus;
164 bool m_trainingJobStatusHasBeenSet = false;
165
166 SecondaryStatus m_secondaryStatus;
167 bool m_secondaryStatusHasBeenSet = false;
168
169 WarmPoolStatus m_warmPoolStatus;
170 bool m_warmPoolStatusHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace SageMaker
175} // namespace Aws
TrainingJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const SecondaryStatus & GetSecondaryStatus() const
const Aws::Utils::DateTime & GetCreationTime() const
TrainingJobSummary & WithWarmPoolStatus(const WarmPoolStatus &value)
TrainingJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
TrainingJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetTrainingJobArn() const
TrainingJobSummary & WithTrainingJobName(const char *value)
TrainingJobSummary & WithWarmPoolStatus(WarmPoolStatus &&value)
void SetSecondaryStatus(const SecondaryStatus &value)
TrainingJobSummary & WithSecondaryStatus(SecondaryStatus &&value)
const Aws::String & GetTrainingJobName() const
void SetTrainingEndTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API TrainingJobSummary(Aws::Utils::Json::JsonView jsonValue)
TrainingJobSummary & WithTrainingJobArn(const char *value)
TrainingJobSummary & WithTrainingJobArn(Aws::String &&value)
TrainingJobSummary & WithTrainingJobArn(const Aws::String &value)
void SetSecondaryStatus(SecondaryStatus &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const WarmPoolStatus & GetWarmPoolStatus() const
void SetTrainingEndTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetWarmPoolStatus(const WarmPoolStatus &value)
const TrainingJobStatus & GetTrainingJobStatus() const
void SetTrainingJobName(const Aws::String &value)
void SetTrainingJobStatus(const TrainingJobStatus &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API TrainingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingJobSummary & WithTrainingJobName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
TrainingJobSummary & WithTrainingEndTime(Aws::Utils::DateTime &&value)
TrainingJobSummary & WithSecondaryStatus(const SecondaryStatus &value)
TrainingJobSummary & WithTrainingJobStatus(TrainingJobStatus &&value)
TrainingJobSummary & WithTrainingJobStatus(const TrainingJobStatus &value)
TrainingJobSummary & WithTrainingEndTime(const Aws::Utils::DateTime &value)
void SetTrainingJobStatus(TrainingJobStatus &&value)
TrainingJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetWarmPoolStatus(WarmPoolStatus &&value)
TrainingJobSummary & WithTrainingJobName(const Aws::String &value)
void SetTrainingJobArn(const Aws::String &value)
const Aws::Utils::DateTime & GetTrainingEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue