AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobNameT = Aws::String>
52 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
53 template<typename JobNameT = Aws::String>
54 ModelPackagingDescription& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
56
58
62 inline const Aws::String& GetProjectName() const { return m_projectName; }
63 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
64 template<typename ProjectNameT = Aws::String>
65 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
66 template<typename ProjectNameT = Aws::String>
67 ModelPackagingDescription& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
75 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
76 template<typename ModelVersionT = Aws::String>
77 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
78 template<typename ModelVersionT = Aws::String>
79 ModelPackagingDescription& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
81
83
86 inline const ModelPackagingConfiguration& GetModelPackagingConfiguration() const { return m_modelPackagingConfiguration; }
87 inline bool ModelPackagingConfigurationHasBeenSet() const { return m_modelPackagingConfigurationHasBeenSet; }
88 template<typename ModelPackagingConfigurationT = ModelPackagingConfiguration>
89 void SetModelPackagingConfiguration(ModelPackagingConfigurationT&& value) { m_modelPackagingConfigurationHasBeenSet = true; m_modelPackagingConfiguration = std::forward<ModelPackagingConfigurationT>(value); }
90 template<typename ModelPackagingConfigurationT = ModelPackagingConfiguration>
91 ModelPackagingDescription& WithModelPackagingConfiguration(ModelPackagingConfigurationT&& value) { SetModelPackagingConfiguration(std::forward<ModelPackagingConfigurationT>(value)); return *this;}
93
95
98 inline const Aws::String& GetModelPackagingJobDescription() const { return m_modelPackagingJobDescription; }
99 inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; }
100 template<typename ModelPackagingJobDescriptionT = Aws::String>
101 void SetModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = std::forward<ModelPackagingJobDescriptionT>(value); }
102 template<typename ModelPackagingJobDescriptionT = Aws::String>
103 ModelPackagingDescription& WithModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { SetModelPackagingJobDescription(std::forward<ModelPackagingJobDescriptionT>(value)); return *this;}
105
107
111 inline const Aws::String& GetModelPackagingMethod() const { return m_modelPackagingMethod; }
112 inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; }
113 template<typename ModelPackagingMethodT = Aws::String>
114 void SetModelPackagingMethod(ModelPackagingMethodT&& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = std::forward<ModelPackagingMethodT>(value); }
115 template<typename ModelPackagingMethodT = Aws::String>
116 ModelPackagingDescription& WithModelPackagingMethod(ModelPackagingMethodT&& value) { SetModelPackagingMethod(std::forward<ModelPackagingMethodT>(value)); return *this;}
118
120
124 inline const ModelPackagingOutputDetails& GetModelPackagingOutputDetails() const { return m_modelPackagingOutputDetails; }
125 inline bool ModelPackagingOutputDetailsHasBeenSet() const { return m_modelPackagingOutputDetailsHasBeenSet; }
126 template<typename ModelPackagingOutputDetailsT = ModelPackagingOutputDetails>
127 void SetModelPackagingOutputDetails(ModelPackagingOutputDetailsT&& value) { m_modelPackagingOutputDetailsHasBeenSet = true; m_modelPackagingOutputDetails = std::forward<ModelPackagingOutputDetailsT>(value); }
128 template<typename ModelPackagingOutputDetailsT = ModelPackagingOutputDetails>
129 ModelPackagingDescription& WithModelPackagingOutputDetails(ModelPackagingOutputDetailsT&& value) { SetModelPackagingOutputDetails(std::forward<ModelPackagingOutputDetailsT>(value)); return *this;}
131
133
136 inline ModelPackagingJobStatus GetStatus() const { return m_status; }
137 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 inline void SetStatus(ModelPackagingJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
141
143
146 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
147 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
148 template<typename StatusMessageT = Aws::String>
149 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
150 template<typename StatusMessageT = Aws::String>
151 ModelPackagingDescription& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
153
155
159 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
160 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
161 template<typename CreationTimestampT = Aws::Utils::DateTime>
162 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
163 template<typename CreationTimestampT = Aws::Utils::DateTime>
164 ModelPackagingDescription& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
166
168
172 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
173 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
174 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
175 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
176 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
177 ModelPackagingDescription& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
179 private:
180
181 Aws::String m_jobName;
182 bool m_jobNameHasBeenSet = false;
183
184 Aws::String m_projectName;
185 bool m_projectNameHasBeenSet = false;
186
187 Aws::String m_modelVersion;
188 bool m_modelVersionHasBeenSet = false;
189
190 ModelPackagingConfiguration m_modelPackagingConfiguration;
191 bool m_modelPackagingConfigurationHasBeenSet = false;
192
193 Aws::String m_modelPackagingJobDescription;
194 bool m_modelPackagingJobDescriptionHasBeenSet = false;
195
196 Aws::String m_modelPackagingMethod;
197 bool m_modelPackagingMethodHasBeenSet = false;
198
199 ModelPackagingOutputDetails m_modelPackagingOutputDetails;
200 bool m_modelPackagingOutputDetailsHasBeenSet = false;
201
203 bool m_statusHasBeenSet = false;
204
205 Aws::String m_statusMessage;
206 bool m_statusMessageHasBeenSet = false;
207
208 Aws::Utils::DateTime m_creationTimestamp{};
209 bool m_creationTimestampHasBeenSet = false;
210
211 Aws::Utils::DateTime m_lastUpdatedTimestamp{};
212 bool m_lastUpdatedTimestampHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace LookoutforVision
217} // namespace Aws
void SetModelPackagingConfiguration(ModelPackagingConfigurationT &&value)
ModelPackagingDescription & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
AWS_LOOKOUTFORVISION_API ModelPackagingDescription(Aws::Utils::Json::JsonView jsonValue)
const ModelPackagingOutputDetails & GetModelPackagingOutputDetails() const
ModelPackagingDescription & WithModelPackagingMethod(ModelPackagingMethodT &&value)
const ModelPackagingConfiguration & GetModelPackagingConfiguration() const
ModelPackagingDescription & WithCreationTimestamp(CreationTimestampT &&value)
ModelPackagingDescription & WithProjectName(ProjectNameT &&value)
ModelPackagingDescription & WithModelPackagingConfiguration(ModelPackagingConfigurationT &&value)
ModelPackagingDescription & WithModelVersion(ModelVersionT &&value)
AWS_LOOKOUTFORVISION_API ModelPackagingDescription()=default
ModelPackagingDescription & WithJobName(JobNameT &&value)
ModelPackagingDescription & WithModelPackagingJobDescription(ModelPackagingJobDescriptionT &&value)
ModelPackagingDescription & WithStatus(ModelPackagingJobStatus value)
void SetModelPackagingJobDescription(ModelPackagingJobDescriptionT &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackagingOutputDetails(ModelPackagingOutputDetailsT &&value)
ModelPackagingDescription & WithStatusMessage(StatusMessageT &&value)
ModelPackagingDescription & WithModelPackagingOutputDetails(ModelPackagingOutputDetailsT &&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