AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProjectDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/CustomizationFeature.h>
12#include <aws/rekognition/model/DatasetMetadata.h>
13#include <aws/rekognition/model/ProjectAutoUpdate.h>
14#include <aws/rekognition/model/ProjectStatus.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Rekognition {
26namespace Model {
27
35 public:
36 AWS_REKOGNITION_API ProjectDescription() = default;
37 AWS_REKOGNITION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
46 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
47 template <typename ProjectArnT = Aws::String>
48 void SetProjectArn(ProjectArnT&& value) {
49 m_projectArnHasBeenSet = true;
50 m_projectArn = std::forward<ProjectArnT>(value);
51 }
52 template <typename ProjectArnT = Aws::String>
53 ProjectDescription& WithProjectArn(ProjectArnT&& value) {
54 SetProjectArn(std::forward<ProjectArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
64 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
65 template <typename CreationTimestampT = Aws::Utils::DateTime>
66 void SetCreationTimestamp(CreationTimestampT&& value) {
67 m_creationTimestampHasBeenSet = true;
68 m_creationTimestamp = std::forward<CreationTimestampT>(value);
69 }
70 template <typename CreationTimestampT = Aws::Utils::DateTime>
71 ProjectDescription& WithCreationTimestamp(CreationTimestampT&& value) {
72 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
73 return *this;
74 }
76
78
81 inline ProjectStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(ProjectStatus value) {
84 m_statusHasBeenSet = true;
85 m_status = value;
86 }
88 SetStatus(value);
89 return *this;
90 }
92
94
97 inline const Aws::Vector<DatasetMetadata>& GetDatasets() const { return m_datasets; }
98 inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
99 template <typename DatasetsT = Aws::Vector<DatasetMetadata>>
100 void SetDatasets(DatasetsT&& value) {
101 m_datasetsHasBeenSet = true;
102 m_datasets = std::forward<DatasetsT>(value);
103 }
104 template <typename DatasetsT = Aws::Vector<DatasetMetadata>>
105 ProjectDescription& WithDatasets(DatasetsT&& value) {
106 SetDatasets(std::forward<DatasetsT>(value));
107 return *this;
108 }
109 template <typename DatasetsT = DatasetMetadata>
110 ProjectDescription& AddDatasets(DatasetsT&& value) {
111 m_datasetsHasBeenSet = true;
112 m_datasets.emplace_back(std::forward<DatasetsT>(value));
113 return *this;
114 }
116
118
121 inline CustomizationFeature GetFeature() const { return m_feature; }
122 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
123 inline void SetFeature(CustomizationFeature value) {
124 m_featureHasBeenSet = true;
125 m_feature = value;
126 }
128 SetFeature(value);
129 return *this;
130 }
132
134
138 inline ProjectAutoUpdate GetAutoUpdate() const { return m_autoUpdate; }
139 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
140 inline void SetAutoUpdate(ProjectAutoUpdate value) {
141 m_autoUpdateHasBeenSet = true;
142 m_autoUpdate = value;
143 }
145 SetAutoUpdate(value);
146 return *this;
147 }
149 private:
150 Aws::String m_projectArn;
151
152 Aws::Utils::DateTime m_creationTimestamp{};
153
155
157
159
161 bool m_projectArnHasBeenSet = false;
162 bool m_creationTimestampHasBeenSet = false;
163 bool m_statusHasBeenSet = false;
164 bool m_datasetsHasBeenSet = false;
165 bool m_featureHasBeenSet = false;
166 bool m_autoUpdateHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace Rekognition
171} // namespace Aws
ProjectDescription & WithDatasets(DatasetsT &&value)
ProjectDescription & WithCreationTimestamp(CreationTimestampT &&value)
ProjectDescription & WithStatus(ProjectStatus value)
ProjectDescription & AddDatasets(DatasetsT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
ProjectDescription & WithFeature(CustomizationFeature value)
ProjectDescription & WithAutoUpdate(ProjectAutoUpdate value)
AWS_REKOGNITION_API ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
void SetFeature(CustomizationFeature value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTimestamp(CreationTimestampT &&value)
AWS_REKOGNITION_API ProjectDescription()=default
const Aws::Vector< DatasetMetadata > & GetDatasets() const
ProjectDescription & WithProjectArn(ProjectArnT &&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