AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelMetadata.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutvision/model/ModelStatus.h>
11#include <aws/lookoutvision/model/ModelPerformance.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LookoutforVision
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_LOOKOUTFORVISION_API ModelMetadata();
38 AWS_LOOKOUTFORVISION_API ModelMetadata(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTFORVISION_API ModelMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
48 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
49 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
50 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
52 inline ModelMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
60 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
61 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
62 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
63 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
64 inline ModelMetadata& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
65 inline ModelMetadata& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
66 inline ModelMetadata& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
68
70
73 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
74 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
75 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
76 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
77 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
78 inline ModelMetadata& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
79 inline ModelMetadata& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
80 inline ModelMetadata& WithModelArn(const char* value) { SetModelArn(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline ModelMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline ModelMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline ModelMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const ModelStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline ModelMetadata& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
106 inline ModelMetadata& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
114 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
115 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
116 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
117 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
118 inline ModelMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline ModelMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline ModelMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122
124
128 inline const ModelPerformance& GetPerformance() const{ return m_performance; }
129 inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; }
130 inline void SetPerformance(const ModelPerformance& value) { m_performanceHasBeenSet = true; m_performance = value; }
131 inline void SetPerformance(ModelPerformance&& value) { m_performanceHasBeenSet = true; m_performance = std::move(value); }
132 inline ModelMetadata& WithPerformance(const ModelPerformance& value) { SetPerformance(value); return *this;}
133 inline ModelMetadata& WithPerformance(ModelPerformance&& value) { SetPerformance(std::move(value)); return *this;}
135 private:
136
137 Aws::Utils::DateTime m_creationTimestamp;
138 bool m_creationTimestampHasBeenSet = false;
139
140 Aws::String m_modelVersion;
141 bool m_modelVersionHasBeenSet = false;
142
143 Aws::String m_modelArn;
144 bool m_modelArnHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 ModelStatus m_status;
150 bool m_statusHasBeenSet = false;
151
152 Aws::String m_statusMessage;
153 bool m_statusMessageHasBeenSet = false;
154
155 ModelPerformance m_performance;
156 bool m_performanceHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace LookoutforVision
161} // namespace Aws
const ModelPerformance & GetPerformance() const
void SetPerformance(const ModelPerformance &value)
ModelMetadata & WithModelArn(const char *value)
AWS_LOOKOUTFORVISION_API ModelMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelVersion() const
void SetModelVersion(const Aws::String &value)
ModelMetadata & WithStatusMessage(const Aws::String &value)
ModelMetadata & WithDescription(const char *value)
AWS_LOOKOUTFORVISION_API ModelMetadata()
ModelMetadata & WithModelVersion(Aws::String &&value)
ModelMetadata & WithStatus(ModelStatus &&value)
const Aws::String & GetModelArn() const
ModelMetadata & WithModelArn(const Aws::String &value)
const Aws::String & GetStatusMessage() const
ModelMetadata & WithPerformance(const ModelPerformance &value)
ModelMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetStatusMessage(const Aws::String &value)
ModelMetadata & WithStatus(const ModelStatus &value)
ModelMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
ModelMetadata & WithModelVersion(const char *value)
void SetStatus(const ModelStatus &value)
ModelMetadata & WithStatusMessage(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetModelVersion(Aws::String &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
ModelMetadata & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
AWS_LOOKOUTFORVISION_API ModelMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelMetadata & WithModelArn(Aws::String &&value)
ModelMetadata & WithStatusMessage(const char *value)
void SetModelArn(const Aws::String &value)
ModelMetadata & WithModelVersion(const Aws::String &value)
const Aws::String & GetDescription() const
ModelMetadata & WithPerformance(ModelPerformance &&value)
ModelMetadata & WithDescription(Aws::String &&value)
void SetPerformance(ModelPerformance &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue