AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePortalResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/PortalStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotsitewise/model/ImageLocation.h>
12#include <aws/iotsitewise/model/AuthMode.h>
13#include <aws/iotsitewise/model/Alarms.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace IoTSiteWise
29{
30namespace Model
31{
33 {
34 public:
35 AWS_IOTSITEWISE_API DescribePortalResult();
38
39
41
44 inline const Aws::String& GetPortalId() const{ return m_portalId; }
45 inline void SetPortalId(const Aws::String& value) { m_portalId = value; }
46 inline void SetPortalId(Aws::String&& value) { m_portalId = std::move(value); }
47 inline void SetPortalId(const char* value) { m_portalId.assign(value); }
48 inline DescribePortalResult& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
49 inline DescribePortalResult& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
50 inline DescribePortalResult& WithPortalId(const char* value) { SetPortalId(value); return *this;}
52
54
61 inline const Aws::String& GetPortalArn() const{ return m_portalArn; }
62 inline void SetPortalArn(const Aws::String& value) { m_portalArn = value; }
63 inline void SetPortalArn(Aws::String&& value) { m_portalArn = std::move(value); }
64 inline void SetPortalArn(const char* value) { m_portalArn.assign(value); }
65 inline DescribePortalResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;}
66 inline DescribePortalResult& WithPortalArn(Aws::String&& value) { SetPortalArn(std::move(value)); return *this;}
67 inline DescribePortalResult& WithPortalArn(const char* value) { SetPortalArn(value); return *this;}
69
71
74 inline const Aws::String& GetPortalName() const{ return m_portalName; }
75 inline void SetPortalName(const Aws::String& value) { m_portalName = value; }
76 inline void SetPortalName(Aws::String&& value) { m_portalName = std::move(value); }
77 inline void SetPortalName(const char* value) { m_portalName.assign(value); }
78 inline DescribePortalResult& WithPortalName(const Aws::String& value) { SetPortalName(value); return *this;}
79 inline DescribePortalResult& WithPortalName(Aws::String&& value) { SetPortalName(std::move(value)); return *this;}
80 inline DescribePortalResult& WithPortalName(const char* value) { SetPortalName(value); return *this;}
82
84
87 inline const Aws::String& GetPortalDescription() const{ return m_portalDescription; }
88 inline void SetPortalDescription(const Aws::String& value) { m_portalDescription = value; }
89 inline void SetPortalDescription(Aws::String&& value) { m_portalDescription = std::move(value); }
90 inline void SetPortalDescription(const char* value) { m_portalDescription.assign(value); }
91 inline DescribePortalResult& WithPortalDescription(const Aws::String& value) { SetPortalDescription(value); return *this;}
92 inline DescribePortalResult& WithPortalDescription(Aws::String&& value) { SetPortalDescription(std::move(value)); return *this;}
93 inline DescribePortalResult& WithPortalDescription(const char* value) { SetPortalDescription(value); return *this;}
95
97
103 inline const Aws::String& GetPortalClientId() const{ return m_portalClientId; }
104 inline void SetPortalClientId(const Aws::String& value) { m_portalClientId = value; }
105 inline void SetPortalClientId(Aws::String&& value) { m_portalClientId = std::move(value); }
106 inline void SetPortalClientId(const char* value) { m_portalClientId.assign(value); }
107 inline DescribePortalResult& WithPortalClientId(const Aws::String& value) { SetPortalClientId(value); return *this;}
108 inline DescribePortalResult& WithPortalClientId(Aws::String&& value) { SetPortalClientId(std::move(value)); return *this;}
109 inline DescribePortalResult& WithPortalClientId(const char* value) { SetPortalClientId(value); return *this;}
111
113
119 inline const Aws::String& GetPortalStartUrl() const{ return m_portalStartUrl; }
120 inline void SetPortalStartUrl(const Aws::String& value) { m_portalStartUrl = value; }
121 inline void SetPortalStartUrl(Aws::String&& value) { m_portalStartUrl = std::move(value); }
122 inline void SetPortalStartUrl(const char* value) { m_portalStartUrl.assign(value); }
123 inline DescribePortalResult& WithPortalStartUrl(const Aws::String& value) { SetPortalStartUrl(value); return *this;}
124 inline DescribePortalResult& WithPortalStartUrl(Aws::String&& value) { SetPortalStartUrl(std::move(value)); return *this;}
125 inline DescribePortalResult& WithPortalStartUrl(const char* value) { SetPortalStartUrl(value); return *this;}
127
129
132 inline const Aws::String& GetPortalContactEmail() const{ return m_portalContactEmail; }
133 inline void SetPortalContactEmail(const Aws::String& value) { m_portalContactEmail = value; }
134 inline void SetPortalContactEmail(Aws::String&& value) { m_portalContactEmail = std::move(value); }
135 inline void SetPortalContactEmail(const char* value) { m_portalContactEmail.assign(value); }
137 inline DescribePortalResult& WithPortalContactEmail(Aws::String&& value) { SetPortalContactEmail(std::move(value)); return *this;}
138 inline DescribePortalResult& WithPortalContactEmail(const char* value) { SetPortalContactEmail(value); return *this;}
140
142
146 inline const PortalStatus& GetPortalStatus() const{ return m_portalStatus; }
147 inline void SetPortalStatus(const PortalStatus& value) { m_portalStatus = value; }
148 inline void SetPortalStatus(PortalStatus&& value) { m_portalStatus = std::move(value); }
149 inline DescribePortalResult& WithPortalStatus(const PortalStatus& value) { SetPortalStatus(value); return *this;}
150 inline DescribePortalResult& WithPortalStatus(PortalStatus&& value) { SetPortalStatus(std::move(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetPortalCreationDate() const{ return m_portalCreationDate; }
158 inline void SetPortalCreationDate(const Aws::Utils::DateTime& value) { m_portalCreationDate = value; }
159 inline void SetPortalCreationDate(Aws::Utils::DateTime&& value) { m_portalCreationDate = std::move(value); }
163
165
168 inline const Aws::Utils::DateTime& GetPortalLastUpdateDate() const{ return m_portalLastUpdateDate; }
169 inline void SetPortalLastUpdateDate(const Aws::Utils::DateTime& value) { m_portalLastUpdateDate = value; }
170 inline void SetPortalLastUpdateDate(Aws::Utils::DateTime&& value) { m_portalLastUpdateDate = std::move(value); }
174
176
179 inline const ImageLocation& GetPortalLogoImageLocation() const{ return m_portalLogoImageLocation; }
180 inline void SetPortalLogoImageLocation(const ImageLocation& value) { m_portalLogoImageLocation = value; }
181 inline void SetPortalLogoImageLocation(ImageLocation&& value) { m_portalLogoImageLocation = std::move(value); }
185
187
196 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
197 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
198 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
199 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
200 inline DescribePortalResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
201 inline DescribePortalResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
202 inline DescribePortalResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
204
206
209 inline const AuthMode& GetPortalAuthMode() const{ return m_portalAuthMode; }
210 inline void SetPortalAuthMode(const AuthMode& value) { m_portalAuthMode = value; }
211 inline void SetPortalAuthMode(AuthMode&& value) { m_portalAuthMode = std::move(value); }
212 inline DescribePortalResult& WithPortalAuthMode(const AuthMode& value) { SetPortalAuthMode(value); return *this;}
213 inline DescribePortalResult& WithPortalAuthMode(AuthMode&& value) { SetPortalAuthMode(std::move(value)); return *this;}
215
217
220 inline const Aws::String& GetNotificationSenderEmail() const{ return m_notificationSenderEmail; }
221 inline void SetNotificationSenderEmail(const Aws::String& value) { m_notificationSenderEmail = value; }
222 inline void SetNotificationSenderEmail(Aws::String&& value) { m_notificationSenderEmail = std::move(value); }
223 inline void SetNotificationSenderEmail(const char* value) { m_notificationSenderEmail.assign(value); }
226 inline DescribePortalResult& WithNotificationSenderEmail(const char* value) { SetNotificationSenderEmail(value); return *this;}
228
230
234 inline const Alarms& GetAlarms() const{ return m_alarms; }
235 inline void SetAlarms(const Alarms& value) { m_alarms = value; }
236 inline void SetAlarms(Alarms&& value) { m_alarms = std::move(value); }
237 inline DescribePortalResult& WithAlarms(const Alarms& value) { SetAlarms(value); return *this;}
238 inline DescribePortalResult& WithAlarms(Alarms&& value) { SetAlarms(std::move(value)); return *this;}
240
242
243 inline const Aws::String& GetRequestId() const{ return m_requestId; }
244 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
245 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
246 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
247 inline DescribePortalResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
248 inline DescribePortalResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
249 inline DescribePortalResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
251 private:
252
253 Aws::String m_portalId;
254
255 Aws::String m_portalArn;
256
257 Aws::String m_portalName;
258
259 Aws::String m_portalDescription;
260
261 Aws::String m_portalClientId;
262
263 Aws::String m_portalStartUrl;
264
265 Aws::String m_portalContactEmail;
266
267 PortalStatus m_portalStatus;
268
269 Aws::Utils::DateTime m_portalCreationDate;
270
271 Aws::Utils::DateTime m_portalLastUpdateDate;
272
273 ImageLocation m_portalLogoImageLocation;
274
275 Aws::String m_roleArn;
276
277 AuthMode m_portalAuthMode;
278
279 Aws::String m_notificationSenderEmail;
280
281 Alarms m_alarms;
282
283 Aws::String m_requestId;
284 };
285
286} // namespace Model
287} // namespace IoTSiteWise
288} // namespace Aws
DescribePortalResult & WithRoleArn(const Aws::String &value)
DescribePortalResult & WithPortalLastUpdateDate(Aws::Utils::DateTime &&value)
const ImageLocation & GetPortalLogoImageLocation() const
DescribePortalResult & WithNotificationSenderEmail(Aws::String &&value)
DescribePortalResult & WithRoleArn(Aws::String &&value)
DescribePortalResult & WithPortalLastUpdateDate(const Aws::Utils::DateTime &value)
DescribePortalResult & WithPortalStartUrl(const Aws::String &value)
void SetPortalLastUpdateDate(Aws::Utils::DateTime &&value)
DescribePortalResult & WithPortalName(const char *value)
DescribePortalResult & WithRequestId(const Aws::String &value)
DescribePortalResult & WithPortalClientId(const char *value)
void SetPortalCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetPortalLastUpdateDate() const
DescribePortalResult & WithPortalContactEmail(const Aws::String &value)
DescribePortalResult & WithPortalName(Aws::String &&value)
DescribePortalResult & WithPortalAuthMode(const AuthMode &value)
DescribePortalResult & WithAlarms(const Alarms &value)
DescribePortalResult & WithPortalStartUrl(Aws::String &&value)
DescribePortalResult & WithAlarms(Alarms &&value)
void SetNotificationSenderEmail(const Aws::String &value)
DescribePortalResult & WithRoleArn(const char *value)
DescribePortalResult & WithPortalArn(const char *value)
DescribePortalResult & WithPortalLogoImageLocation(const ImageLocation &value)
DescribePortalResult & WithPortalCreationDate(Aws::Utils::DateTime &&value)
DescribePortalResult & WithPortalClientId(const Aws::String &value)
DescribePortalResult & WithPortalContactEmail(const char *value)
const Aws::Utils::DateTime & GetPortalCreationDate() const
DescribePortalResult & WithPortalArn(const Aws::String &value)
void SetPortalLastUpdateDate(const Aws::Utils::DateTime &value)
void SetPortalCreationDate(const Aws::Utils::DateTime &value)
void SetPortalContactEmail(const Aws::String &value)
DescribePortalResult & WithNotificationSenderEmail(const Aws::String &value)
DescribePortalResult & WithPortalLogoImageLocation(ImageLocation &&value)
DescribePortalResult & WithRequestId(const char *value)
DescribePortalResult & WithNotificationSenderEmail(const char *value)
AWS_IOTSITEWISE_API DescribePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePortalResult & WithPortalDescription(const char *value)
DescribePortalResult & WithPortalId(const char *value)
DescribePortalResult & WithPortalArn(Aws::String &&value)
void SetPortalDescription(const Aws::String &value)
AWS_IOTSITEWISE_API DescribePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPortalLogoImageLocation(const ImageLocation &value)
DescribePortalResult & WithPortalContactEmail(Aws::String &&value)
DescribePortalResult & WithPortalDescription(const Aws::String &value)
DescribePortalResult & WithPortalAuthMode(AuthMode &&value)
DescribePortalResult & WithRequestId(Aws::String &&value)
DescribePortalResult & WithPortalName(const Aws::String &value)
DescribePortalResult & WithPortalStatus(const PortalStatus &value)
DescribePortalResult & WithPortalStartUrl(const char *value)
DescribePortalResult & WithPortalId(const Aws::String &value)
DescribePortalResult & WithPortalDescription(Aws::String &&value)
DescribePortalResult & WithPortalId(Aws::String &&value)
DescribePortalResult & WithPortalStatus(PortalStatus &&value)
DescribePortalResult & WithPortalClientId(Aws::String &&value)
DescribePortalResult & WithPortalCreationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue