AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Experiment.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/ExperimentSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_SAGEMAKER_API Experiment();
42 AWS_SAGEMAKER_API Experiment(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Experiment& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
52 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
53 inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
54 inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
55 inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
56 inline Experiment& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
57 inline Experiment& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
58 inline Experiment& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
60
62
65 inline const Aws::String& GetExperimentArn() const{ return m_experimentArn; }
66 inline bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; }
67 inline void SetExperimentArn(const Aws::String& value) { m_experimentArnHasBeenSet = true; m_experimentArn = value; }
68 inline void SetExperimentArn(Aws::String&& value) { m_experimentArnHasBeenSet = true; m_experimentArn = std::move(value); }
69 inline void SetExperimentArn(const char* value) { m_experimentArnHasBeenSet = true; m_experimentArn.assign(value); }
70 inline Experiment& WithExperimentArn(const Aws::String& value) { SetExperimentArn(value); return *this;}
71 inline Experiment& WithExperimentArn(Aws::String&& value) { SetExperimentArn(std::move(value)); return *this;}
72 inline Experiment& WithExperimentArn(const char* value) { SetExperimentArn(value); return *this;}
74
76
80 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
81 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
82 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
83 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
84 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
85 inline Experiment& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
86 inline Experiment& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
87 inline Experiment& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
89
91
92 inline const ExperimentSource& GetSource() const{ return m_source; }
93 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
94 inline void SetSource(const ExperimentSource& value) { m_sourceHasBeenSet = true; m_source = value; }
95 inline void SetSource(ExperimentSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
96 inline Experiment& WithSource(const ExperimentSource& value) { SetSource(value); return *this;}
97 inline Experiment& WithSource(ExperimentSource&& value) { SetSource(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetDescription() const{ return m_description; }
105 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
107 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
108 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
109 inline Experiment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 inline Experiment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
111 inline Experiment& WithDescription(const char* value) { SetDescription(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
119 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
120 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
121 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
122 inline Experiment& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
123 inline Experiment& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
125
127
130 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
131 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
132 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
133 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
134 inline Experiment& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
135 inline Experiment& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
143 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
144 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
145 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
146 inline Experiment& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
147 inline Experiment& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
149
151
152 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
153 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
154 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
155 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
156 inline Experiment& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
157 inline Experiment& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
159
161
166 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
169 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
170 inline Experiment& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
171 inline Experiment& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
172 inline Experiment& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
173 inline Experiment& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
175 private:
176
177 Aws::String m_experimentName;
178 bool m_experimentNameHasBeenSet = false;
179
180 Aws::String m_experimentArn;
181 bool m_experimentArnHasBeenSet = false;
182
183 Aws::String m_displayName;
184 bool m_displayNameHasBeenSet = false;
185
186 ExperimentSource m_source;
187 bool m_sourceHasBeenSet = false;
188
189 Aws::String m_description;
190 bool m_descriptionHasBeenSet = false;
191
192 Aws::Utils::DateTime m_creationTime;
193 bool m_creationTimeHasBeenSet = false;
194
195 UserContext m_createdBy;
196 bool m_createdByHasBeenSet = false;
197
198 Aws::Utils::DateTime m_lastModifiedTime;
199 bool m_lastModifiedTimeHasBeenSet = false;
200
201 UserContext m_lastModifiedBy;
202 bool m_lastModifiedByHasBeenSet = false;
203
204 Aws::Vector<Tag> m_tags;
205 bool m_tagsHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SageMaker
210} // namespace Aws
Experiment & WithDisplayName(const char *value)
Definition Experiment.h:87
void SetDisplayName(Aws::String &&value)
Definition Experiment.h:83
void SetExperimentArn(Aws::String &&value)
Definition Experiment.h:68
void SetCreatedBy(const UserContext &value)
Definition Experiment.h:132
void SetSource(const ExperimentSource &value)
Definition Experiment.h:94
void SetSource(ExperimentSource &&value)
Definition Experiment.h:95
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Experiment.h:142
Experiment & WithExperimentName(const Aws::String &value)
Definition Experiment.h:56
const Aws::String & GetExperimentArn() const
Definition Experiment.h:65
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:120
AWS_SAGEMAKER_API Experiment(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithSource(const ExperimentSource &value)
Definition Experiment.h:96
void SetExperimentName(Aws::String &&value)
Definition Experiment.h:54
void SetDescription(const char *value)
Definition Experiment.h:108
Experiment & WithSource(ExperimentSource &&value)
Definition Experiment.h:97
Experiment & WithDescription(const char *value)
Definition Experiment.h:111
Experiment & WithLastModifiedBy(UserContext &&value)
Definition Experiment.h:157
Experiment & WithExperimentArn(const char *value)
Definition Experiment.h:72
Experiment & WithExperimentName(Aws::String &&value)
Definition Experiment.h:57
Experiment & WithDescription(Aws::String &&value)
Definition Experiment.h:110
Experiment & WithCreatedBy(const UserContext &value)
Definition Experiment.h:134
void SetExperimentName(const char *value)
Definition Experiment.h:55
const Aws::String & GetExperimentName() const
Definition Experiment.h:51
Experiment & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:147
Experiment & WithDisplayName(const Aws::String &value)
Definition Experiment.h:85
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:144
void SetLastModifiedBy(const UserContext &value)
Definition Experiment.h:154
void SetExperimentArn(const Aws::String &value)
Definition Experiment.h:67
void SetExperimentArn(const char *value)
Definition Experiment.h:69
Experiment & WithLastModifiedBy(const UserContext &value)
Definition Experiment.h:156
Experiment & WithExperimentName(const char *value)
Definition Experiment.h:58
AWS_SAGEMAKER_API Experiment()
const Aws::String & GetDescription() const
Definition Experiment.h:104
Experiment & WithExperimentArn(const Aws::String &value)
Definition Experiment.h:70
Experiment & WithCreatedBy(UserContext &&value)
Definition Experiment.h:135
AWS_SAGEMAKER_API Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(UserContext &&value)
Definition Experiment.h:155
Experiment & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:123
void SetCreatedBy(UserContext &&value)
Definition Experiment.h:133
void SetDisplayName(const Aws::String &value)
Definition Experiment.h:82
const ExperimentSource & GetSource() const
Definition Experiment.h:92
Experiment & WithDisplayName(Aws::String &&value)
Definition Experiment.h:86
Experiment & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:122
const UserContext & GetLastModifiedBy() const
Definition Experiment.h:152
Experiment & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:146
void SetDescription(Aws::String &&value)
Definition Experiment.h:107
void SetExperimentName(const Aws::String &value)
Definition Experiment.h:53
void SetTags(const Aws::Vector< Tag > &value)
Definition Experiment.h:168
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:121
Experiment & AddTags(Tag &&value)
Definition Experiment.h:173
void SetDisplayName(const char *value)
Definition Experiment.h:84
Experiment & WithTags(const Aws::Vector< Tag > &value)
Definition Experiment.h:170
const Aws::String & GetDisplayName() const
Definition Experiment.h:80
Experiment & WithDescription(const Aws::String &value)
Definition Experiment.h:109
Experiment & AddTags(const Tag &value)
Definition Experiment.h:172
void SetDescription(const Aws::String &value)
Definition Experiment.h:106
const Aws::Vector< Tag > & GetTags() const
Definition Experiment.h:166
void SetTags(Aws::Vector< Tag > &&value)
Definition Experiment.h:169
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:145
Experiment & WithTags(Aws::Vector< Tag > &&value)
Definition Experiment.h:171
const UserContext & GetCreatedBy() const
Definition Experiment.h:130
Experiment & WithExperimentArn(Aws::String &&value)
Definition Experiment.h:71
const Aws::Utils::DateTime & GetCreationTime() const
Definition Experiment.h:118
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue