AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeProjectResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTSiteWise
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTSITEWISE_API DescribeProjectResult() = default;
34
35
37
40 inline const Aws::String& GetProjectId() const { return m_projectId; }
41 template<typename ProjectIdT = Aws::String>
42 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
43 template<typename ProjectIdT = Aws::String>
44 DescribeProjectResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
46
48
55 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
56 template<typename ProjectArnT = Aws::String>
57 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
58 template<typename ProjectArnT = Aws::String>
59 DescribeProjectResult& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetProjectName() const { return m_projectName; }
67 template<typename ProjectNameT = Aws::String>
68 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
69 template<typename ProjectNameT = Aws::String>
70 DescribeProjectResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetPortalId() const { return m_portalId; }
78 template<typename PortalIdT = Aws::String>
79 void SetPortalId(PortalIdT&& value) { m_portalIdHasBeenSet = true; m_portalId = std::forward<PortalIdT>(value); }
80 template<typename PortalIdT = Aws::String>
81 DescribeProjectResult& WithPortalId(PortalIdT&& value) { SetPortalId(std::forward<PortalIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
89 template<typename ProjectDescriptionT = Aws::String>
90 void SetProjectDescription(ProjectDescriptionT&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::forward<ProjectDescriptionT>(value); }
91 template<typename ProjectDescriptionT = Aws::String>
92 DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) { SetProjectDescription(std::forward<ProjectDescriptionT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetProjectCreationDate() const { return m_projectCreationDate; }
100 template<typename ProjectCreationDateT = Aws::Utils::DateTime>
101 void SetProjectCreationDate(ProjectCreationDateT&& value) { m_projectCreationDateHasBeenSet = true; m_projectCreationDate = std::forward<ProjectCreationDateT>(value); }
102 template<typename ProjectCreationDateT = Aws::Utils::DateTime>
103 DescribeProjectResult& WithProjectCreationDate(ProjectCreationDateT&& value) { SetProjectCreationDate(std::forward<ProjectCreationDateT>(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetProjectLastUpdateDate() const { return m_projectLastUpdateDate; }
111 template<typename ProjectLastUpdateDateT = Aws::Utils::DateTime>
112 void SetProjectLastUpdateDate(ProjectLastUpdateDateT&& value) { m_projectLastUpdateDateHasBeenSet = true; m_projectLastUpdateDate = std::forward<ProjectLastUpdateDateT>(value); }
113 template<typename ProjectLastUpdateDateT = Aws::Utils::DateTime>
114 DescribeProjectResult& WithProjectLastUpdateDate(ProjectLastUpdateDateT&& value) { SetProjectLastUpdateDate(std::forward<ProjectLastUpdateDateT>(value)); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 DescribeProjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_projectId;
128 bool m_projectIdHasBeenSet = false;
129
130 Aws::String m_projectArn;
131 bool m_projectArnHasBeenSet = false;
132
133 Aws::String m_projectName;
134 bool m_projectNameHasBeenSet = false;
135
136 Aws::String m_portalId;
137 bool m_portalIdHasBeenSet = false;
138
139 Aws::String m_projectDescription;
140 bool m_projectDescriptionHasBeenSet = false;
141
142 Aws::Utils::DateTime m_projectCreationDate{};
143 bool m_projectCreationDateHasBeenSet = false;
144
145 Aws::Utils::DateTime m_projectLastUpdateDate{};
146 bool m_projectLastUpdateDateHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace IoTSiteWise
154} // namespace Aws
DescribeProjectResult & WithProjectName(ProjectNameT &&value)
DescribeProjectResult & WithProjectCreationDate(ProjectCreationDateT &&value)
DescribeProjectResult & WithProjectId(ProjectIdT &&value)
void SetProjectLastUpdateDate(ProjectLastUpdateDateT &&value)
void SetProjectDescription(ProjectDescriptionT &&value)
DescribeProjectResult & WithProjectLastUpdateDate(ProjectLastUpdateDateT &&value)
DescribeProjectResult & WithProjectArn(ProjectArnT &&value)
AWS_IOTSITEWISE_API DescribeProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProjectResult & WithRequestId(RequestIdT &&value)
AWS_IOTSITEWISE_API DescribeProjectResult()=default
DescribeProjectResult & WithProjectDescription(ProjectDescriptionT &&value)
AWS_IOTSITEWISE_API DescribeProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetProjectCreationDate() const
DescribeProjectResult & WithPortalId(PortalIdT &&value)
void SetProjectCreationDate(ProjectCreationDateT &&value)
const Aws::Utils::DateTime & GetProjectLastUpdateDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue