AWS SDK for C++  1.9.21
AWS SDK for C++
UpdatePortalRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace IoTSiteWise
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdatePortal"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetPortalId() const{ return m_portalId; }
41 
45  inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; }
46 
50  inline void SetPortalId(const Aws::String& value) { m_portalIdHasBeenSet = true; m_portalId = value; }
51 
55  inline void SetPortalId(Aws::String&& value) { m_portalIdHasBeenSet = true; m_portalId = std::move(value); }
56 
60  inline void SetPortalId(const char* value) { m_portalIdHasBeenSet = true; m_portalId.assign(value); }
61 
65  inline UpdatePortalRequest& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
66 
70  inline UpdatePortalRequest& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
71 
75  inline UpdatePortalRequest& WithPortalId(const char* value) { SetPortalId(value); return *this;}
76 
77 
81  inline const Aws::String& GetPortalName() const{ return m_portalName; }
82 
86  inline bool PortalNameHasBeenSet() const { return m_portalNameHasBeenSet; }
87 
91  inline void SetPortalName(const Aws::String& value) { m_portalNameHasBeenSet = true; m_portalName = value; }
92 
96  inline void SetPortalName(Aws::String&& value) { m_portalNameHasBeenSet = true; m_portalName = std::move(value); }
97 
101  inline void SetPortalName(const char* value) { m_portalNameHasBeenSet = true; m_portalName.assign(value); }
102 
106  inline UpdatePortalRequest& WithPortalName(const Aws::String& value) { SetPortalName(value); return *this;}
107 
111  inline UpdatePortalRequest& WithPortalName(Aws::String&& value) { SetPortalName(std::move(value)); return *this;}
112 
116  inline UpdatePortalRequest& WithPortalName(const char* value) { SetPortalName(value); return *this;}
117 
118 
122  inline const Aws::String& GetPortalDescription() const{ return m_portalDescription; }
123 
127  inline bool PortalDescriptionHasBeenSet() const { return m_portalDescriptionHasBeenSet; }
128 
132  inline void SetPortalDescription(const Aws::String& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = value; }
133 
137  inline void SetPortalDescription(Aws::String&& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = std::move(value); }
138 
142  inline void SetPortalDescription(const char* value) { m_portalDescriptionHasBeenSet = true; m_portalDescription.assign(value); }
143 
147  inline UpdatePortalRequest& WithPortalDescription(const Aws::String& value) { SetPortalDescription(value); return *this;}
148 
152  inline UpdatePortalRequest& WithPortalDescription(Aws::String&& value) { SetPortalDescription(std::move(value)); return *this;}
153 
157  inline UpdatePortalRequest& WithPortalDescription(const char* value) { SetPortalDescription(value); return *this;}
158 
159 
163  inline const Aws::String& GetPortalContactEmail() const{ return m_portalContactEmail; }
164 
168  inline bool PortalContactEmailHasBeenSet() const { return m_portalContactEmailHasBeenSet; }
169 
173  inline void SetPortalContactEmail(const Aws::String& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = value; }
174 
178  inline void SetPortalContactEmail(Aws::String&& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = std::move(value); }
179 
183  inline void SetPortalContactEmail(const char* value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail.assign(value); }
184 
188  inline UpdatePortalRequest& WithPortalContactEmail(const Aws::String& value) { SetPortalContactEmail(value); return *this;}
189 
193  inline UpdatePortalRequest& WithPortalContactEmail(Aws::String&& value) { SetPortalContactEmail(std::move(value)); return *this;}
194 
198  inline UpdatePortalRequest& WithPortalContactEmail(const char* value) { SetPortalContactEmail(value); return *this;}
199 
200 
201 
202  inline const Image& GetPortalLogoImage() const{ return m_portalLogoImage; }
203 
204 
205  inline bool PortalLogoImageHasBeenSet() const { return m_portalLogoImageHasBeenSet; }
206 
207 
208  inline void SetPortalLogoImage(const Image& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = value; }
209 
210 
211  inline void SetPortalLogoImage(Image&& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = std::move(value); }
212 
213 
214  inline UpdatePortalRequest& WithPortalLogoImage(const Image& value) { SetPortalLogoImage(value); return *this;}
215 
216 
217  inline UpdatePortalRequest& WithPortalLogoImage(Image&& value) { SetPortalLogoImage(std::move(value)); return *this;}
218 
219 
229  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
230 
240  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
241 
251  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
252 
262  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
263 
273  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
274 
284  inline UpdatePortalRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
285 
295  inline UpdatePortalRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
296 
306  inline UpdatePortalRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
307 
308 
314  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
315 
321  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
322 
328  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
329 
335  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
336 
342  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
343 
349  inline UpdatePortalRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
350 
356  inline UpdatePortalRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
357 
363  inline UpdatePortalRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
364 
365  private:
366 
367  Aws::String m_portalId;
368  bool m_portalIdHasBeenSet;
369 
370  Aws::String m_portalName;
371  bool m_portalNameHasBeenSet;
372 
373  Aws::String m_portalDescription;
374  bool m_portalDescriptionHasBeenSet;
375 
376  Aws::String m_portalContactEmail;
377  bool m_portalContactEmailHasBeenSet;
378 
379  Image m_portalLogoImage;
380  bool m_portalLogoImageHasBeenSet;
381 
382  Aws::String m_roleArn;
383  bool m_roleArnHasBeenSet;
384 
385  Aws::String m_clientToken;
386  bool m_clientTokenHasBeenSet;
387  };
388 
389 } // namespace Model
390 } // namespace IoTSiteWise
391 } // namespace Aws
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithClientToken
UpdatePortalRequest & WithClientToken(const Aws::String &value)
Definition: UpdatePortalRequest.h:349
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdatePortalRequest.h:273
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalDescriptionHasBeenSet
bool PortalDescriptionHasBeenSet() const
Definition: UpdatePortalRequest.h:127
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalLogoImage
UpdatePortalRequest & WithPortalLogoImage(const Image &value)
Definition: UpdatePortalRequest.h:214
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalId
UpdatePortalRequest & WithPortalId(Aws::String &&value)
Definition: UpdatePortalRequest.h:70
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdatePortalRequest.h:328
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdatePortalRequest.h:342
Image.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(const char *value)
Definition: UpdatePortalRequest.h:198
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePortalRequest.h:32
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:75
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalContactEmail
const Aws::String & GetPortalContactEmail() const
Definition: UpdatePortalRequest.h:163
Aws::IoTSiteWise::Model::UpdatePortalRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdatePortalRequest.h:240
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(Aws::String &&value)
Definition: UpdatePortalRequest.h:295
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalLogoImage
const Image & GetPortalLogoImage() const
Definition: UpdatePortalRequest.h:202
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(const char *value)
Definition: UpdatePortalRequest.h:142
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(const Aws::String &value)
Definition: UpdatePortalRequest.h:106
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(Aws::String &&value)
Definition: UpdatePortalRequest.h:137
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdatePortalRequest.h:262
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(const char *value)
Definition: UpdatePortalRequest.h:306
Aws::IoTSiteWise::Model::UpdatePortalRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(const char *value)
Definition: UpdatePortalRequest.h:157
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(const char *value)
Definition: UpdatePortalRequest.h:183
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdatePortalRequest.h:251
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdatePortalRequest.h:335
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(const Aws::String &value)
Definition: UpdatePortalRequest.h:50
Aws::IoTSiteWise::Model::UpdatePortalRequest::UpdatePortalRequest
UpdatePortalRequest()
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithClientToken
UpdatePortalRequest & WithClientToken(const char *value)
Definition: UpdatePortalRequest.h:363
Aws::IoTSiteWise::Model::Image
Definition: Image.h:36
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalNameHasBeenSet
bool PortalNameHasBeenSet() const
Definition: UpdatePortalRequest.h:86
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(const char *value)
Definition: UpdatePortalRequest.h:60
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalDescription
const Aws::String & GetPortalDescription() const
Definition: UpdatePortalRequest.h:122
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(Aws::String &&value)
Definition: UpdatePortalRequest.h:152
AWSString.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalId
UpdatePortalRequest & WithPortalId(const Aws::String &value)
Definition: UpdatePortalRequest.h:65
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalLogoImage
void SetPortalLogoImage(const Image &value)
Definition: UpdatePortalRequest.h:208
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalLogoImage
void SetPortalLogoImage(Image &&value)
Definition: UpdatePortalRequest.h:211
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithRoleArn
UpdatePortalRequest & WithRoleArn(const Aws::String &value)
Definition: UpdatePortalRequest.h:284
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(Aws::String &&value)
Definition: UpdatePortalRequest.h:96
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdatePortalRequest.h:229
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalId
void SetPortalId(Aws::String &&value)
Definition: UpdatePortalRequest.h:55
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:173
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(const char *value)
Definition: UpdatePortalRequest.h:116
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:193
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(const char *value)
Definition: UpdatePortalRequest.h:101
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalName
void SetPortalName(const Aws::String &value)
Definition: UpdatePortalRequest.h:91
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalName
UpdatePortalRequest & WithPortalName(Aws::String &&value)
Definition: UpdatePortalRequest.h:111
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalId
const Aws::String & GetPortalId() const
Definition: UpdatePortalRequest.h:40
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalContactEmailHasBeenSet
bool PortalContactEmailHasBeenSet() const
Definition: UpdatePortalRequest.h:168
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:356
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalLogoImageHasBeenSet
bool PortalLogoImageHasBeenSet() const
Definition: UpdatePortalRequest.h:205
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalContactEmail
void SetPortalContactEmail(Aws::String &&value)
Definition: UpdatePortalRequest.h:178
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalLogoImage
UpdatePortalRequest & WithPortalLogoImage(Image &&value)
Definition: UpdatePortalRequest.h:217
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalDescription
UpdatePortalRequest & WithPortalDescription(const Aws::String &value)
Definition: UpdatePortalRequest.h:147
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetPortalName
const Aws::String & GetPortalName() const
Definition: UpdatePortalRequest.h:81
UUID.h
Aws::IoTSiteWise::Model::UpdatePortalRequest::WithPortalContactEmail
UpdatePortalRequest & WithPortalContactEmail(const Aws::String &value)
Definition: UpdatePortalRequest.h:188
Aws::IoTSiteWise::Model::UpdatePortalRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdatePortalRequest.h:321
Aws::IoTSiteWise::Model::UpdatePortalRequest::SetPortalDescription
void SetPortalDescription(const Aws::String &value)
Definition: UpdatePortalRequest.h:132
Aws::IoTSiteWise::Model::UpdatePortalRequest
Definition: UpdatePortalRequest.h:24
Aws::IoTSiteWise::Model::UpdatePortalRequest::PortalIdHasBeenSet
bool PortalIdHasBeenSet() const
Definition: UpdatePortalRequest.h:45
Aws::IoTSiteWise::Model::UpdatePortalRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdatePortalRequest.h:314