AWS SDK for C++  1.9.157
AWS SDK for C++
TrialSummary.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 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetTrialArn() const{ return m_trialArn; }
48 
52  inline bool TrialArnHasBeenSet() const { return m_trialArnHasBeenSet; }
53 
57  inline void SetTrialArn(const Aws::String& value) { m_trialArnHasBeenSet = true; m_trialArn = value; }
58 
62  inline void SetTrialArn(Aws::String&& value) { m_trialArnHasBeenSet = true; m_trialArn = std::move(value); }
63 
67  inline void SetTrialArn(const char* value) { m_trialArnHasBeenSet = true; m_trialArn.assign(value); }
68 
72  inline TrialSummary& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;}
73 
77  inline TrialSummary& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;}
78 
82  inline TrialSummary& WithTrialArn(const char* value) { SetTrialArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetTrialName() const{ return m_trialName; }
89 
93  inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
94 
98  inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
99 
103  inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
104 
108  inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
109 
113  inline TrialSummary& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
114 
118  inline TrialSummary& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
119 
123  inline TrialSummary& WithTrialName(const char* value) { SetTrialName(value); return *this;}
124 
125 
130  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
131 
136  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
137 
142  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
143 
148  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
149 
154  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
155 
160  inline TrialSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
161 
166  inline TrialSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
167 
172  inline TrialSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
173 
174 
175 
176  inline const TrialSource& GetTrialSource() const{ return m_trialSource; }
177 
178 
179  inline bool TrialSourceHasBeenSet() const { return m_trialSourceHasBeenSet; }
180 
181 
182  inline void SetTrialSource(const TrialSource& value) { m_trialSourceHasBeenSet = true; m_trialSource = value; }
183 
184 
185  inline void SetTrialSource(TrialSource&& value) { m_trialSourceHasBeenSet = true; m_trialSource = std::move(value); }
186 
187 
188  inline TrialSummary& WithTrialSource(const TrialSource& value) { SetTrialSource(value); return *this;}
189 
190 
191  inline TrialSummary& WithTrialSource(TrialSource&& value) { SetTrialSource(std::move(value)); return *this;}
192 
193 
197  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
198 
202  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
203 
207  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
208 
212  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
213 
217  inline TrialSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
218 
222  inline TrialSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
223 
224 
228  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
229 
233  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
234 
238  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
239 
243  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
244 
248  inline TrialSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
249 
253  inline TrialSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
254 
255  private:
256 
257  Aws::String m_trialArn;
258  bool m_trialArnHasBeenSet;
259 
260  Aws::String m_trialName;
261  bool m_trialNameHasBeenSet;
262 
263  Aws::String m_displayName;
264  bool m_displayNameHasBeenSet;
265 
266  TrialSource m_trialSource;
267  bool m_trialSourceHasBeenSet;
268 
269  Aws::Utils::DateTime m_creationTime;
270  bool m_creationTimeHasBeenSet;
271 
272  Aws::Utils::DateTime m_lastModifiedTime;
273  bool m_lastModifiedTimeHasBeenSet;
274  };
275 
276 } // namespace Model
277 } // namespace SageMaker
278 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrialSummary::GetTrialSource
const TrialSource & GetTrialSource() const
Definition: TrialSummary.h:176
Aws::SageMaker::Model::TrialSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialSummary::SetTrialArn
void SetTrialArn(Aws::String &&value)
Definition: TrialSummary.h:62
Aws::SageMaker::Model::TrialSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: TrialSummary.h:228
Aws::SageMaker::Model::TrialSummary::operator=
TrialSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialSummary::WithDisplayName
TrialSummary & WithDisplayName(Aws::String &&value)
Definition: TrialSummary.h:166
Aws::SageMaker::Model::TrialSummary::WithDisplayName
TrialSummary & WithDisplayName(const char *value)
Definition: TrialSummary.h:172
Aws::SageMaker::Model::TrialSummary::WithTrialName
TrialSummary & WithTrialName(const Aws::String &value)
Definition: TrialSummary.h:113
Aws::SageMaker::Model::TrialSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: TrialSummary.h:197
Aws::SageMaker::Model::TrialSummary::TrialSourceHasBeenSet
bool TrialSourceHasBeenSet() const
Definition: TrialSummary.h:179
Aws::SageMaker::Model::TrialSummary::SetTrialSource
void SetTrialSource(TrialSource &&value)
Definition: TrialSummary.h:185
DateTime.h
Aws::SageMaker::Model::TrialSummary::SetTrialArn
void SetTrialArn(const char *value)
Definition: TrialSummary.h:67
Aws::SageMaker::Model::TrialSummary::WithTrialArn
TrialSummary & WithTrialArn(const Aws::String &value)
Definition: TrialSummary.h:72
Aws::SageMaker::Model::TrialSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: TrialSummary.h:202
Aws::SageMaker::Model::TrialSummary::WithTrialArn
TrialSummary & WithTrialArn(Aws::String &&value)
Definition: TrialSummary.h:77
Aws::SageMaker::Model::TrialSummary::WithTrialSource
TrialSummary & WithTrialSource(TrialSource &&value)
Definition: TrialSummary.h:191
Aws::SageMaker::Model::TrialSummary::SetTrialSource
void SetTrialSource(const TrialSource &value)
Definition: TrialSummary.h:182
Aws::SageMaker::Model::TrialSummary
Definition: TrialSummary.h:36
Aws::SageMaker::Model::TrialSummary::SetTrialArn
void SetTrialArn(const Aws::String &value)
Definition: TrialSummary.h:57
Aws::SageMaker::Model::TrialSummary::WithTrialSource
TrialSummary & WithTrialSource(const TrialSource &value)
Definition: TrialSummary.h:188
Aws::SageMaker::Model::TrialSummary::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: TrialSummary.h:142
Aws::SageMaker::Model::TrialSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: TrialSummary.h:207
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
TrialSource.h
Aws::SageMaker::Model::TrialSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: TrialSummary.h:238
Aws::SageMaker::Model::TrialSummary::WithCreationTime
TrialSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: TrialSummary.h:222
Aws::SageMaker::Model::TrialSummary::GetTrialArn
const Aws::String & GetTrialArn() const
Definition: TrialSummary.h:47
Aws::SageMaker::Model::TrialSummary::WithLastModifiedTime
TrialSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: TrialSummary.h:253
Aws::SageMaker::Model::TrialSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: TrialSummary.h:243
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialSummary::TrialArnHasBeenSet
bool TrialArnHasBeenSet() const
Definition: TrialSummary.h:52
Aws::SageMaker::Model::TrialSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: TrialSummary.h:233
Aws::SageMaker::Model::TrialSummary::SetTrialName
void SetTrialName(Aws::String &&value)
Definition: TrialSummary.h:103
Aws::SageMaker::Model::TrialSummary::WithCreationTime
TrialSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: TrialSummary.h:217
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialSummary::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: TrialSummary.h:136
Aws::SageMaker::Model::TrialSummary::TrialSummary
TrialSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialSummary::TrialSummary
TrialSummary()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialSummary::WithTrialName
TrialSummary & WithTrialName(Aws::String &&value)
Definition: TrialSummary.h:118
Aws::SageMaker::Model::TrialSummary::GetTrialName
const Aws::String & GetTrialName() const
Definition: TrialSummary.h:88
Aws::SageMaker::Model::TrialSummary::WithTrialArn
TrialSummary & WithTrialArn(const char *value)
Definition: TrialSummary.h:82
Aws::SageMaker::Model::TrialSource
Definition: TrialSource.h:32
Aws::SageMaker::Model::TrialSummary::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: TrialSummary.h:148
Aws::SageMaker::Model::TrialSummary::SetTrialName
void SetTrialName(const char *value)
Definition: TrialSummary.h:108
Aws::SageMaker::Model::TrialSummary::TrialNameHasBeenSet
bool TrialNameHasBeenSet() const
Definition: TrialSummary.h:93
Aws::SageMaker::Model::TrialSummary::SetDisplayName
void SetDisplayName(const char *value)
Definition: TrialSummary.h:154
Aws::SageMaker::Model::TrialSummary::WithTrialName
TrialSummary & WithTrialName(const char *value)
Definition: TrialSummary.h:123
Aws::SageMaker::Model::TrialSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: TrialSummary.h:212
Aws::SageMaker::Model::TrialSummary::WithDisplayName
TrialSummary & WithDisplayName(const Aws::String &value)
Definition: TrialSummary.h:160
Aws::SageMaker::Model::TrialSummary::SetTrialName
void SetTrialName(const Aws::String &value)
Definition: TrialSummary.h:98
Aws::SageMaker::Model::TrialSummary::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: TrialSummary.h:130
Aws::SageMaker::Model::TrialSummary::WithLastModifiedTime
TrialSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: TrialSummary.h:248