AWS SDK for C++  1.9.160
AWS SDK for C++
Experiment.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SageMaker
27 {
28 namespace Model
29 {
30 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
50 
54  inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
55 
59  inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
60 
64  inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
65 
69  inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
70 
74  inline Experiment& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
75 
79  inline Experiment& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
80 
84  inline Experiment& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
85 
86 
90  inline const Aws::String& GetExperimentArn() const{ return m_experimentArn; }
91 
95  inline bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; }
96 
100  inline void SetExperimentArn(const Aws::String& value) { m_experimentArnHasBeenSet = true; m_experimentArn = value; }
101 
105  inline void SetExperimentArn(Aws::String&& value) { m_experimentArnHasBeenSet = true; m_experimentArn = std::move(value); }
106 
110  inline void SetExperimentArn(const char* value) { m_experimentArnHasBeenSet = true; m_experimentArn.assign(value); }
111 
115  inline Experiment& WithExperimentArn(const Aws::String& value) { SetExperimentArn(value); return *this;}
116 
120  inline Experiment& WithExperimentArn(Aws::String&& value) { SetExperimentArn(std::move(value)); return *this;}
121 
125  inline Experiment& WithExperimentArn(const char* value) { SetExperimentArn(value); return *this;}
126 
127 
132  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
133 
138  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
139 
144  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
145 
150  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
151 
156  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
157 
162  inline Experiment& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
163 
168  inline Experiment& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
169 
174  inline Experiment& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
175 
176 
177 
178  inline const ExperimentSource& GetSource() const{ return m_source; }
179 
180 
181  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
182 
183 
184  inline void SetSource(const ExperimentSource& value) { m_sourceHasBeenSet = true; m_source = value; }
185 
186 
187  inline void SetSource(ExperimentSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
188 
189 
190  inline Experiment& WithSource(const ExperimentSource& value) { SetSource(value); return *this;}
191 
192 
193  inline Experiment& WithSource(ExperimentSource&& value) { SetSource(std::move(value)); return *this;}
194 
195 
199  inline const Aws::String& GetDescription() const{ return m_description; }
200 
204  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
205 
209  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
210 
214  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
215 
219  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
220 
224  inline Experiment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
225 
229  inline Experiment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
230 
234  inline Experiment& WithDescription(const char* value) { SetDescription(value); return *this;}
235 
236 
240  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
241 
245  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
246 
250  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
251 
255  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
256 
260  inline Experiment& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
261 
265  inline Experiment& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
266 
267 
271  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
272 
276  inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
277 
281  inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
282 
286  inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
287 
291  inline Experiment& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
292 
296  inline Experiment& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
297 
298 
302  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
303 
307  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
308 
312  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
313 
317  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
318 
322  inline Experiment& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
323 
327  inline Experiment& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
328 
329 
330 
331  inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
332 
333 
334  inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
335 
336 
337  inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
338 
339 
340  inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
341 
342 
343  inline Experiment& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
344 
345 
346  inline Experiment& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
347 
348 
353  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
354 
359  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
360 
365  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
366 
371  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
372 
377  inline Experiment& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
378 
383  inline Experiment& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
384 
389  inline Experiment& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
390 
395  inline Experiment& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
396 
397  private:
398 
399  Aws::String m_experimentName;
400  bool m_experimentNameHasBeenSet;
401 
402  Aws::String m_experimentArn;
403  bool m_experimentArnHasBeenSet;
404 
405  Aws::String m_displayName;
406  bool m_displayNameHasBeenSet;
407 
408  ExperimentSource m_source;
409  bool m_sourceHasBeenSet;
410 
411  Aws::String m_description;
412  bool m_descriptionHasBeenSet;
413 
414  Aws::Utils::DateTime m_creationTime;
415  bool m_creationTimeHasBeenSet;
416 
417  UserContext m_createdBy;
418  bool m_createdByHasBeenSet;
419 
420  Aws::Utils::DateTime m_lastModifiedTime;
421  bool m_lastModifiedTimeHasBeenSet;
422 
423  UserContext m_lastModifiedBy;
424  bool m_lastModifiedByHasBeenSet;
425 
426  Aws::Vector<Tag> m_tags;
427  bool m_tagsHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace SageMaker
432 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SageMaker::Model::Experiment::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Experiment.h:365
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Experiment::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Experiment.h:255
Aws::SageMaker::Model::Experiment::WithExperimentArn
Experiment & WithExperimentArn(const Aws::String &value)
Definition: Experiment.h:115
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Experiment::ExperimentArnHasBeenSet
bool ExperimentArnHasBeenSet() const
Definition: Experiment.h:95
Aws::SageMaker::Model::Experiment::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: Experiment.h:286
Aws::SageMaker::Model::Experiment::SetDisplayName
void SetDisplayName(const char *value)
Definition: Experiment.h:156
Aws::SageMaker::Model::Experiment::Experiment
Experiment()
Aws::SageMaker::Model::Experiment::GetSource
const ExperimentSource & GetSource() const
Definition: Experiment.h:178
Aws::SageMaker::Model::Experiment::WithDescription
Experiment & WithDescription(const char *value)
Definition: Experiment.h:234
Aws::SageMaker::Model::Experiment::SetExperimentArn
void SetExperimentArn(Aws::String &&value)
Definition: Experiment.h:105
DateTime.h
Aws::SageMaker::Model::Experiment::WithLastModifiedTime
Experiment & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Experiment.h:327
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::Experiment::WithDescription
Experiment & WithDescription(const Aws::String &value)
Definition: Experiment.h:224
Aws::SageMaker::Model::Experiment::SetSource
void SetSource(const ExperimentSource &value)
Definition: Experiment.h:184
Aws::SageMaker::Model::Experiment::WithExperimentName
Experiment & WithExperimentName(const Aws::String &value)
Definition: Experiment.h:74
Aws::SageMaker::Model::Experiment::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: Experiment.h:59
UserContext.h
AWSVector.h
Aws::SageMaker::Model::Experiment::WithLastModifiedTime
Experiment & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Experiment.h:322
Aws::SageMaker::Model::Experiment::ExperimentNameHasBeenSet
bool ExperimentNameHasBeenSet() const
Definition: Experiment.h:54
Aws::SageMaker::Model::Experiment::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: Experiment.h:144
Aws::SageMaker::Model::Experiment::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: Experiment.h:271
Aws::SageMaker::Model::Experiment::GetDescription
const Aws::String & GetDescription() const
Definition: Experiment.h:199
Aws::SageMaker::Model::Experiment::WithExperimentName
Experiment & WithExperimentName(const char *value)
Definition: Experiment.h:84
Aws::SageMaker::Model::Experiment::WithDescription
Experiment & WithDescription(Aws::String &&value)
Definition: Experiment.h:229
Aws::SageMaker::Model::Experiment::WithExperimentArn
Experiment & WithExperimentArn(Aws::String &&value)
Definition: Experiment.h:120
Aws::SageMaker::Model::Experiment::WithTags
Experiment & WithTags(const Aws::Vector< Tag > &value)
Definition: Experiment.h:377
Aws::SageMaker::Model::Experiment::WithDisplayName
Experiment & WithDisplayName(const char *value)
Definition: Experiment.h:174
Aws::SageMaker::Model::Experiment::WithDisplayName
Experiment & WithDisplayName(const Aws::String &value)
Definition: Experiment.h:162
Aws::SageMaker::Model::Experiment::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: Experiment.h:132
Aws::SageMaker::Model::Experiment::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Experiment.h:353
Aws::SageMaker::Model::Experiment::SetExperimentArn
void SetExperimentArn(const Aws::String &value)
Definition: Experiment.h:100
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Experiment::SetLastModifiedBy
void SetLastModifiedBy(UserContext &&value)
Definition: Experiment.h:340
Aws::SageMaker::Model::Experiment::WithSource
Experiment & WithSource(ExperimentSource &&value)
Definition: Experiment.h:193
Aws::SageMaker::Model::Experiment::WithExperimentArn
Experiment & WithExperimentArn(const char *value)
Definition: Experiment.h:125
Aws::SageMaker::Model::Experiment::GetExperimentArn
const Aws::String & GetExperimentArn() const
Definition: Experiment.h:90
Aws::SageMaker::Model::Experiment::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Experiment.h:359
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ExperimentSource
Definition: ExperimentSource.h:32
Aws::SageMaker::Model::Experiment::WithCreationTime
Experiment & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Experiment.h:260
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Experiment::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: Experiment.h:302
Aws::SageMaker::Model::Experiment::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Experiment.h:371
Aws::SageMaker::Model::Experiment::SetLastModifiedBy
void SetLastModifiedBy(const UserContext &value)
Definition: Experiment.h:337
Tag.h
Aws::SageMaker::Model::Experiment::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: Experiment.h:312
Aws::SageMaker::Model::Experiment::WithCreatedBy
Experiment & WithCreatedBy(UserContext &&value)
Definition: Experiment.h:296
Aws::SageMaker::Model::Experiment::WithLastModifiedBy
Experiment & WithLastModifiedBy(UserContext &&value)
Definition: Experiment.h:346
ExperimentSource.h
Aws::SageMaker::Model::Experiment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Experiment::WithDisplayName
Experiment & WithDisplayName(Aws::String &&value)
Definition: Experiment.h:168
Aws::SageMaker::Model::Experiment::AddTags
Experiment & AddTags(const Tag &value)
Definition: Experiment.h:389
Aws::SageMaker::Model::Experiment::SetDescription
void SetDescription(const Aws::String &value)
Definition: Experiment.h:209
Aws::SageMaker::Model::Experiment::WithExperimentName
Experiment & WithExperimentName(Aws::String &&value)
Definition: Experiment.h:79
Aws::SageMaker::Model::Experiment::WithTags
Experiment & WithTags(Aws::Vector< Tag > &&value)
Definition: Experiment.h:383
Aws::SageMaker::Model::Experiment::operator=
Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Experiment::CreatedByHasBeenSet
bool CreatedByHasBeenSet() const
Definition: Experiment.h:276
Aws::SageMaker::Model::Experiment::WithLastModifiedBy
Experiment & WithLastModifiedBy(const UserContext &value)
Definition: Experiment.h:343
Aws::SageMaker::Model::Experiment::SetDescription
void SetDescription(Aws::String &&value)
Definition: Experiment.h:214
Aws::SageMaker::Model::Experiment::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: Experiment.h:181
Aws::SageMaker::Model::Experiment::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: Experiment.h:150
Aws::SageMaker::Model::Experiment::SetDescription
void SetDescription(const char *value)
Definition: Experiment.h:219
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Experiment::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Experiment.h:245
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Experiment::WithCreationTime
Experiment & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Experiment.h:265
Aws::SageMaker::Model::Experiment::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Experiment.h:240
Aws::SageMaker::Model::Experiment::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Experiment.h:204
Aws::SageMaker::Model::Experiment::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: Experiment.h:307
Aws::SageMaker::Model::Experiment
Definition: Experiment.h:38
Aws::SageMaker::Model::Experiment::SetExperimentArn
void SetExperimentArn(const char *value)
Definition: Experiment.h:110
Aws::SageMaker::Model::Experiment::SetSource
void SetSource(ExperimentSource &&value)
Definition: Experiment.h:187
Aws::SageMaker::Model::Experiment::WithCreatedBy
Experiment & WithCreatedBy(const UserContext &value)
Definition: Experiment.h:291
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Experiment::Experiment
Experiment(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Experiment::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: Experiment.h:49
Aws::SageMaker::Model::Experiment::AddTags
Experiment & AddTags(Tag &&value)
Definition: Experiment.h:395
Aws::SageMaker::Model::Experiment::SetExperimentName
void SetExperimentName(const char *value)
Definition: Experiment.h:69
Aws::SageMaker::Model::Experiment::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: Experiment.h:281
Aws::SageMaker::Model::Experiment::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Experiment.h:250
Aws::SageMaker::Model::Experiment::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: Experiment.h:138
Aws::SageMaker::Model::Experiment::GetLastModifiedBy
const UserContext & GetLastModifiedBy() const
Definition: Experiment.h:331
Aws::SageMaker::Model::Experiment::LastModifiedByHasBeenSet
bool LastModifiedByHasBeenSet() const
Definition: Experiment.h:334
Aws::SageMaker::Model::Experiment::WithSource
Experiment & WithSource(const ExperimentSource &value)
Definition: Experiment.h:190
Aws::SageMaker::Model::Experiment::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: Experiment.h:317
Aws::SageMaker::Model::Experiment::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: Experiment.h:64