AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialComponentSummary.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/TrialComponentSource.h>
10#include <aws/sagemaker/model/TrialComponentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.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
40 {
41 public:
42 AWS_SAGEMAKER_API TrialComponentSummary();
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
53 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
54 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
55 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
56 inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
58 inline TrialComponentSummary& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
59 inline TrialComponentSummary& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
61
63
66 inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; }
67 inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
68 inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = value; }
69 inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::move(value); }
70 inline void SetTrialComponentArn(const char* value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn.assign(value); }
71 inline TrialComponentSummary& WithTrialComponentArn(const Aws::String& value) { SetTrialComponentArn(value); return *this;}
72 inline TrialComponentSummary& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;}
73 inline TrialComponentSummary& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;}
75
77
81 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
82 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
83 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
84 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
85 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
86 inline TrialComponentSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
87 inline TrialComponentSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
88 inline TrialComponentSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
90
92
93 inline const TrialComponentSource& GetTrialComponentSource() const{ return m_trialComponentSource; }
94 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
95 inline void SetTrialComponentSource(const TrialComponentSource& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = value; }
96 inline void SetTrialComponentSource(TrialComponentSource&& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = std::move(value); }
100
102
106 inline const TrialComponentStatus& GetStatus() const{ return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(const TrialComponentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 inline void SetStatus(TrialComponentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 inline TrialComponentSummary& WithStatus(const TrialComponentStatus& value) { SetStatus(value); return *this;}
111 inline TrialComponentSummary& WithStatus(TrialComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
119 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
120 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
121 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
122 inline TrialComponentSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
123 inline TrialComponentSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
131 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
132 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
133 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
134 inline TrialComponentSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
135 inline TrialComponentSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
143 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
144 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
145 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
146 inline TrialComponentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
147 inline TrialComponentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
149
151
154 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
155 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
156 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
157 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
158 inline TrialComponentSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
159 inline TrialComponentSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
167 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
168 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
169 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
171 inline TrialComponentSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
173
175
178 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
179 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
180 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
181 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
182 inline TrialComponentSummary& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
183 inline TrialComponentSummary& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
185 private:
186
187 Aws::String m_trialComponentName;
188 bool m_trialComponentNameHasBeenSet = false;
189
190 Aws::String m_trialComponentArn;
191 bool m_trialComponentArnHasBeenSet = false;
192
193 Aws::String m_displayName;
194 bool m_displayNameHasBeenSet = false;
195
196 TrialComponentSource m_trialComponentSource;
197 bool m_trialComponentSourceHasBeenSet = false;
198
199 TrialComponentStatus m_status;
200 bool m_statusHasBeenSet = false;
201
202 Aws::Utils::DateTime m_startTime;
203 bool m_startTimeHasBeenSet = false;
204
205 Aws::Utils::DateTime m_endTime;
206 bool m_endTimeHasBeenSet = false;
207
208 Aws::Utils::DateTime m_creationTime;
209 bool m_creationTimeHasBeenSet = false;
210
211 UserContext m_createdBy;
212 bool m_createdByHasBeenSet = false;
213
214 Aws::Utils::DateTime m_lastModifiedTime;
215 bool m_lastModifiedTimeHasBeenSet = false;
216
217 UserContext m_lastModifiedBy;
218 bool m_lastModifiedByHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace SageMaker
223} // namespace Aws
TrialComponentSummary & WithTrialComponentArn(Aws::String &&value)
TrialComponentSummary & WithStartTime(const Aws::Utils::DateTime &value)
TrialComponentSummary & WithLastModifiedBy(const UserContext &value)
const Aws::Utils::DateTime & GetEndTime() const
TrialComponentSummary & WithTrialComponentName(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API TrialComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSummary & WithDisplayName(const Aws::String &value)
TrialComponentSummary & WithStatus(const TrialComponentStatus &value)
TrialComponentSummary & WithTrialComponentArn(const char *value)
TrialComponentSummary & WithLastModifiedBy(UserContext &&value)
TrialComponentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
TrialComponentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTrialComponentName(const Aws::String &value)
TrialComponentSummary & WithTrialComponentSource(TrialComponentSource &&value)
TrialComponentSummary & WithTrialComponentArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
TrialComponentSummary & WithStatus(TrialComponentStatus &&value)
TrialComponentSummary & WithDisplayName(const char *value)
TrialComponentSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
TrialComponentSummary & WithTrialComponentName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStartTime(Aws::Utils::DateTime &&value)
void SetTrialComponentSource(const TrialComponentSource &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(TrialComponentStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSummary & WithStartTime(Aws::Utils::DateTime &&value)
TrialComponentSummary & WithCreatedBy(const UserContext &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
TrialComponentSummary & WithEndTime(const Aws::Utils::DateTime &value)
const TrialComponentStatus & GetStatus() const
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API TrialComponentSummary(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSummary & WithDisplayName(Aws::String &&value)
const TrialComponentSource & GetTrialComponentSource() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrialComponentSummary & WithTrialComponentSource(const TrialComponentSource &value)
TrialComponentSummary & WithCreatedBy(UserContext &&value)
TrialComponentSummary & WithTrialComponentName(const char *value)
void SetStatus(const TrialComponentStatus &value)
TrialComponentSummary & WithEndTime(Aws::Utils::DateTime &&value)
void SetTrialComponentSource(TrialComponentSource &&value)
TrialComponentSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTrialComponentArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue