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/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() = default;
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 template<typename ProjectArnT = Aws::String>
51 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
52 template<typename ProjectArnT = Aws::String>
53 ProjectDescription& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const { return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 template<typename ProjectNameT = Aws::String>
63 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
64 template<typename ProjectNameT = Aws::String>
65 ProjectDescription& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
73 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
74 template<typename CreationTimestampT = Aws::Utils::DateTime>
75 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
76 template<typename CreationTimestampT = Aws::Utils::DateTime>
77 ProjectDescription& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
79
81
84 inline const Aws::Vector<DatasetMetadata>& GetDatasets() const { return m_datasets; }
85 inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; }
86 template<typename DatasetsT = Aws::Vector<DatasetMetadata>>
87 void SetDatasets(DatasetsT&& value) { m_datasetsHasBeenSet = true; m_datasets = std::forward<DatasetsT>(value); }
88 template<typename DatasetsT = Aws::Vector<DatasetMetadata>>
89 ProjectDescription& WithDatasets(DatasetsT&& value) { SetDatasets(std::forward<DatasetsT>(value)); return *this;}
90 template<typename DatasetsT = DatasetMetadata>
91 ProjectDescription& AddDatasets(DatasetsT&& value) { m_datasetsHasBeenSet = true; m_datasets.emplace_back(std::forward<DatasetsT>(value)); return *this; }
93 private:
94
95 Aws::String m_projectArn;
96 bool m_projectArnHasBeenSet = false;
97
98 Aws::String m_projectName;
99 bool m_projectNameHasBeenSet = false;
100
101 Aws::Utils::DateTime m_creationTimestamp{};
102 bool m_creationTimestampHasBeenSet = false;
103
105 bool m_datasetsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LookoutforVision
110} // namespace Aws
AWS_LOOKOUTFORVISION_API ProjectDescription()=default
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_LOOKOUTFORVISION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
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)
ProjectDescription & WithDatasets(DatasetsT &&value)
ProjectDescription & WithCreationTimestamp(CreationTimestampT &&value)
ProjectDescription & WithProjectArn(ProjectArnT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
ProjectDescription & AddDatasets(DatasetsT &&value)
ProjectDescription & WithProjectName(ProjectNameT &&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