AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackagingJobMetadata.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/ModelPackagingJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutforVision
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata();
38 AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobName() const{ return m_jobName; }
48 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
49 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
50 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
51 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
52 inline ModelPackagingJobMetadata& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
53 inline ModelPackagingJobMetadata& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
54 inline ModelPackagingJobMetadata& WithJobName(const char* value) { SetJobName(value); return *this;}
56
58
61 inline const Aws::String& GetProjectName() const{ return m_projectName; }
62 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
63 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
64 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
65 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
66 inline ModelPackagingJobMetadata& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
67 inline ModelPackagingJobMetadata& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
68 inline ModelPackagingJobMetadata& WithProjectName(const char* value) { SetProjectName(value); return *this;}
70
72
75 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
76 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
77 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
78 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
79 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
80 inline ModelPackagingJobMetadata& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
81 inline ModelPackagingJobMetadata& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
82 inline ModelPackagingJobMetadata& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
84
86
89 inline const Aws::String& GetModelPackagingJobDescription() const{ return m_modelPackagingJobDescription; }
90 inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; }
91 inline void SetModelPackagingJobDescription(const Aws::String& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = value; }
92 inline void SetModelPackagingJobDescription(Aws::String&& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = std::move(value); }
93 inline void SetModelPackagingJobDescription(const char* value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription.assign(value); }
98
100
104 inline const Aws::String& GetModelPackagingMethod() const{ return m_modelPackagingMethod; }
105 inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; }
106 inline void SetModelPackagingMethod(const Aws::String& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = value; }
107 inline void SetModelPackagingMethod(Aws::String&& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = std::move(value); }
108 inline void SetModelPackagingMethod(const char* value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod.assign(value); }
111 inline ModelPackagingJobMetadata& WithModelPackagingMethod(const char* value) { SetModelPackagingMethod(value); return *this;}
113
115
118 inline const ModelPackagingJobStatus& GetStatus() const{ return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(const ModelPackagingJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
121 inline void SetStatus(ModelPackagingJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
122 inline ModelPackagingJobMetadata& WithStatus(const ModelPackagingJobStatus& value) { SetStatus(value); return *this;}
123 inline ModelPackagingJobMetadata& WithStatus(ModelPackagingJobStatus&& value) { SetStatus(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
131 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
132 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
133 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
134 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
135 inline ModelPackagingJobMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
136 inline ModelPackagingJobMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
137 inline ModelPackagingJobMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
139
141
145 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
146 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
147 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
148 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
152
154
158 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
159 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
160 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
161 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
165 private:
166
167 Aws::String m_jobName;
168 bool m_jobNameHasBeenSet = false;
169
170 Aws::String m_projectName;
171 bool m_projectNameHasBeenSet = false;
172
173 Aws::String m_modelVersion;
174 bool m_modelVersionHasBeenSet = false;
175
176 Aws::String m_modelPackagingJobDescription;
177 bool m_modelPackagingJobDescriptionHasBeenSet = false;
178
179 Aws::String m_modelPackagingMethod;
180 bool m_modelPackagingMethodHasBeenSet = false;
181
183 bool m_statusHasBeenSet = false;
184
185 Aws::String m_statusMessage;
186 bool m_statusMessageHasBeenSet = false;
187
188 Aws::Utils::DateTime m_creationTimestamp;
189 bool m_creationTimestampHasBeenSet = false;
190
191 Aws::Utils::DateTime m_lastUpdatedTimestamp;
192 bool m_lastUpdatedTimestampHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace LookoutforVision
197} // namespace Aws
ModelPackagingJobMetadata & WithProjectName(const char *value)
ModelPackagingJobMetadata & WithProjectName(const Aws::String &value)
ModelPackagingJobMetadata & WithModelPackagingJobDescription(Aws::String &&value)
ModelPackagingJobMetadata & WithStatus(ModelPackagingJobStatus &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
ModelPackagingJobMetadata & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
ModelPackagingJobMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
ModelPackagingJobMetadata & WithStatusMessage(const Aws::String &value)
ModelPackagingJobMetadata & WithModelPackagingMethod(Aws::String &&value)
ModelPackagingJobMetadata & WithModelPackagingMethod(const char *value)
ModelPackagingJobMetadata & WithJobName(const char *value)
AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata(Aws::Utils::Json::JsonView jsonValue)
ModelPackagingJobMetadata & WithModelVersion(Aws::String &&value)
ModelPackagingJobMetadata & WithModelPackagingMethod(const Aws::String &value)
ModelPackagingJobMetadata & WithStatusMessage(Aws::String &&value)
ModelPackagingJobMetadata & WithStatusMessage(const char *value)
AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackagingJobMetadata & WithModelPackagingJobDescription(const Aws::String &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
ModelPackagingJobMetadata & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
ModelPackagingJobMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
ModelPackagingJobMetadata & WithJobName(Aws::String &&value)
ModelPackagingJobMetadata & WithModelVersion(const char *value)
ModelPackagingJobMetadata & WithModelVersion(const Aws::String &value)
ModelPackagingJobMetadata & WithStatus(const ModelPackagingJobStatus &value)
ModelPackagingJobMetadata & WithJobName(const Aws::String &value)
ModelPackagingJobMetadata & WithModelPackagingJobDescription(const char *value)
ModelPackagingJobMetadata & WithProjectName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue