AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectVersionDescription.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/rekognition/model/ProjectVersionStatus.h>
11#include <aws/rekognition/model/OutputConfig.h>
12#include <aws/rekognition/model/TrainingDataResult.h>
13#include <aws/rekognition/model/TestingDataResult.h>
14#include <aws/rekognition/model/EvaluationResult.h>
15#include <aws/rekognition/model/GroundTruthManifest.h>
16#include <aws/rekognition/model/CustomizationFeature.h>
17#include <aws/rekognition/model/CustomizationFeatureConfig.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Rekognition
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_REKOGNITION_API ProjectVersionDescription();
47 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetProjectVersionArn() const{ return m_projectVersionArn; }
55 inline bool ProjectVersionArnHasBeenSet() const { return m_projectVersionArnHasBeenSet; }
56 inline void SetProjectVersionArn(const Aws::String& value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn = value; }
57 inline void SetProjectVersionArn(Aws::String&& value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn = std::move(value); }
58 inline void SetProjectVersionArn(const char* value) { m_projectVersionArnHasBeenSet = true; m_projectVersionArn.assign(value); }
60 inline ProjectVersionDescription& WithProjectVersionArn(Aws::String&& value) { SetProjectVersionArn(std::move(value)); return *this;}
61 inline ProjectVersionDescription& WithProjectVersionArn(const char* value) { SetProjectVersionArn(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
69 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
70 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
71 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
75
77
82 inline int GetMinInferenceUnits() const{ return m_minInferenceUnits; }
83 inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; }
84 inline void SetMinInferenceUnits(int value) { m_minInferenceUnitsHasBeenSet = true; m_minInferenceUnits = value; }
85 inline ProjectVersionDescription& WithMinInferenceUnits(int value) { SetMinInferenceUnits(value); return *this;}
87
89
92 inline const ProjectVersionStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const ProjectVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(ProjectVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline ProjectVersionDescription& WithStatus(const ProjectVersionStatus& value) { SetStatus(value); return *this;}
97 inline ProjectVersionDescription& WithStatus(ProjectVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
105 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
106 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
107 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
108 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
109 inline ProjectVersionDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
110 inline ProjectVersionDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
111 inline ProjectVersionDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
113
115
120 inline long long GetBillableTrainingTimeInSeconds() const{ return m_billableTrainingTimeInSeconds; }
121 inline bool BillableTrainingTimeInSecondsHasBeenSet() const { return m_billableTrainingTimeInSecondsHasBeenSet; }
122 inline void SetBillableTrainingTimeInSeconds(long long value) { m_billableTrainingTimeInSecondsHasBeenSet = true; m_billableTrainingTimeInSeconds = value; }
125
127
130 inline const Aws::Utils::DateTime& GetTrainingEndTimestamp() const{ return m_trainingEndTimestamp; }
131 inline bool TrainingEndTimestampHasBeenSet() const { return m_trainingEndTimestampHasBeenSet; }
132 inline void SetTrainingEndTimestamp(const Aws::Utils::DateTime& value) { m_trainingEndTimestampHasBeenSet = true; m_trainingEndTimestamp = value; }
133 inline void SetTrainingEndTimestamp(Aws::Utils::DateTime&& value) { m_trainingEndTimestampHasBeenSet = true; m_trainingEndTimestamp = std::move(value); }
137
139
142 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
143 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
144 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
145 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
146 inline ProjectVersionDescription& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
147 inline ProjectVersionDescription& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
149
151
154 inline const TrainingDataResult& GetTrainingDataResult() const{ return m_trainingDataResult; }
155 inline bool TrainingDataResultHasBeenSet() const { return m_trainingDataResultHasBeenSet; }
156 inline void SetTrainingDataResult(const TrainingDataResult& value) { m_trainingDataResultHasBeenSet = true; m_trainingDataResult = value; }
157 inline void SetTrainingDataResult(TrainingDataResult&& value) { m_trainingDataResultHasBeenSet = true; m_trainingDataResult = std::move(value); }
161
163
166 inline const TestingDataResult& GetTestingDataResult() const{ return m_testingDataResult; }
167 inline bool TestingDataResultHasBeenSet() const { return m_testingDataResultHasBeenSet; }
168 inline void SetTestingDataResult(const TestingDataResult& value) { m_testingDataResultHasBeenSet = true; m_testingDataResult = value; }
169 inline void SetTestingDataResult(TestingDataResult&& value) { m_testingDataResultHasBeenSet = true; m_testingDataResult = std::move(value); }
170 inline ProjectVersionDescription& WithTestingDataResult(const TestingDataResult& value) { SetTestingDataResult(value); return *this;}
171 inline ProjectVersionDescription& WithTestingDataResult(TestingDataResult&& value) { SetTestingDataResult(std::move(value)); return *this;}
173
175
179 inline const EvaluationResult& GetEvaluationResult() const{ return m_evaluationResult; }
180 inline bool EvaluationResultHasBeenSet() const { return m_evaluationResultHasBeenSet; }
181 inline void SetEvaluationResult(const EvaluationResult& value) { m_evaluationResultHasBeenSet = true; m_evaluationResult = value; }
182 inline void SetEvaluationResult(EvaluationResult&& value) { m_evaluationResultHasBeenSet = true; m_evaluationResult = std::move(value); }
184 inline ProjectVersionDescription& WithEvaluationResult(EvaluationResult&& value) { SetEvaluationResult(std::move(value)); return *this;}
186
188
192 inline const GroundTruthManifest& GetManifestSummary() const{ return m_manifestSummary; }
193 inline bool ManifestSummaryHasBeenSet() const { return m_manifestSummaryHasBeenSet; }
194 inline void SetManifestSummary(const GroundTruthManifest& value) { m_manifestSummaryHasBeenSet = true; m_manifestSummary = value; }
195 inline void SetManifestSummary(GroundTruthManifest&& value) { m_manifestSummaryHasBeenSet = true; m_manifestSummary = std::move(value); }
197 inline ProjectVersionDescription& WithManifestSummary(GroundTruthManifest&& value) { SetManifestSummary(std::move(value)); return *this;}
199
201
205 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
206 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
207 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
208 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
209 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
210 inline ProjectVersionDescription& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
211 inline ProjectVersionDescription& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
212 inline ProjectVersionDescription& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
214
216
221 inline int GetMaxInferenceUnits() const{ return m_maxInferenceUnits; }
222 inline bool MaxInferenceUnitsHasBeenSet() const { return m_maxInferenceUnitsHasBeenSet; }
223 inline void SetMaxInferenceUnits(int value) { m_maxInferenceUnitsHasBeenSet = true; m_maxInferenceUnits = value; }
224 inline ProjectVersionDescription& WithMaxInferenceUnits(int value) { SetMaxInferenceUnits(value); return *this;}
226
228
233 inline const Aws::String& GetSourceProjectVersionArn() const{ return m_sourceProjectVersionArn; }
234 inline bool SourceProjectVersionArnHasBeenSet() const { return m_sourceProjectVersionArnHasBeenSet; }
235 inline void SetSourceProjectVersionArn(const Aws::String& value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn = value; }
236 inline void SetSourceProjectVersionArn(Aws::String&& value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn = std::move(value); }
237 inline void SetSourceProjectVersionArn(const char* value) { m_sourceProjectVersionArnHasBeenSet = true; m_sourceProjectVersionArn.assign(value); }
240 inline ProjectVersionDescription& WithSourceProjectVersionArn(const char* value) { SetSourceProjectVersionArn(value); return *this;}
242
244
247 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
248 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
249 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
250 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
251 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
253 inline ProjectVersionDescription& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
254 inline ProjectVersionDescription& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
256
258
261 inline const CustomizationFeature& GetFeature() const{ return m_feature; }
262 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
263 inline void SetFeature(const CustomizationFeature& value) { m_featureHasBeenSet = true; m_feature = value; }
264 inline void SetFeature(CustomizationFeature&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
265 inline ProjectVersionDescription& WithFeature(const CustomizationFeature& value) { SetFeature(value); return *this;}
266 inline ProjectVersionDescription& WithFeature(CustomizationFeature&& value) { SetFeature(std::move(value)); return *this;}
268
270
273 inline const Aws::String& GetBaseModelVersion() const{ return m_baseModelVersion; }
274 inline bool BaseModelVersionHasBeenSet() const { return m_baseModelVersionHasBeenSet; }
275 inline void SetBaseModelVersion(const Aws::String& value) { m_baseModelVersionHasBeenSet = true; m_baseModelVersion = value; }
276 inline void SetBaseModelVersion(Aws::String&& value) { m_baseModelVersionHasBeenSet = true; m_baseModelVersion = std::move(value); }
277 inline void SetBaseModelVersion(const char* value) { m_baseModelVersionHasBeenSet = true; m_baseModelVersion.assign(value); }
279 inline ProjectVersionDescription& WithBaseModelVersion(Aws::String&& value) { SetBaseModelVersion(std::move(value)); return *this;}
280 inline ProjectVersionDescription& WithBaseModelVersion(const char* value) { SetBaseModelVersion(value); return *this;}
282
284
287 inline const CustomizationFeatureConfig& GetFeatureConfig() const{ return m_featureConfig; }
288 inline bool FeatureConfigHasBeenSet() const { return m_featureConfigHasBeenSet; }
289 inline void SetFeatureConfig(const CustomizationFeatureConfig& value) { m_featureConfigHasBeenSet = true; m_featureConfig = value; }
290 inline void SetFeatureConfig(CustomizationFeatureConfig&& value) { m_featureConfigHasBeenSet = true; m_featureConfig = std::move(value); }
294 private:
295
296 Aws::String m_projectVersionArn;
297 bool m_projectVersionArnHasBeenSet = false;
298
299 Aws::Utils::DateTime m_creationTimestamp;
300 bool m_creationTimestampHasBeenSet = false;
301
302 int m_minInferenceUnits;
303 bool m_minInferenceUnitsHasBeenSet = false;
304
305 ProjectVersionStatus m_status;
306 bool m_statusHasBeenSet = false;
307
308 Aws::String m_statusMessage;
309 bool m_statusMessageHasBeenSet = false;
310
311 long long m_billableTrainingTimeInSeconds;
312 bool m_billableTrainingTimeInSecondsHasBeenSet = false;
313
314 Aws::Utils::DateTime m_trainingEndTimestamp;
315 bool m_trainingEndTimestampHasBeenSet = false;
316
317 OutputConfig m_outputConfig;
318 bool m_outputConfigHasBeenSet = false;
319
320 TrainingDataResult m_trainingDataResult;
321 bool m_trainingDataResultHasBeenSet = false;
322
323 TestingDataResult m_testingDataResult;
324 bool m_testingDataResultHasBeenSet = false;
325
326 EvaluationResult m_evaluationResult;
327 bool m_evaluationResultHasBeenSet = false;
328
329 GroundTruthManifest m_manifestSummary;
330 bool m_manifestSummaryHasBeenSet = false;
331
332 Aws::String m_kmsKeyId;
333 bool m_kmsKeyIdHasBeenSet = false;
334
335 int m_maxInferenceUnits;
336 bool m_maxInferenceUnitsHasBeenSet = false;
337
338 Aws::String m_sourceProjectVersionArn;
339 bool m_sourceProjectVersionArnHasBeenSet = false;
340
341 Aws::String m_versionDescription;
342 bool m_versionDescriptionHasBeenSet = false;
343
344 CustomizationFeature m_feature;
345 bool m_featureHasBeenSet = false;
346
347 Aws::String m_baseModelVersion;
348 bool m_baseModelVersionHasBeenSet = false;
349
350 CustomizationFeatureConfig m_featureConfig;
351 bool m_featureConfigHasBeenSet = false;
352 };
353
354} // namespace Model
355} // namespace Rekognition
356} // namespace Aws
ProjectVersionDescription & WithTestingDataResult(const TestingDataResult &value)
ProjectVersionDescription & WithStatus(const ProjectVersionStatus &value)
ProjectVersionDescription & WithOutputConfig(OutputConfig &&value)
ProjectVersionDescription & WithSourceProjectVersionArn(const Aws::String &value)
ProjectVersionDescription & WithBaseModelVersion(const Aws::String &value)
ProjectVersionDescription & WithMaxInferenceUnits(int value)
ProjectVersionDescription & WithTrainingEndTimestamp(const Aws::Utils::DateTime &value)
ProjectVersionDescription & WithManifestSummary(const GroundTruthManifest &value)
ProjectVersionDescription & WithBaseModelVersion(Aws::String &&value)
ProjectVersionDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
void SetTrainingDataResult(const TrainingDataResult &value)
ProjectVersionDescription & WithVersionDescription(Aws::String &&value)
void SetFeatureConfig(CustomizationFeatureConfig &&value)
ProjectVersionDescription & WithProjectVersionArn(Aws::String &&value)
ProjectVersionDescription & WithSourceProjectVersionArn(const char *value)
AWS_REKOGNITION_API ProjectVersionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectVersionDescription & WithBaseModelVersion(const char *value)
ProjectVersionDescription & WithProjectVersionArn(const Aws::String &value)
ProjectVersionDescription & WithFeature(const CustomizationFeature &value)
ProjectVersionDescription & WithKmsKeyId(const Aws::String &value)
ProjectVersionDescription & WithFeatureConfig(CustomizationFeatureConfig &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectVersionDescription & WithFeatureConfig(const CustomizationFeatureConfig &value)
ProjectVersionDescription & WithMinInferenceUnits(int value)
ProjectVersionDescription & WithStatusMessage(const char *value)
ProjectVersionDescription & WithTestingDataResult(TestingDataResult &&value)
ProjectVersionDescription & WithEvaluationResult(const EvaluationResult &value)
ProjectVersionDescription & WithOutputConfig(const OutputConfig &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
ProjectVersionDescription & WithStatusMessage(const Aws::String &value)
ProjectVersionDescription & WithProjectVersionArn(const char *value)
ProjectVersionDescription & WithBillableTrainingTimeInSeconds(long long value)
const CustomizationFeatureConfig & GetFeatureConfig() const
ProjectVersionDescription & WithTrainingEndTimestamp(Aws::Utils::DateTime &&value)
ProjectVersionDescription & WithSourceProjectVersionArn(Aws::String &&value)
ProjectVersionDescription & WithTrainingDataResult(const TrainingDataResult &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
ProjectVersionDescription & WithManifestSummary(GroundTruthManifest &&value)
AWS_REKOGNITION_API ProjectVersionDescription(Aws::Utils::Json::JsonView jsonValue)
void SetFeatureConfig(const CustomizationFeatureConfig &value)
ProjectVersionDescription & WithVersionDescription(const Aws::String &value)
ProjectVersionDescription & WithStatus(ProjectVersionStatus &&value)
ProjectVersionDescription & WithVersionDescription(const char *value)
void SetTrainingEndTimestamp(const Aws::Utils::DateTime &value)
ProjectVersionDescription & WithEvaluationResult(EvaluationResult &&value)
ProjectVersionDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTrainingEndTimestamp() const
void SetManifestSummary(const GroundTruthManifest &value)
ProjectVersionDescription & WithStatusMessage(Aws::String &&value)
ProjectVersionDescription & WithTrainingDataResult(TrainingDataResult &&value)
ProjectVersionDescription & WithKmsKeyId(Aws::String &&value)
ProjectVersionDescription & WithFeature(CustomizationFeature &&value)
ProjectVersionDescription & WithKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue