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/ImageFile.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/iotsitewise/model/AuthMode.h>
13#include <aws/iotsitewise/model/Alarms.h>
14#include <aws/iotsitewise/model/PortalType.h>
15#include <aws/iotsitewise/model/PortalTypeEntry.h>
17#include <aws/core/utils/UUID.h>
48 template<
typename PortalNameT = Aws::String>
49 void SetPortalName(PortalNameT&& value) { m_portalNameHasBeenSet =
true; m_portalName = std::forward<PortalNameT>(value); }
50 template<
typename PortalNameT = Aws::String>
60 template<
typename PortalDescriptionT = Aws::String>
61 void SetPortalDescription(PortalDescriptionT&& value) { m_portalDescriptionHasBeenSet =
true; m_portalDescription = std::forward<PortalDescriptionT>(value); }
62 template<
typename PortalDescriptionT = Aws::String>
72 template<
typename PortalContactEmailT = Aws::String>
73 void SetPortalContactEmail(PortalContactEmailT&& value) { m_portalContactEmailHasBeenSet =
true; m_portalContactEmail = std::forward<PortalContactEmailT>(value); }
74 template<
typename PortalContactEmailT = Aws::String>
86 template<
typename ClientTokenT = Aws::String>
87 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
88 template<
typename ClientTokenT = Aws::String>
99 template<
typename PortalLogoImageFileT = ImageFile>
100 void SetPortalLogoImageFile(PortalLogoImageFileT&& value) { m_portalLogoImageFileHasBeenSet =
true; m_portalLogoImageFile = std::forward<PortalLogoImageFileT>(value); }
101 template<
typename PortalLogoImageFileT = ImageFile>
117 template<
typename RoleArnT = Aws::String>
118 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
119 template<
typename RoleArnT = Aws::String>
132 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
134 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
138 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
174 template<
typename NotificationSenderEmailT = Aws::String>
175 void SetNotificationSenderEmail(NotificationSenderEmailT&& value) { m_notificationSenderEmailHasBeenSet =
true; m_notificationSenderEmail = std::forward<NotificationSenderEmailT>(value); }
176 template<
typename NotificationSenderEmailT = Aws::String>
191 template<
typename AlarmsT = Alarms>
192 void SetAlarms(AlarmsT&& value) { m_alarmsHasBeenSet =
true; m_alarms = std::forward<AlarmsT>(value); }
193 template<
typename AlarmsT = Alarms>
217 template<
typename PortalTypeConfigurationT = Aws::Map<Aws::String, PortalTypeEntry>>
218 void SetPortalTypeConfiguration(PortalTypeConfigurationT&& value) { m_portalTypeConfigurationHasBeenSet =
true; m_portalTypeConfiguration = std::forward<PortalTypeConfigurationT>(value); }
219 template<
typename PortalTypeConfigurationT = Aws::Map<Aws::String, PortalTypeEntry>>
221 template<
typename PortalTypeConfigurationKeyT = Aws::String,
typename PortalTypeConfigurationValueT = PortalTypeEntry>
223 m_portalTypeConfigurationHasBeenSet =
true; m_portalTypeConfiguration.emplace(std::forward<PortalTypeConfigurationKeyT>(key), std::forward<PortalTypeConfigurationValueT>(value));
return *
this;
229 bool m_portalNameHasBeenSet =
false;
232 bool m_portalDescriptionHasBeenSet =
false;
235 bool m_portalContactEmailHasBeenSet =
false;
238 bool m_clientTokenHasBeenSet =
true;
240 ImageFile m_portalLogoImageFile;
241 bool m_portalLogoImageFileHasBeenSet =
false;
244 bool m_roleArnHasBeenSet =
false;
247 bool m_tagsHasBeenSet =
false;
250 bool m_portalAuthModeHasBeenSet =
false;
253 bool m_notificationSenderEmailHasBeenSet =
false;
256 bool m_alarmsHasBeenSet =
false;
259 bool m_portalTypeHasBeenSet =
false;
262 bool m_portalTypeConfigurationHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::String & GetRoleArn() const
bool PortalAuthModeHasBeenSet() const
CreatePortalRequest & WithPortalName(PortalNameT &&value)
void SetPortalLogoImageFile(PortalLogoImageFileT &&value)
bool PortalTypeHasBeenSet() const
AuthMode GetPortalAuthMode() const
void SetPortalDescription(PortalDescriptionT &&value)
CreatePortalRequest & AddPortalTypeConfiguration(PortalTypeConfigurationKeyT &&key, PortalTypeConfigurationValueT &&value)
bool PortalDescriptionHasBeenSet() const
CreatePortalRequest & WithAlarms(AlarmsT &&value)
const ImageFile & GetPortalLogoImageFile() const
AWS_IOTSITEWISE_API CreatePortalRequest()=default
CreatePortalRequest & WithPortalContactEmail(PortalContactEmailT &&value)
virtual const char * GetServiceRequestName() const override
CreatePortalRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, PortalTypeEntry > & GetPortalTypeConfiguration() const
bool ClientTokenHasBeenSet() const
void SetPortalAuthMode(AuthMode value)
const Aws::String & GetPortalName() const
CreatePortalRequest & WithPortalDescription(PortalDescriptionT &&value)
void SetAlarms(AlarmsT &&value)
const Aws::String & GetPortalDescription() const
void SetPortalType(PortalType value)
const Alarms & GetAlarms() const
void SetPortalName(PortalNameT &&value)
CreatePortalRequest & WithPortalType(PortalType value)
bool PortalLogoImageFileHasBeenSet() const
bool NotificationSenderEmailHasBeenSet() const
bool TagsHasBeenSet() const
void SetPortalTypeConfiguration(PortalTypeConfigurationT &&value)
CreatePortalRequest & WithPortalLogoImageFile(PortalLogoImageFileT &&value)
bool PortalTypeConfigurationHasBeenSet() const
CreatePortalRequest & WithNotificationSenderEmail(NotificationSenderEmailT &&value)
CreatePortalRequest & WithRoleArn(RoleArnT &&value)
CreatePortalRequest & WithClientToken(ClientTokenT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
bool AlarmsHasBeenSet() const
bool PortalContactEmailHasBeenSet() const
const Aws::String & GetPortalContactEmail() const
void SetPortalContactEmail(PortalContactEmailT &&value)
void SetNotificationSenderEmail(NotificationSenderEmailT &&value)
CreatePortalRequest & WithTags(TagsT &&value)
void SetRoleArn(RoleArnT &&value)
bool PortalNameHasBeenSet() const
CreatePortalRequest & WithPortalTypeConfiguration(PortalTypeConfigurationT &&value)
void SetClientToken(ClientTokenT &&value)
PortalType GetPortalType() const
const Aws::String & GetClientToken() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool RoleArnHasBeenSet() const
CreatePortalRequest & WithPortalAuthMode(AuthMode value)
const Aws::String & GetNotificationSenderEmail() 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