AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectDescription.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/ProjectStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/CustomizationFeature.h>
13#include <aws/rekognition/model/ProjectAutoUpdate.h>
14#include <aws/rekognition/model/DatasetMetadata.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_REKOGNITION_API ProjectDescription();
42 AWS_REKOGNITION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
44 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
52 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
53 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
54 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
55 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
56 inline ProjectDescription& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
57 inline ProjectDescription& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
58 inline ProjectDescription& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
66 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
67 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
68 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
70 inline ProjectDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
72
74
77 inline const ProjectStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const ProjectStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(ProjectStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline ProjectDescription& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;}
82 inline ProjectDescription& WithStatus(ProjectStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Vector<DatasetMetadata>& GetDatasets() const{ return m_datasets; }
90 inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
91 inline void SetDatasets(const Aws::Vector<DatasetMetadata>& value) { m_datasetsHasBeenSet = true; m_datasets = value; }
92 inline void SetDatasets(Aws::Vector<DatasetMetadata>&& value) { m_datasetsHasBeenSet = true; m_datasets = std::move(value); }
93 inline ProjectDescription& WithDatasets(const Aws::Vector<DatasetMetadata>& value) { SetDatasets(value); return *this;}
94 inline ProjectDescription& WithDatasets(Aws::Vector<DatasetMetadata>&& value) { SetDatasets(std::move(value)); return *this;}
95 inline ProjectDescription& AddDatasets(const DatasetMetadata& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(value); return *this; }
96 inline ProjectDescription& AddDatasets(DatasetMetadata&& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(std::move(value)); return *this; }
98
100
103 inline const CustomizationFeature& GetFeature() const{ return m_feature; }
104 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
105 inline void SetFeature(const CustomizationFeature& value) { m_featureHasBeenSet = true; m_feature = value; }
106 inline void SetFeature(CustomizationFeature&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); }
107 inline ProjectDescription& WithFeature(const CustomizationFeature& value) { SetFeature(value); return *this;}
108 inline ProjectDescription& WithFeature(CustomizationFeature&& value) { SetFeature(std::move(value)); return *this;}
110
112
116 inline const ProjectAutoUpdate& GetAutoUpdate() const{ return m_autoUpdate; }
117 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
118 inline void SetAutoUpdate(const ProjectAutoUpdate& value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
119 inline void SetAutoUpdate(ProjectAutoUpdate&& value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = std::move(value); }
120 inline ProjectDescription& WithAutoUpdate(const ProjectAutoUpdate& value) { SetAutoUpdate(value); return *this;}
121 inline ProjectDescription& WithAutoUpdate(ProjectAutoUpdate&& value) { SetAutoUpdate(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_projectArn;
126 bool m_projectArnHasBeenSet = false;
127
128 Aws::Utils::DateTime m_creationTimestamp;
129 bool m_creationTimestampHasBeenSet = false;
130
131 ProjectStatus m_status;
132 bool m_statusHasBeenSet = false;
133
135 bool m_datasetsHasBeenSet = false;
136
137 CustomizationFeature m_feature;
138 bool m_featureHasBeenSet = false;
139
140 ProjectAutoUpdate m_autoUpdate;
141 bool m_autoUpdateHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Rekognition
146} // namespace Aws
ProjectDescription & WithProjectArn(Aws::String &&value)
ProjectDescription & WithFeature(const CustomizationFeature &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectDescription & WithStatus(const ProjectStatus &value)
const ProjectAutoUpdate & GetAutoUpdate() const
void SetFeature(CustomizationFeature &&value)
ProjectDescription & WithDatasets(Aws::Vector< DatasetMetadata > &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
void SetDatasets(Aws::Vector< DatasetMetadata > &&value)
void SetDatasets(const Aws::Vector< DatasetMetadata > &value)
ProjectDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectDescription & WithAutoUpdate(ProjectAutoUpdate &&value)
void SetAutoUpdate(const ProjectAutoUpdate &value)
void SetProjectArn(const Aws::String &value)
ProjectDescription & WithStatus(ProjectStatus &&value)
ProjectDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
const CustomizationFeature & GetFeature() const
ProjectDescription & WithAutoUpdate(const ProjectAutoUpdate &value)
void SetStatus(const ProjectStatus &value)
AWS_REKOGNITION_API ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectDescription & WithProjectArn(const char *value)
void SetAutoUpdate(ProjectAutoUpdate &&value)
ProjectDescription & WithDatasets(const Aws::Vector< DatasetMetadata > &value)
ProjectDescription & WithProjectArn(const Aws::String &value)
void SetFeature(const CustomizationFeature &value)
ProjectDescription & AddDatasets(DatasetMetadata &&value)
const Aws::Vector< DatasetMetadata > & GetDatasets() const
ProjectDescription & WithFeature(CustomizationFeature &&value)
ProjectDescription & AddDatasets(const DatasetMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue