AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackagingDescription.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutvision/model/ModelPackagingConfiguration.h>
10#include <aws/lookoutvision/model/ModelPackagingOutputDetails.h>
11#include <aws/lookoutvision/model/ModelPackagingJobStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LookoutforVision
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LOOKOUTFORVISION_API ModelPackagingDescription();
40 AWS_LOOKOUTFORVISION_API ModelPackagingDescription(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetJobName() const{ return m_jobName; }
50 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
51 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
52 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
53 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
54 inline ModelPackagingDescription& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
55 inline ModelPackagingDescription& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
56 inline ModelPackagingDescription& WithJobName(const char* value) { SetJobName(value); return *this;}
58
60
64 inline const Aws::String& GetProjectName() const{ return m_projectName; }
65 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
66 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
67 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
68 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
69 inline ModelPackagingDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
70 inline ModelPackagingDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
71 inline ModelPackagingDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
73
75
78 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
79 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
80 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
81 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
82 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
83 inline ModelPackagingDescription& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
84 inline ModelPackagingDescription& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
85 inline ModelPackagingDescription& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
87
89
92 inline const ModelPackagingConfiguration& GetModelPackagingConfiguration() const{ return m_modelPackagingConfiguration; }
93 inline bool ModelPackagingConfigurationHasBeenSet() const { return m_modelPackagingConfigurationHasBeenSet; }
94 inline void SetModelPackagingConfiguration(const ModelPackagingConfiguration& value) { m_modelPackagingConfigurationHasBeenSet = true; m_modelPackagingConfiguration = value; }
95 inline void SetModelPackagingConfiguration(ModelPackagingConfiguration&& value) { m_modelPackagingConfigurationHasBeenSet = true; m_modelPackagingConfiguration = std::move(value); }
99
101
104 inline const Aws::String& GetModelPackagingJobDescription() const{ return m_modelPackagingJobDescription; }
105 inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; }
106 inline void SetModelPackagingJobDescription(const Aws::String& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = value; }
107 inline void SetModelPackagingJobDescription(Aws::String&& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = std::move(value); }
108 inline void SetModelPackagingJobDescription(const char* value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription.assign(value); }
113
115
119 inline const Aws::String& GetModelPackagingMethod() const{ return m_modelPackagingMethod; }
120 inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; }
121 inline void SetModelPackagingMethod(const Aws::String& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = value; }
122 inline void SetModelPackagingMethod(Aws::String&& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = std::move(value); }
123 inline void SetModelPackagingMethod(const char* value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod.assign(value); }
126 inline ModelPackagingDescription& WithModelPackagingMethod(const char* value) { SetModelPackagingMethod(value); return *this;}
128
130
134 inline const ModelPackagingOutputDetails& GetModelPackagingOutputDetails() const{ return m_modelPackagingOutputDetails; }
135 inline bool ModelPackagingOutputDetailsHasBeenSet() const { return m_modelPackagingOutputDetailsHasBeenSet; }
136 inline void SetModelPackagingOutputDetails(const ModelPackagingOutputDetails& value) { m_modelPackagingOutputDetailsHasBeenSet = true; m_modelPackagingOutputDetails = value; }
137 inline void SetModelPackagingOutputDetails(ModelPackagingOutputDetails&& value) { m_modelPackagingOutputDetailsHasBeenSet = true; m_modelPackagingOutputDetails = std::move(value); }
141
143
146 inline const ModelPackagingJobStatus& GetStatus() const{ return m_status; }
147 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 inline void SetStatus(const ModelPackagingJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 inline void SetStatus(ModelPackagingJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
150 inline ModelPackagingDescription& WithStatus(const ModelPackagingJobStatus& value) { SetStatus(value); return *this;}
151 inline ModelPackagingDescription& WithStatus(ModelPackagingJobStatus&& value) { SetStatus(std::move(value)); return *this;}
153
155
158 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
159 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
160 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
161 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
162 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
163 inline ModelPackagingDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
164 inline ModelPackagingDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
165 inline ModelPackagingDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
167
169
173 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
174 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
175 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
176 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
180
182
186 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
187 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
188 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
189 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
193 private:
194
195 Aws::String m_jobName;
196 bool m_jobNameHasBeenSet = false;
197
198 Aws::String m_projectName;
199 bool m_projectNameHasBeenSet = false;
200
201 Aws::String m_modelVersion;
202 bool m_modelVersionHasBeenSet = false;
203
204 ModelPackagingConfiguration m_modelPackagingConfiguration;
205 bool m_modelPackagingConfigurationHasBeenSet = false;
206
207 Aws::String m_modelPackagingJobDescription;
208 bool m_modelPackagingJobDescriptionHasBeenSet = false;
209
210 Aws::String m_modelPackagingMethod;
211 bool m_modelPackagingMethodHasBeenSet = false;
212
213 ModelPackagingOutputDetails m_modelPackagingOutputDetails;
214 bool m_modelPackagingOutputDetailsHasBeenSet = false;
215
217 bool m_statusHasBeenSet = false;
218
219 Aws::String m_statusMessage;
220 bool m_statusMessageHasBeenSet = false;
221
222 Aws::Utils::DateTime m_creationTimestamp;
223 bool m_creationTimestampHasBeenSet = false;
224
225 Aws::Utils::DateTime m_lastUpdatedTimestamp;
226 bool m_lastUpdatedTimestampHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace LookoutforVision
231} // namespace Aws
void SetModelPackagingConfiguration(ModelPackagingConfiguration &&value)
AWS_LOOKOUTFORVISION_API ModelPackagingDescription(Aws::Utils::Json::JsonView jsonValue)
ModelPackagingDescription & WithModelPackagingMethod(const Aws::String &value)
ModelPackagingDescription & WithJobName(Aws::String &&value)
const ModelPackagingOutputDetails & GetModelPackagingOutputDetails() const
ModelPackagingDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
ModelPackagingDescription & WithModelPackagingOutputDetails(const ModelPackagingOutputDetails &value)
void SetModelPackagingOutputDetails(ModelPackagingOutputDetails &&value)
const ModelPackagingConfiguration & GetModelPackagingConfiguration() const
ModelPackagingDescription & WithStatusMessage(const char *value)
ModelPackagingDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
ModelPackagingDescription & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
ModelPackagingDescription & WithModelPackagingMethod(Aws::String &&value)
ModelPackagingDescription & WithProjectName(const char *value)
ModelPackagingDescription & WithModelPackagingJobDescription(Aws::String &&value)
ModelPackagingDescription & WithModelVersion(const Aws::String &value)
ModelPackagingDescription & WithProjectName(Aws::String &&value)
void SetModelPackagingConfiguration(const ModelPackagingConfiguration &value)
ModelPackagingDescription & WithModelPackagingConfiguration(const ModelPackagingConfiguration &value)
ModelPackagingDescription & WithModelPackagingJobDescription(const char *value)
ModelPackagingDescription & WithModelVersion(Aws::String &&value)
ModelPackagingDescription & WithStatus(ModelPackagingJobStatus &&value)
ModelPackagingDescription & WithJobName(const Aws::String &value)
ModelPackagingDescription & WithModelPackagingMethod(const char *value)
ModelPackagingDescription & WithProjectName(const Aws::String &value)
ModelPackagingDescription & WithModelPackagingConfiguration(ModelPackagingConfiguration &&value)
ModelPackagingDescription & WithStatus(const ModelPackagingJobStatus &value)
ModelPackagingDescription & WithStatusMessage(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackagingOutputDetails(const ModelPackagingOutputDetails &value)
ModelPackagingDescription & WithJobName(const char *value)
ModelPackagingDescription & WithStatusMessage(Aws::String &&value)
ModelPackagingDescription & WithModelPackagingJobDescription(const Aws::String &value)
ModelPackagingDescription & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
ModelPackagingDescription & WithModelPackagingOutputDetails(ModelPackagingOutputDetails &&value)
ModelPackagingDescription & WithModelVersion(const char *value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
AWS_LOOKOUTFORVISION_API ModelPackagingDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue