AWS SDK for C++  1.9.126
AWS SDK for C++
UpdatePortalRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace IoTSiteWise
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdatePortal"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetPortalId() const{ return m_portalId; }
42 
46  inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; }
47 
51  inline void SetPortalId(const Aws::String& value) { m_portalIdHasBeenSet = true; m_portalId = value; }
52 
56  inline void SetPortalId(Aws::String&& value) { m_portalIdHasBeenSet = true; m_portalId = std::move(value); }
57 
61  inline void SetPortalId(const char* value) { m_portalIdHasBeenSet = true; m_portalId.assign(value); }
62 
66  inline UpdatePortalRequest& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
67 
71  inline UpdatePortalRequest& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
72 
76  inline UpdatePortalRequest& WithPortalId(const char* value) { SetPortalId(value); return *this;}
77 
78 
82  inline const Aws::String& GetPortalName() const{ return m_portalName; }
83 
87  inline bool PortalNameHasBeenSet() const { return m_portalNameHasBeenSet; }
88 
92  inline void SetPortalName(const Aws::String& value) { m_portalNameHasBeenSet = true; m_portalName = value; }
93 
97  inline void SetPortalName(Aws::String&& value) { m_portalNameHasBeenSet = true; m_portalName = std::move(value); }
98 
102  inline void SetPortalName(const char* value) { m_portalNameHasBeenSet = true; m_portalName.assign(value); }
103 
107  inline UpdatePortalRequest& WithPortalName(const Aws::String& value) { SetPortalName(value); return *this;}
108 
112  inline UpdatePortalRequest& WithPortalName(Aws::String&& value) { SetPortalName(std::move(value)); return *this;}
113 
117  inline UpdatePortalRequest& WithPortalName(const char* value) { SetPortalName(value); return *this;}
118 
119 
123  inline const Aws::String& GetPortalDescription() const{ return m_portalDescription; }
124 
128  inline bool PortalDescriptionHasBeenSet() const { return m_portalDescriptionHasBeenSet; }
129 
133  inline void SetPortalDescription(const Aws::String& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = value; }
134 
138  inline void SetPortalDescription(Aws::String&& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = std::move(value); }
139 
143  inline void SetPortalDescription(const char* value) { m_portalDescriptionHasBeenSet = true; m_portalDescription.assign(value); }
144 
148  inline UpdatePortalRequest& WithPortalDescription(const Aws::String& value) { SetPortalDescription(value); return *this;}
149 
153  inline UpdatePortalRequest& WithPortalDescription(Aws::String&& value) { SetPortalDescription(std::move(value)); return *this;}
154 
158  inline UpdatePortalRequest& WithPortalDescription(const char* value) { SetPortalDescription(value); return *this;}
159 
160 
164  inline const Aws::String& GetPortalContactEmail() const{ return m_portalContactEmail; }
165 
169  inline bool PortalContactEmailHasBeenSet() const { return m_portalContactEmailHasBeenSet; }
170 
174  inline void SetPortalContactEmail(const Aws::String& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = value; }
175 
179  inline void SetPortalContactEmail(Aws::String&& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = std::move(value); }
180 
184  inline void SetPortalContactEmail(const char* value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail.assign(value); }
185 
189  inline UpdatePortalRequest& WithPortalContactEmail(const Aws::String& value) { SetPortalContactEmail(value); return *this;}
190 
194  inline UpdatePortalRequest& WithPortalContactEmail(Aws::String&& value) { SetPortalContactEmail(std::move(value)); return *this;}
195 
199  inline UpdatePortalRequest& WithPortalContactEmail(const char* value) { SetPortalContactEmail(value); return *this;}
200 
201 
202 
203  inline const Image& GetPortalLogoImage() const{ return m_portalLogoImage; }
204 
205 
206  inline bool PortalLogoImageHasBeenSet() const { return m_portalLogoImageHasBeenSet; }
207 
208 
209  inline void SetPortalLogoImage(const Image& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = value; }
210 
211 
212  inline void SetPortalLogoImage(Image&& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = std::move(value); }
213 
214 
215  inline UpdatePortalRequest& WithPortalLogoImage(const Image& value) { SetPortalLogoImage(value); return *this;}
216 
217 
218  inline UpdatePortalRequest& WithPortalLogoImage(Image&& value) { SetPortalLogoImage(std::move(value)); return *this;}
219 
220 
230  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
231 
241  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
242 
252  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
253 
263  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
264 
274  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
275 
285  inline UpdatePortalRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
286 
296  inline UpdatePortalRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
297 
307  inline UpdatePortalRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
308 
309 
315  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
316 
322  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
323 
329  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
330 
336  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
337 
343  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
344 
350  inline UpdatePortalRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
351 
357  inline UpdatePortalRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
358 
364  inline UpdatePortalRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
365 
366 
370  inline const Aws::String& GetNotificationSenderEmail() const{ return m_notificationSenderEmail; }
371 
375  inline bool NotificationSenderEmailHasBeenSet() const { return m_notificationSenderEmailHasBeenSet; }
376 
380  inline void SetNotificationSenderEmail(const Aws::String& value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail = value; }
381 
385  inline void SetNotificationSenderEmail(Aws::String&& value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail = std::move(value); }
386 
390  inline void SetNotificationSenderEmail(const char* value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail.assign(value); }
391 
395  inline UpdatePortalRequest& WithNotificationSenderEmail(const Aws::String& value) { SetNotificationSenderEmail(value); return *this;}
396 
400  inline UpdatePortalRequest& WithNotificationSenderEmail(Aws::String&& value) { SetNotificationSenderEmail(std::move(value)); return *this;}
401 
405  inline UpdatePortalRequest& WithNotificationSenderEmail(const char* value) { SetNotificationSenderEmail(value); return *this;}
406 
407 
416  inline const Alarms& GetAlarms() const{ return m_alarms; }
417 
426  inline bool AlarmsHasBeenSet() const { return m_alarmsHasBeenSet; }
427 
436  inline void SetAlarms(const Alarms& value) { m_alarmsHasBeenSet = true; m_alarms = value; }
437 
446  inline void SetAlarms(Alarms&& value) { m_alarmsHasBeenSet = true; m_alarms = std::move(value); }
447 
456  inline UpdatePortalRequest& WithAlarms(const Alarms& value) { SetAlarms(value); return *this;}
457 
466  inline UpdatePortalRequest& WithAlarms(Alarms&& value) { SetAlarms(std::move(value)); return *this;}
467 
468  private:
469 
470  Aws::String m_portalId;
471  bool m_portalIdHasBeenSet;
472 
473  Aws::String m_portalName;
474  bool m_portalNameHasBeenSet;
475 
476  Aws::String m_portalDescription;
477  bool m_portalDescriptionHasBeenSet;
478 
479  Aws::String m_portalContactEmail;
480  bool m_portalContactEmailHasBeenSet;
481 
482  Image m_portalLogoImage;
483  bool m_portalLogoImageHasBeenSet;
484 
485  Aws::String m_roleArn;
486  bool m_roleArnHasBeenSet;
487 
488  Aws::String m_clientToken;
489  bool m_clientTokenHasBeenSet;
490 
491  Aws::String m_notificationSenderEmail;
492  bool m_notificationSenderEmailHasBeenSet;
493 
494  Alarms m_alarms;
495  bool m_alarmsHasBeenSet;
496  };
497 
498 } // namespace Model
499 } // namespace IoTSiteWise
500 } // namespace Aws
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithClientToken
UpdatePortalRequest & WithClientToken(const Aws::String &value)
Definition: UpdatePortalRequest.h:350
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdatePortalRequest.h:274
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithAlarms
UpdatePortalRequest & WithAlarms(Alarms &&value)
Definition: UpdatePortalRequest.h:466
Aws::IoTSiteWise::Model::Alarms
Definition: Alarms.h:38
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalDescriptionHasBeenSet
bool PortalDescriptionHasBeenSet() const
Definition: UpdatePortalRequest.h:128
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithNotificationSenderEmail
UpdatePortalRequest & WithNotificationSenderEmail(const char *value)
Definition: UpdatePortalRequest.h:405
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalLogoImage
UpdatePortalRequest & WithPortalLogoImage(const Image &value)
Definition: UpdatePortalRequest.h:215
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalId
UpdatePortalRequest & WithPortalId(Aws::String &&value)
Definition: UpdatePortalRequest.h:71
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdatePortalRequest.h:329
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdatePortalRequest.h:343
Image.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(const char *value)
Definition: UpdatePortalRequest.h:199
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePortalRequest.h:33
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalId
UpdatePortalRequest & WithPortalId(const char *value)
Definition: UpdatePortalRequest.h:76
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalContactEmail
const Aws::String & GetPortalContactEmail() const
Definition: UpdatePortalRequest.h:164
Aws::IoTSiteWise::Model::UpdatePortalRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdatePortalRequest.h:241
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(Aws::String &&value)
Definition: UpdatePortalRequest.h:296
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetNotificationSenderEmail
void SetNotificationSenderEmail(const char *value)
Definition: UpdatePortalRequest.h:390
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalLogoImage
const Image & GetPortalLogoImage() const
Definition: UpdatePortalRequest.h:203
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(const char *value)
Definition: UpdatePortalRequest.h:143
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetNotificationSenderEmail
void SetNotificationSenderEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:385
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(const Aws::String &value)
Definition: UpdatePortalRequest.h:107
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(Aws::String &&value)
Definition: UpdatePortalRequest.h:138
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdatePortalRequest.h:263
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetAlarms
void SetAlarms(const Alarms &value)
Definition: UpdatePortalRequest.h:436
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(const char *value)
Definition: UpdatePortalRequest.h:307
Aws::IoTSiteWise::Model::UpdatePortalRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(const char *value)
Definition: UpdatePortalRequest.h:158
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithNotificationSenderEmail
UpdatePortalRequest & WithNotificationSenderEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:395
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(const char *value)
Definition: UpdatePortalRequest.h:184
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdatePortalRequest.h:252
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdatePortalRequest.h:336
Aws::IoTSiteWise::Model::UpdatePortalRequest::AlarmsHasBeenSet
bool AlarmsHasBeenSet() const
Definition: UpdatePortalRequest.h:426
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(const Aws::String &value)
Definition: UpdatePortalRequest.h:51
Aws::IoTSiteWise::Model::UpdatePortalRequest::UpdatePortalRequest
UpdatePortalRequest()
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithClientToken
UpdatePortalRequest & WithClientToken(const char *value)
Definition: UpdatePortalRequest.h:364
Aws::IoTSiteWise::Model::Image
Definition: Image.h:36
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithNotificationSenderEmail
UpdatePortalRequest & WithNotificationSenderEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:400
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalNameHasBeenSet
bool PortalNameHasBeenSet() const
Definition: UpdatePortalRequest.h:87
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(const char *value)
Definition: UpdatePortalRequest.h:61
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalDescription
const Aws::String & GetPortalDescription() const
Definition: UpdatePortalRequest.h:123
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(Aws::String &&value)
Definition: UpdatePortalRequest.h:153
AWSString.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalId
UpdatePortalRequest & WithPortalId(const Aws::String &value)
Definition: UpdatePortalRequest.h:66
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetAlarms
void SetAlarms(Alarms &&value)
Definition: UpdatePortalRequest.h:446
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetAlarms
const Alarms & GetAlarms() const
Definition: UpdatePortalRequest.h:416
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalLogoImage
void SetPortalLogoImage(const Image &value)
Definition: UpdatePortalRequest.h:209
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalLogoImage
void SetPortalLogoImage(Image &&value)
Definition: UpdatePortalRequest.h:212
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(const Aws::String &value)
Definition: UpdatePortalRequest.h:285
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(Aws::String &&value)
Definition: UpdatePortalRequest.h:97
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdatePortalRequest.h:230
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(Aws::String &&value)
Definition: UpdatePortalRequest.h:56
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:174
Aws::IoTSiteWise::Model::UpdatePortalRequest::NotificationSenderEmailHasBeenSet
bool NotificationSenderEmailHasBeenSet() const
Definition: UpdatePortalRequest.h:375
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(const char *value)
Definition: UpdatePortalRequest.h:117
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetNotificationSenderEmail
void SetNotificationSenderEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:380
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:194
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(const char *value)
Definition: UpdatePortalRequest.h:102
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(const Aws::String &value)
Definition: UpdatePortalRequest.h:92
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(Aws::String &&value)
Definition: UpdatePortalRequest.h:112
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalId
const Aws::String & GetPortalId() const
Definition: UpdatePortalRequest.h:41
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalContactEmailHasBeenSet
bool PortalContactEmailHasBeenSet() const
Definition: UpdatePortalRequest.h:169
Alarms.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithClientToken
UpdatePortalRequest & WithClientToken(Aws::String &&value)
Definition: UpdatePortalRequest.h:357
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithAlarms
UpdatePortalRequest & WithAlarms(const Alarms &value)
Definition: UpdatePortalRequest.h:456
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetNotificationSenderEmail
const Aws::String & GetNotificationSenderEmail() const
Definition: UpdatePortalRequest.h:370
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalLogoImageHasBeenSet
bool PortalLogoImageHasBeenSet() const
Definition: UpdatePortalRequest.h:206
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:179
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalLogoImage
UpdatePortalRequest & WithPortalLogoImage(Image &&value)
Definition: UpdatePortalRequest.h:218
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(const Aws::String &value)
Definition: UpdatePortalRequest.h:148
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalName
const Aws::String & GetPortalName() const
Definition: UpdatePortalRequest.h:82
UUID.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:189
Aws::IoTSiteWise::Model::UpdatePortalRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdatePortalRequest.h:322
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(const Aws::String &value)
Definition: UpdatePortalRequest.h:133
Aws::IoTSiteWise::Model::UpdatePortalRequest
Definition: UpdatePortalRequest.h:25
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalIdHasBeenSet
bool PortalIdHasBeenSet() const
Definition: UpdatePortalRequest.h:46
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdatePortalRequest.h:315