AWS SDK for C++  1.9.108
AWS SDK for C++
ModelMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace LookoutforVision
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
47 
51  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
52 
56  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
57 
61  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
62 
66  inline ModelMetadata& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
67 
71  inline ModelMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
78 
82  inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
83 
87  inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
88 
92  inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
93 
97  inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
98 
102  inline ModelMetadata& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
103 
107  inline ModelMetadata& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
108 
112  inline ModelMetadata& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
113 
114 
118  inline const Aws::String& GetModelArn() const{ return m_modelArn; }
119 
123  inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
124 
128  inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
129 
133  inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
134 
138  inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
139 
143  inline ModelMetadata& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
144 
148  inline ModelMetadata& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
149 
153  inline ModelMetadata& WithModelArn(const char* value) { SetModelArn(value); return *this;}
154 
155 
159  inline const Aws::String& GetDescription() const{ return m_description; }
160 
164  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
165 
169  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
170 
174  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
175 
179  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
180 
184  inline ModelMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
185 
189  inline ModelMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
190 
194  inline ModelMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
195 
196 
200  inline const ModelStatus& GetStatus() const{ return m_status; }
201 
205  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
206 
210  inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
211 
215  inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
216 
220  inline ModelMetadata& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
221 
225  inline ModelMetadata& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
226 
227 
231  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
232 
236  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
237 
241  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
242 
246  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
247 
251  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
252 
256  inline ModelMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
257 
261  inline ModelMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
262 
266  inline ModelMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
267 
268 
273  inline const ModelPerformance& GetPerformance() const{ return m_performance; }
274 
279  inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; }
280 
285  inline void SetPerformance(const ModelPerformance& value) { m_performanceHasBeenSet = true; m_performance = value; }
286 
291  inline void SetPerformance(ModelPerformance&& value) { m_performanceHasBeenSet = true; m_performance = std::move(value); }
292 
297  inline ModelMetadata& WithPerformance(const ModelPerformance& value) { SetPerformance(value); return *this;}
298 
303  inline ModelMetadata& WithPerformance(ModelPerformance&& value) { SetPerformance(std::move(value)); return *this;}
304 
305  private:
306 
307  Aws::Utils::DateTime m_creationTimestamp;
308  bool m_creationTimestampHasBeenSet;
309 
310  Aws::String m_modelVersion;
311  bool m_modelVersionHasBeenSet;
312 
313  Aws::String m_modelArn;
314  bool m_modelArnHasBeenSet;
315 
316  Aws::String m_description;
317  bool m_descriptionHasBeenSet;
318 
319  ModelStatus m_status;
320  bool m_statusHasBeenSet;
321 
322  Aws::String m_statusMessage;
323  bool m_statusMessageHasBeenSet;
324 
325  ModelPerformance m_performance;
326  bool m_performanceHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace LookoutforVision
331 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutforVision::Model::ModelMetadata::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: ModelMetadata.h:46
Aws::LookoutforVision::Model::ModelMetadata::WithModelArn
ModelMetadata & WithModelArn(Aws::String &&value)
Definition: ModelMetadata.h:148
Aws::LookoutforVision::Model::ModelMetadata::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: ModelMetadata.h:231
Aws::LookoutforVision::Model::ModelMetadata::PerformanceHasBeenSet
bool PerformanceHasBeenSet() const
Definition: ModelMetadata.h:279
Aws::LookoutforVision::Model::ModelMetadata::WithDescription
ModelMetadata & WithDescription(Aws::String &&value)
Definition: ModelMetadata.h:189
Aws::LookoutforVision::Model::ModelMetadata::WithStatusMessage
ModelMetadata & WithStatusMessage(Aws::String &&value)
Definition: ModelMetadata.h:261
Aws::LookoutforVision::Model::ModelMetadata::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: ModelMetadata.h:87
Aws::LookoutforVision::Model::ModelMetadata::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: ModelMetadata.h:246
Aws::LookoutforVision::Model::ModelMetadata::ModelMetadata
ModelMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ModelMetadata::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ModelMetadata.h:56
Aws::LookoutforVision::Model::ModelMetadata::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: ModelMetadata.h:236
DateTime.h
Aws::LookoutforVision::Model::ModelMetadata::WithModelVersion
ModelMetadata & WithModelVersion(Aws::String &&value)
Definition: ModelMetadata.h:107
Aws::LookoutforVision::Model::ModelMetadata::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: ModelMetadata.h:251
Aws::LookoutforVision::Model::ModelMetadata::WithStatus
ModelMetadata & WithStatus(const ModelStatus &value)
Definition: ModelMetadata.h:220
Aws::LookoutforVision::Model::ModelMetadata::GetDescription
const Aws::String & GetDescription() const
Definition: ModelMetadata.h:159
Aws::LookoutforVision::Model::ModelMetadata::WithModelVersion
ModelMetadata & WithModelVersion(const char *value)
Definition: ModelMetadata.h:112
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ModelMetadata::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ModelMetadata.h:61
Aws::LookoutforVision::Model::ModelMetadata::SetStatus
void SetStatus(ModelStatus &&value)
Definition: ModelMetadata.h:215
Aws::LookoutforVision::Model::ModelMetadata
Definition: ModelMetadata.h:35
Aws::LookoutforVision::Model::ModelMetadata::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: ModelMetadata.h:92
Aws::LookoutforVision::Model::ModelMetadata::WithPerformance
ModelMetadata & WithPerformance(const ModelPerformance &value)
Definition: ModelMetadata.h:297
Aws::LookoutforVision::Model::ModelMetadata::SetPerformance
void SetPerformance(ModelPerformance &&value)
Definition: ModelMetadata.h:291
Aws::LookoutforVision::Model::ModelMetadata::ModelMetadata
ModelMetadata()
Aws::LookoutforVision::Model::ModelMetadata::WithModelArn
ModelMetadata & WithModelArn(const Aws::String &value)
Definition: ModelMetadata.h:143
ModelPerformance.h
Aws::LookoutforVision::Model::ModelMetadata::WithCreationTimestamp
ModelMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ModelMetadata.h:66
Aws::LookoutforVision::Model::ModelMetadata::SetModelArn
void SetModelArn(Aws::String &&value)
Definition: ModelMetadata.h:133
Aws::LookoutforVision::Model::ModelMetadata::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: ModelMetadata.h:82
Aws::LookoutforVision::Model::ModelMetadata::WithStatusMessage
ModelMetadata & WithStatusMessage(const char *value)
Definition: ModelMetadata.h:266
Aws::LookoutforVision::Model::ModelMetadata::SetPerformance
void SetPerformance(const ModelPerformance &value)
Definition: ModelMetadata.h:285
Aws::LookoutforVision::Model::ModelMetadata::operator=
ModelMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::LookoutforVision::Model::ModelMetadata::WithStatusMessage
ModelMetadata & WithStatusMessage(const Aws::String &value)
Definition: ModelMetadata.h:256
Aws::LookoutforVision::Model::ModelMetadata::SetStatus
void SetStatus(const ModelStatus &value)
Definition: ModelMetadata.h:210
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ModelMetadata::SetDescription
void SetDescription(const Aws::String &value)
Definition: ModelMetadata.h:169
Aws::LookoutforVision::Model::ModelMetadata::SetModelArn
void SetModelArn(const Aws::String &value)
Definition: ModelMetadata.h:128
Aws::LookoutforVision::Model::ModelMetadata::WithPerformance
ModelMetadata & WithPerformance(ModelPerformance &&value)
Definition: ModelMetadata.h:303
Aws::LookoutforVision::Model::ModelStatus
ModelStatus
Definition: ModelStatus.h:17
Aws::LookoutforVision::Model::ModelMetadata::WithDescription
ModelMetadata & WithDescription(const char *value)
Definition: ModelMetadata.h:194
Aws::LookoutforVision::Model::ModelMetadata::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: ModelMetadata.h:77
Aws::LookoutforVision::Model::ModelMetadata::WithCreationTimestamp
ModelMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ModelMetadata.h:71
ModelStatus.h
Aws::LookoutforVision::Model::ModelMetadata::WithModelVersion
ModelMetadata & WithModelVersion(const Aws::String &value)
Definition: ModelMetadata.h:102
Aws::LookoutforVision::Model::ModelPerformance
Definition: ModelPerformance.h:31
Aws::LookoutforVision::Model::ModelMetadata::GetModelArn
const Aws::String & GetModelArn() const
Definition: ModelMetadata.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ModelMetadata::GetPerformance
const ModelPerformance & GetPerformance() const
Definition: ModelMetadata.h:273
Aws::LookoutforVision::Model::ModelMetadata::SetModelVersion
void SetModelVersion(const char *value)
Definition: ModelMetadata.h:97
Aws::LookoutforVision::Model::ModelMetadata::SetDescription
void SetDescription(const char *value)
Definition: ModelMetadata.h:179
Aws::LookoutforVision::Model::ModelMetadata::GetStatus
const ModelStatus & GetStatus() const
Definition: ModelMetadata.h:200
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ModelMetadata::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ModelMetadata.h:205
Aws::LookoutforVision::Model::ModelMetadata::SetModelArn
void SetModelArn(const char *value)
Definition: ModelMetadata.h:138
Aws::LookoutforVision::Model::ModelMetadata::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: ModelMetadata.h:241
Aws::LookoutforVision::Model::ModelMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::ModelMetadata::WithModelArn
ModelMetadata & WithModelArn(const char *value)
Definition: ModelMetadata.h:153
Aws::LookoutforVision::Model::ModelMetadata::WithStatus
ModelMetadata & WithStatus(ModelStatus &&value)
Definition: ModelMetadata.h:225
Aws::LookoutforVision::Model::ModelMetadata::SetDescription
void SetDescription(Aws::String &&value)
Definition: ModelMetadata.h:174
Aws::LookoutforVision::Model::ModelMetadata::WithDescription
ModelMetadata & WithDescription(const Aws::String &value)
Definition: ModelMetadata.h:184
Aws::LookoutforVision::Model::ModelMetadata::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ModelMetadata.h:164
Aws::LookoutforVision::Model::ModelMetadata::ModelArnHasBeenSet
bool ModelArnHasBeenSet() const
Definition: ModelMetadata.h:123
Aws::LookoutforVision::Model::ModelMetadata::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: ModelMetadata.h:51