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/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lookoutvision/model/DatasetMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LookoutforVision
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LOOKOUTFORVISION_API ProjectDescription();
39 AWS_LOOKOUTFORVISION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API ProjectDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
49 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
50 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
51 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
52 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
53 inline ProjectDescription& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
54 inline ProjectDescription& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
55 inline ProjectDescription& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
57
59
62 inline const Aws::String& GetProjectName() const{ return m_projectName; }
63 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
64 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
65 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
66 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
67 inline ProjectDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
68 inline ProjectDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
69 inline ProjectDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
77 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
78 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
79 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
81 inline ProjectDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
83
85
88 inline const Aws::Vector<DatasetMetadata>& GetDatasets() const{ return m_datasets; }
89 inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
90 inline void SetDatasets(const Aws::Vector<DatasetMetadata>& value) { m_datasetsHasBeenSet = true; m_datasets = value; }
91 inline void SetDatasets(Aws::Vector<DatasetMetadata>&& value) { m_datasetsHasBeenSet = true; m_datasets = std::move(value); }
92 inline ProjectDescription& WithDatasets(const Aws::Vector<DatasetMetadata>& value) { SetDatasets(value); return *this;}
93 inline ProjectDescription& WithDatasets(Aws::Vector<DatasetMetadata>&& value) { SetDatasets(std::move(value)); return *this;}
94 inline ProjectDescription& AddDatasets(const DatasetMetadata& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(value); return *this; }
95 inline ProjectDescription& AddDatasets(DatasetMetadata&& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(std::move(value)); return *this; }
97 private:
98
99 Aws::String m_projectArn;
100 bool m_projectArnHasBeenSet = false;
101
102 Aws::String m_projectName;
103 bool m_projectNameHasBeenSet = false;
104
105 Aws::Utils::DateTime m_creationTimestamp;
106 bool m_creationTimestampHasBeenSet = false;
107
109 bool m_datasetsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace LookoutforVision
114} // namespace Aws
ProjectDescription & WithProjectArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_LOOKOUTFORVISION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
ProjectDescription & WithProjectArn(Aws::String &&value)
ProjectDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectDescription & WithDatasets(const Aws::Vector< DatasetMetadata > &value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DatasetMetadata > & GetDatasets() const
AWS_LOOKOUTFORVISION_API ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectDescription & WithDatasets(Aws::Vector< DatasetMetadata > &&value)
ProjectDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
ProjectDescription & WithProjectArn(const char *value)
ProjectDescription & WithProjectName(const Aws::String &value)
void SetDatasets(const Aws::Vector< DatasetMetadata > &value)
ProjectDescription & AddDatasets(const DatasetMetadata &value)
ProjectDescription & AddDatasets(DatasetMetadata &&value)
ProjectDescription & WithProjectName(const char *value)
ProjectDescription & WithProjectName(Aws::String &&value)
void SetDatasets(Aws::Vector< DatasetMetadata > &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &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