AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePortalRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/Image.h>
11#include <aws/iotsitewise/model/Alarms.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace IoTSiteWise
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTSITEWISE_API UpdatePortalRequest();
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_IOTSITEWISE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetPortalId() const{ return m_portalId; }
43 inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; }
44 inline void SetPortalId(const Aws::String& value) { m_portalIdHasBeenSet = true; m_portalId = value; }
45 inline void SetPortalId(Aws::String&& value) { m_portalIdHasBeenSet = true; m_portalId = std::move(value); }
46 inline void SetPortalId(const char* value) { m_portalIdHasBeenSet = true; m_portalId.assign(value); }
47 inline UpdatePortalRequest& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
48 inline UpdatePortalRequest& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
49 inline UpdatePortalRequest& WithPortalId(const char* value) { SetPortalId(value); return *this;}
51
53
56 inline const Aws::String& GetPortalName() const{ return m_portalName; }
57 inline bool PortalNameHasBeenSet() const { return m_portalNameHasBeenSet; }
58 inline void SetPortalName(const Aws::String& value) { m_portalNameHasBeenSet = true; m_portalName = value; }
59 inline void SetPortalName(Aws::String&& value) { m_portalNameHasBeenSet = true; m_portalName = std::move(value); }
60 inline void SetPortalName(const char* value) { m_portalNameHasBeenSet = true; m_portalName.assign(value); }
61 inline UpdatePortalRequest& WithPortalName(const Aws::String& value) { SetPortalName(value); return *this;}
62 inline UpdatePortalRequest& WithPortalName(Aws::String&& value) { SetPortalName(std::move(value)); return *this;}
63 inline UpdatePortalRequest& WithPortalName(const char* value) { SetPortalName(value); return *this;}
65
67
70 inline const Aws::String& GetPortalDescription() const{ return m_portalDescription; }
71 inline bool PortalDescriptionHasBeenSet() const { return m_portalDescriptionHasBeenSet; }
72 inline void SetPortalDescription(const Aws::String& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = value; }
73 inline void SetPortalDescription(Aws::String&& value) { m_portalDescriptionHasBeenSet = true; m_portalDescription = std::move(value); }
74 inline void SetPortalDescription(const char* value) { m_portalDescriptionHasBeenSet = true; m_portalDescription.assign(value); }
75 inline UpdatePortalRequest& WithPortalDescription(const Aws::String& value) { SetPortalDescription(value); return *this;}
76 inline UpdatePortalRequest& WithPortalDescription(Aws::String&& value) { SetPortalDescription(std::move(value)); return *this;}
77 inline UpdatePortalRequest& WithPortalDescription(const char* value) { SetPortalDescription(value); return *this;}
79
81
84 inline const Aws::String& GetPortalContactEmail() const{ return m_portalContactEmail; }
85 inline bool PortalContactEmailHasBeenSet() const { return m_portalContactEmailHasBeenSet; }
86 inline void SetPortalContactEmail(const Aws::String& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = value; }
87 inline void SetPortalContactEmail(Aws::String&& value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail = std::move(value); }
88 inline void SetPortalContactEmail(const char* value) { m_portalContactEmailHasBeenSet = true; m_portalContactEmail.assign(value); }
89 inline UpdatePortalRequest& WithPortalContactEmail(const Aws::String& value) { SetPortalContactEmail(value); return *this;}
90 inline UpdatePortalRequest& WithPortalContactEmail(Aws::String&& value) { SetPortalContactEmail(std::move(value)); return *this;}
91 inline UpdatePortalRequest& WithPortalContactEmail(const char* value) { SetPortalContactEmail(value); return *this;}
93
95
96 inline const Image& GetPortalLogoImage() const{ return m_portalLogoImage; }
97 inline bool PortalLogoImageHasBeenSet() const { return m_portalLogoImageHasBeenSet; }
98 inline void SetPortalLogoImage(const Image& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = value; }
99 inline void SetPortalLogoImage(Image&& value) { m_portalLogoImageHasBeenSet = true; m_portalLogoImage = std::move(value); }
100 inline UpdatePortalRequest& WithPortalLogoImage(const Image& value) { SetPortalLogoImage(value); return *this;}
101 inline UpdatePortalRequest& WithPortalLogoImage(Image&& value) { SetPortalLogoImage(std::move(value)); return *this;}
103
105
114 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
115 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
116 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
117 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
118 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
119 inline UpdatePortalRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
120 inline UpdatePortalRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
121 inline UpdatePortalRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
123
125
130 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
131 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
132 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
133 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
134 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
135 inline UpdatePortalRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
136 inline UpdatePortalRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
137 inline UpdatePortalRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
139
141
144 inline const Aws::String& GetNotificationSenderEmail() const{ return m_notificationSenderEmail; }
145 inline bool NotificationSenderEmailHasBeenSet() const { return m_notificationSenderEmailHasBeenSet; }
146 inline void SetNotificationSenderEmail(const Aws::String& value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail = value; }
147 inline void SetNotificationSenderEmail(Aws::String&& value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail = std::move(value); }
148 inline void SetNotificationSenderEmail(const char* value) { m_notificationSenderEmailHasBeenSet = true; m_notificationSenderEmail.assign(value); }
151 inline UpdatePortalRequest& WithNotificationSenderEmail(const char* value) { SetNotificationSenderEmail(value); return *this;}
153
155
163 inline const Alarms& GetAlarms() const{ return m_alarms; }
164 inline bool AlarmsHasBeenSet() const { return m_alarmsHasBeenSet; }
165 inline void SetAlarms(const Alarms& value) { m_alarmsHasBeenSet = true; m_alarms = value; }
166 inline void SetAlarms(Alarms&& value) { m_alarmsHasBeenSet = true; m_alarms = std::move(value); }
167 inline UpdatePortalRequest& WithAlarms(const Alarms& value) { SetAlarms(value); return *this;}
168 inline UpdatePortalRequest& WithAlarms(Alarms&& value) { SetAlarms(std::move(value)); return *this;}
170 private:
171
172 Aws::String m_portalId;
173 bool m_portalIdHasBeenSet = false;
174
175 Aws::String m_portalName;
176 bool m_portalNameHasBeenSet = false;
177
178 Aws::String m_portalDescription;
179 bool m_portalDescriptionHasBeenSet = false;
180
181 Aws::String m_portalContactEmail;
182 bool m_portalContactEmailHasBeenSet = false;
183
184 Image m_portalLogoImage;
185 bool m_portalLogoImageHasBeenSet = false;
186
187 Aws::String m_roleArn;
188 bool m_roleArnHasBeenSet = false;
189
190 Aws::String m_clientToken;
191 bool m_clientTokenHasBeenSet = false;
192
193 Aws::String m_notificationSenderEmail;
194 bool m_notificationSenderEmailHasBeenSet = false;
195
196 Alarms m_alarms;
197 bool m_alarmsHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace IoTSiteWise
202} // namespace Aws
UpdatePortalRequest & WithNotificationSenderEmail(Aws::String &&value)
UpdatePortalRequest & WithRoleArn(const char *value)
UpdatePortalRequest & WithPortalContactEmail(const Aws::String &value)
const Aws::String & GetNotificationSenderEmail() const
UpdatePortalRequest & WithAlarms(Alarms &&value)
UpdatePortalRequest & WithRoleArn(Aws::String &&value)
UpdatePortalRequest & WithPortalId(Aws::String &&value)
UpdatePortalRequest & WithPortalDescription(const Aws::String &value)
UpdatePortalRequest & WithPortalLogoImage(Image &&value)
UpdatePortalRequest & WithPortalLogoImage(const Image &value)
UpdatePortalRequest & WithPortalName(const Aws::String &value)
UpdatePortalRequest & WithAlarms(const Alarms &value)
UpdatePortalRequest & WithRoleArn(const Aws::String &value)
UpdatePortalRequest & WithPortalName(Aws::String &&value)
UpdatePortalRequest & WithPortalContactEmail(const char *value)
UpdatePortalRequest & WithPortalName(const char *value)
UpdatePortalRequest & WithPortalId(const char *value)
void SetNotificationSenderEmail(const Aws::String &value)
UpdatePortalRequest & WithClientToken(Aws::String &&value)
UpdatePortalRequest & WithPortalDescription(const char *value)
void SetPortalContactEmail(const Aws::String &value)
UpdatePortalRequest & WithClientToken(const Aws::String &value)
UpdatePortalRequest & WithPortalId(const Aws::String &value)
UpdatePortalRequest & WithNotificationSenderEmail(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
void SetPortalDescription(const Aws::String &value)
UpdatePortalRequest & WithClientToken(const char *value)
UpdatePortalRequest & WithNotificationSenderEmail(const char *value)
UpdatePortalRequest & WithPortalContactEmail(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdatePortalRequest & WithPortalDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String