AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ProjectArnT = Aws::String>
54 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
55 template<typename ProjectArnT = Aws::String>
56 ProjectDescription& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
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) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
67 template<typename CreationTimestampT = Aws::Utils::DateTime>
68 ProjectDescription& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
70
72
75 inline ProjectStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(ProjectStatus value) { m_statusHasBeenSet = true; m_status = value; }
78 inline ProjectDescription& WithStatus(ProjectStatus value) { SetStatus(value); return *this;}
80
82
85 inline const Aws::Vector<DatasetMetadata>& GetDatasets() const { return m_datasets; }
86 inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
87 template<typename DatasetsT = Aws::Vector<DatasetMetadata>>
88 void SetDatasets(DatasetsT&& value) { m_datasetsHasBeenSet = true; m_datasets = std::forward<DatasetsT>(value); }
89 template<typename DatasetsT = Aws::Vector<DatasetMetadata>>
90 ProjectDescription& WithDatasets(DatasetsT&& value) { SetDatasets(std::forward<DatasetsT>(value)); return *this;}
91 template<typename DatasetsT = DatasetMetadata>
92 ProjectDescription& AddDatasets(DatasetsT&& value) { m_datasetsHasBeenSet = true; m_datasets.emplace_back(std::forward<DatasetsT>(value)); return *this; }
94
96
99 inline CustomizationFeature GetFeature() const { return m_feature; }
100 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
101 inline void SetFeature(CustomizationFeature value) { m_featureHasBeenSet = true; m_feature = value; }
102 inline ProjectDescription& WithFeature(CustomizationFeature value) { SetFeature(value); return *this;}
104
106
110 inline ProjectAutoUpdate GetAutoUpdate() const { return m_autoUpdate; }
111 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
112 inline void SetAutoUpdate(ProjectAutoUpdate value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
113 inline ProjectDescription& WithAutoUpdate(ProjectAutoUpdate value) { SetAutoUpdate(value); return *this;}
115 private:
116
117 Aws::String m_projectArn;
118 bool m_projectArnHasBeenSet = false;
119
120 Aws::Utils::DateTime m_creationTimestamp{};
121 bool m_creationTimestampHasBeenSet = false;
122
124 bool m_statusHasBeenSet = false;
125
127 bool m_datasetsHasBeenSet = false;
128
130 bool m_featureHasBeenSet = false;
131
133 bool m_autoUpdateHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Rekognition
138} // 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