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 <aws/iotsitewise/model/PortalType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/iotsitewise/model/PortalTypeEntry.h>
16#include <aws/core/utils/UUID.h>
47 template<
typename PortalIdT = Aws::String>
48 void SetPortalId(PortalIdT&& value) { m_portalIdHasBeenSet =
true; m_portalId = std::forward<PortalIdT>(value); }
49 template<
typename PortalIdT = Aws::String>
59 template<
typename PortalNameT = Aws::String>
60 void SetPortalName(PortalNameT&& value) { m_portalNameHasBeenSet =
true; m_portalName = std::forward<PortalNameT>(value); }
61 template<
typename PortalNameT = Aws::String>
71 template<
typename PortalDescriptionT = Aws::String>
72 void SetPortalDescription(PortalDescriptionT&& value) { m_portalDescriptionHasBeenSet =
true; m_portalDescription = std::forward<PortalDescriptionT>(value); }
73 template<
typename PortalDescriptionT = Aws::String>
83 template<
typename PortalContactEmailT = Aws::String>
84 void SetPortalContactEmail(PortalContactEmailT&& value) { m_portalContactEmailHasBeenSet =
true; m_portalContactEmail = std::forward<PortalContactEmailT>(value); }
85 template<
typename PortalContactEmailT = Aws::String>
93 template<
typename PortalLogoImageT = Image>
94 void SetPortalLogoImage(PortalLogoImageT&& value) { m_portalLogoImageHasBeenSet =
true; m_portalLogoImage = std::forward<PortalLogoImageT>(value); }
95 template<
typename PortalLogoImageT = Image>
111 template<
typename RoleArnT = Aws::String>
112 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
113 template<
typename RoleArnT = Aws::String>
125 template<
typename ClientTokenT = Aws::String>
126 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
127 template<
typename ClientTokenT = Aws::String>
137 template<
typename NotificationSenderEmailT = Aws::String>
138 void SetNotificationSenderEmail(NotificationSenderEmailT&& value) { m_notificationSenderEmailHasBeenSet =
true; m_notificationSenderEmail = std::forward<NotificationSenderEmailT>(value); }
139 template<
typename NotificationSenderEmailT = Aws::String>
154 template<
typename AlarmsT = Alarms>
155 void SetAlarms(AlarmsT&& value) { m_alarmsHasBeenSet =
true; m_alarms = std::forward<AlarmsT>(value); }
156 template<
typename AlarmsT = Alarms>
180 template<
typename PortalTypeConfigurationT = Aws::Map<Aws::String, PortalTypeEntry>>
181 void SetPortalTypeConfiguration(PortalTypeConfigurationT&& value) { m_portalTypeConfigurationHasBeenSet =
true; m_portalTypeConfiguration = std::forward<PortalTypeConfigurationT>(value); }
182 template<
typename PortalTypeConfigurationT = Aws::Map<Aws::String, PortalTypeEntry>>
184 template<
typename PortalTypeConfigurationKeyT = Aws::String,
typename PortalTypeConfigurationValueT = PortalTypeEntry>
186 m_portalTypeConfigurationHasBeenSet =
true; m_portalTypeConfiguration.emplace(std::forward<PortalTypeConfigurationKeyT>(key), std::forward<PortalTypeConfigurationValueT>(value));
return *
this;
192 bool m_portalIdHasBeenSet =
false;
195 bool m_portalNameHasBeenSet =
false;
198 bool m_portalDescriptionHasBeenSet =
false;
201 bool m_portalContactEmailHasBeenSet =
false;
203 Image m_portalLogoImage;
204 bool m_portalLogoImageHasBeenSet =
false;
207 bool m_roleArnHasBeenSet =
false;
210 bool m_clientTokenHasBeenSet =
true;
213 bool m_notificationSenderEmailHasBeenSet =
false;
216 bool m_alarmsHasBeenSet =
false;
219 bool m_portalTypeHasBeenSet =
false;
222 bool m_portalTypeConfigurationHasBeenSet =
false;
UpdatePortalRequest & WithPortalDescription(PortalDescriptionT &&value)
bool RoleArnHasBeenSet() const
bool PortalLogoImageHasBeenSet() const
PortalType GetPortalType() const
void SetRoleArn(RoleArnT &&value)
UpdatePortalRequest & AddPortalTypeConfiguration(PortalTypeConfigurationKeyT &&key, PortalTypeConfigurationValueT &&value)
bool PortalDescriptionHasBeenSet() const
void SetPortalType(PortalType value)
const Aws::String & GetRoleArn() const
bool PortalNameHasBeenSet() const
bool PortalIdHasBeenSet() const
const Aws::String & GetNotificationSenderEmail() const
bool PortalTypeHasBeenSet() const
bool PortalTypeConfigurationHasBeenSet() const
const Aws::String & GetClientToken() const
void SetPortalId(PortalIdT &&value)
void SetClientToken(ClientTokenT &&value)
const Image & GetPortalLogoImage() const
const Aws::String & GetPortalId() const
void SetPortalContactEmail(PortalContactEmailT &&value)
UpdatePortalRequest & WithPortalContactEmail(PortalContactEmailT &&value)
void SetAlarms(AlarmsT &&value)
void SetPortalName(PortalNameT &&value)
UpdatePortalRequest & WithNotificationSenderEmail(NotificationSenderEmailT &&value)
UpdatePortalRequest & WithPortalName(PortalNameT &&value)
UpdatePortalRequest & WithAlarms(AlarmsT &&value)
const Aws::Map< Aws::String, PortalTypeEntry > & GetPortalTypeConfiguration() const
void SetPortalDescription(PortalDescriptionT &&value)
UpdatePortalRequest & WithPortalTypeConfiguration(PortalTypeConfigurationT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
const Alarms & GetAlarms() const
void SetPortalLogoImage(PortalLogoImageT &&value)
UpdatePortalRequest & WithClientToken(ClientTokenT &&value)
bool NotificationSenderEmailHasBeenSet() const
void SetPortalTypeConfiguration(PortalTypeConfigurationT &&value)
UpdatePortalRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetPortalName() const
void SetNotificationSenderEmail(NotificationSenderEmailT &&value)
bool AlarmsHasBeenSet() const
const Aws::String & GetPortalContactEmail() const
bool ClientTokenHasBeenSet() const
UpdatePortalRequest & WithPortalType(PortalType value)
UpdatePortalRequest & WithPortalId(PortalIdT &&value)
UpdatePortalRequest & WithPortalLogoImage(PortalLogoImageT &&value)
AWS_IOTSITEWISE_API UpdatePortalRequest()=default
const Aws::String & GetPortalDescription() const
virtual const char * GetServiceRequestName() const override
bool PortalContactEmailHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String