AWS SDK for C++  1.9.108
AWS SDK for C++
ProjectDescription.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace LookoutforVision
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
48 
52  inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
53 
57  inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
58 
62  inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
63 
67  inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
68 
72  inline ProjectDescription& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
73 
77  inline ProjectDescription& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
78 
82  inline ProjectDescription& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetProjectName() const{ return m_projectName; }
89 
93  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
94 
98  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
99 
103  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
104 
108  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
109 
113  inline ProjectDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
114 
118  inline ProjectDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
119 
123  inline ProjectDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
124 
125 
129  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
130 
134  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
135 
139  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
140 
144  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
145 
149  inline ProjectDescription& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
150 
154  inline ProjectDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
155 
156 
160  inline const Aws::Vector<DatasetMetadata>& GetDatasets() const{ return m_datasets; }
161 
165  inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
166 
170  inline void SetDatasets(const Aws::Vector<DatasetMetadata>& value) { m_datasetsHasBeenSet = true; m_datasets = value; }
171 
175  inline void SetDatasets(Aws::Vector<DatasetMetadata>&& value) { m_datasetsHasBeenSet = true; m_datasets = std::move(value); }
176 
180  inline ProjectDescription& WithDatasets(const Aws::Vector<DatasetMetadata>& value) { SetDatasets(value); return *this;}
181 
185  inline ProjectDescription& WithDatasets(Aws::Vector<DatasetMetadata>&& value) { SetDatasets(std::move(value)); return *this;}
186 
190  inline ProjectDescription& AddDatasets(const DatasetMetadata& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(value); return *this; }
191 
195  inline ProjectDescription& AddDatasets(DatasetMetadata&& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(std::move(value)); return *this; }
196 
197  private:
198 
199  Aws::String m_projectArn;
200  bool m_projectArnHasBeenSet;
201 
202  Aws::String m_projectName;
203  bool m_projectNameHasBeenSet;
204 
205  Aws::Utils::DateTime m_creationTimestamp;
206  bool m_creationTimestampHasBeenSet;
207 
208  Aws::Vector<DatasetMetadata> m_datasets;
209  bool m_datasetsHasBeenSet;
210  };
211 
212 } // namespace Model
213 } // namespace LookoutforVision
214 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutforVision::Model::ProjectDescription::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: ProjectDescription.h:47
Aws::LookoutforVision::Model::ProjectDescription::WithProjectArn
ProjectDescription & WithProjectArn(const Aws::String &value)
Definition: ProjectDescription.h:72
Aws::LookoutforVision::Model::ProjectDescription::SetDatasets
void SetDatasets(const Aws::Vector< DatasetMetadata > &value)
Definition: ProjectDescription.h:170
Aws::LookoutforVision::Model::DatasetMetadata
Definition: DatasetMetadata.h:35
Aws::LookoutforVision::Model::ProjectDescription::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ProjectDescription.h:144
DatasetMetadata.h
Aws::LookoutforVision::Model::ProjectDescription::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: ProjectDescription.h:93
Aws::LookoutforVision::Model::ProjectDescription::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ProjectDescription.h:139
DateTime.h
Aws::LookoutforVision::Model::ProjectDescription::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: ProjectDescription.h:103
Aws::LookoutforVision::Model::ProjectDescription::operator=
ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ProjectDescription::ProjectDescription
ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LookoutforVision::Model::ProjectDescription::WithProjectName
ProjectDescription & WithProjectName(const char *value)
Definition: ProjectDescription.h:123
Aws::LookoutforVision::Model::ProjectDescription::AddDatasets
ProjectDescription & AddDatasets(DatasetMetadata &&value)
Definition: ProjectDescription.h:195
Aws::LookoutforVision::Model::ProjectDescription::DatasetsHasBeenSet
bool DatasetsHasBeenSet() const
Definition: ProjectDescription.h:165
LookoutforVision_EXPORTS.h
AWSVector.h
Aws::LookoutforVision::Model::ProjectDescription::WithDatasets
ProjectDescription & WithDatasets(const Aws::Vector< DatasetMetadata > &value)
Definition: ProjectDescription.h:180
Aws::LookoutforVision::Model::ProjectDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::ProjectDescription::SetProjectName
void SetProjectName(const char *value)
Definition: ProjectDescription.h:108
Aws::LookoutforVision::Model::ProjectDescription::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: ProjectDescription.h:134
Aws::LookoutforVision::Model::ProjectDescription::WithProjectArn
ProjectDescription & WithProjectArn(const char *value)
Definition: ProjectDescription.h:82
Aws::LookoutforVision::Model::ProjectDescription::WithDatasets
ProjectDescription & WithDatasets(Aws::Vector< DatasetMetadata > &&value)
Definition: ProjectDescription.h:185
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ProjectDescription::GetProjectName
const Aws::String & GetProjectName() const
Definition: ProjectDescription.h:88
Aws::LookoutforVision::Model::ProjectDescription::GetDatasets
const Aws::Vector< DatasetMetadata > & GetDatasets() const
Definition: ProjectDescription.h:160
Aws::LookoutforVision::Model::ProjectDescription::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: ProjectDescription.h:62
Aws::LookoutforVision::Model::ProjectDescription
Definition: ProjectDescription.h:36
Aws::LookoutforVision::Model::ProjectDescription::ProjectArnHasBeenSet
bool ProjectArnHasBeenSet() const
Definition: ProjectDescription.h:52
Aws::LookoutforVision::Model::ProjectDescription::WithProjectArn
ProjectDescription & WithProjectArn(Aws::String &&value)
Definition: ProjectDescription.h:77
Aws::LookoutforVision::Model::ProjectDescription::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: ProjectDescription.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ProjectDescription::SetDatasets
void SetDatasets(Aws::Vector< DatasetMetadata > &&value)
Definition: ProjectDescription.h:175
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::ProjectDescription::WithCreationTimestamp
ProjectDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ProjectDescription.h:149
Aws::LookoutforVision::Model::ProjectDescription::WithCreationTimestamp
ProjectDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ProjectDescription.h:154
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ProjectDescription::AddDatasets
ProjectDescription & AddDatasets(const DatasetMetadata &value)
Definition: ProjectDescription.h:190
Aws::LookoutforVision::Model::ProjectDescription::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: ProjectDescription.h:98
Aws::LookoutforVision::Model::ProjectDescription::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: ProjectDescription.h:129
Aws::LookoutforVision::Model::ProjectDescription::ProjectDescription
ProjectDescription()
Aws::LookoutforVision::Model::ProjectDescription::WithProjectName
ProjectDescription & WithProjectName(Aws::String &&value)
Definition: ProjectDescription.h:118
Aws::LookoutforVision::Model::ProjectDescription::SetProjectArn
void SetProjectArn(const char *value)
Definition: ProjectDescription.h:67
Aws::LookoutforVision::Model::ProjectDescription::WithProjectName
ProjectDescription & WithProjectName(const Aws::String &value)
Definition: ProjectDescription.h:113