AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DescribeProjectResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise {
24namespace Model {
26 public:
27 AWS_IOTSITEWISE_API DescribeProjectResult() = default;
30
32
35 inline const Aws::String& GetProjectId() const { return m_projectId; }
36 template <typename ProjectIdT = Aws::String>
37 void SetProjectId(ProjectIdT&& value) {
38 m_projectIdHasBeenSet = true;
39 m_projectId = std::forward<ProjectIdT>(value);
40 }
41 template <typename ProjectIdT = Aws::String>
42 DescribeProjectResult& WithProjectId(ProjectIdT&& value) {
43 SetProjectId(std::forward<ProjectIdT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
57 template <typename ProjectArnT = Aws::String>
58 void SetProjectArn(ProjectArnT&& value) {
59 m_projectArnHasBeenSet = true;
60 m_projectArn = std::forward<ProjectArnT>(value);
61 }
62 template <typename ProjectArnT = Aws::String>
63 DescribeProjectResult& WithProjectArn(ProjectArnT&& value) {
64 SetProjectArn(std::forward<ProjectArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetProjectName() const { return m_projectName; }
74 template <typename ProjectNameT = Aws::String>
75 void SetProjectName(ProjectNameT&& value) {
76 m_projectNameHasBeenSet = true;
77 m_projectName = std::forward<ProjectNameT>(value);
78 }
79 template <typename ProjectNameT = Aws::String>
80 DescribeProjectResult& WithProjectName(ProjectNameT&& value) {
81 SetProjectName(std::forward<ProjectNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetPortalId() const { return m_portalId; }
91 template <typename PortalIdT = Aws::String>
92 void SetPortalId(PortalIdT&& value) {
93 m_portalIdHasBeenSet = true;
94 m_portalId = std::forward<PortalIdT>(value);
95 }
96 template <typename PortalIdT = Aws::String>
97 DescribeProjectResult& WithPortalId(PortalIdT&& value) {
98 SetPortalId(std::forward<PortalIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
108 template <typename ProjectDescriptionT = Aws::String>
109 void SetProjectDescription(ProjectDescriptionT&& value) {
110 m_projectDescriptionHasBeenSet = true;
111 m_projectDescription = std::forward<ProjectDescriptionT>(value);
112 }
113 template <typename ProjectDescriptionT = Aws::String>
114 DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) {
115 SetProjectDescription(std::forward<ProjectDescriptionT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetProjectCreationDate() const { return m_projectCreationDate; }
125 template <typename ProjectCreationDateT = Aws::Utils::DateTime>
126 void SetProjectCreationDate(ProjectCreationDateT&& value) {
127 m_projectCreationDateHasBeenSet = true;
128 m_projectCreationDate = std::forward<ProjectCreationDateT>(value);
129 }
130 template <typename ProjectCreationDateT = Aws::Utils::DateTime>
131 DescribeProjectResult& WithProjectCreationDate(ProjectCreationDateT&& value) {
132 SetProjectCreationDate(std::forward<ProjectCreationDateT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Utils::DateTime& GetProjectLastUpdateDate() const { return m_projectLastUpdateDate; }
142 template <typename ProjectLastUpdateDateT = Aws::Utils::DateTime>
143 void SetProjectLastUpdateDate(ProjectLastUpdateDateT&& value) {
144 m_projectLastUpdateDateHasBeenSet = true;
145 m_projectLastUpdateDate = std::forward<ProjectLastUpdateDateT>(value);
146 }
147 template <typename ProjectLastUpdateDateT = Aws::Utils::DateTime>
148 DescribeProjectResult& WithProjectLastUpdateDate(ProjectLastUpdateDateT&& value) {
149 SetProjectLastUpdateDate(std::forward<ProjectLastUpdateDateT>(value));
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
169
170 private:
171 Aws::String m_projectId;
172
173 Aws::String m_projectArn;
174
175 Aws::String m_projectName;
176
177 Aws::String m_portalId;
178
179 Aws::String m_projectDescription;
180
181 Aws::Utils::DateTime m_projectCreationDate{};
182
183 Aws::Utils::DateTime m_projectLastUpdateDate{};
184
185 Aws::String m_requestId;
186 Aws::Http::HttpResponseCode m_HttpResponseCode;
187 bool m_projectIdHasBeenSet = false;
188 bool m_projectArnHasBeenSet = false;
189 bool m_projectNameHasBeenSet = false;
190 bool m_portalIdHasBeenSet = false;
191 bool m_projectDescriptionHasBeenSet = false;
192 bool m_projectCreationDateHasBeenSet = false;
193 bool m_projectLastUpdateDateHasBeenSet = false;
194 bool m_requestIdHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace IoTSiteWise
199} // 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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