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>
15#include <aws/core/utils/UUID.h>
48 inline void SetPortalName(
const char* value) { m_portalNameHasBeenSet =
true; m_portalName.assign(value); }
62 inline void SetPortalDescription(
const char* value) { m_portalDescriptionHasBeenSet =
true; m_portalDescription.assign(value); }
76 inline void SetPortalContactEmail(
const char* value) { m_portalContactEmailHasBeenSet =
true; m_portalContactEmail.assign(value); }
92 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
125 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
150 inline CreatePortalRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
189 inline void SetNotificationSenderEmail(
const char* value) { m_notificationSenderEmailHasBeenSet =
true; m_notificationSenderEmail.assign(value); }
206 inline void SetAlarms(
const Alarms& value) { m_alarmsHasBeenSet =
true; m_alarms = value; }
207 inline void SetAlarms(
Alarms&& value) { m_alarmsHasBeenSet =
true; m_alarms = std::move(value); }
214 bool m_portalNameHasBeenSet =
false;
217 bool m_portalDescriptionHasBeenSet =
false;
220 bool m_portalContactEmailHasBeenSet =
false;
223 bool m_clientTokenHasBeenSet =
false;
226 bool m_portalLogoImageFileHasBeenSet =
false;
229 bool m_roleArnHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
235 bool m_portalAuthModeHasBeenSet =
false;
238 bool m_notificationSenderEmailHasBeenSet =
false;
241 bool m_alarmsHasBeenSet =
false;
CreatePortalRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePortalRequest & WithPortalDescription(const Aws::String &value)
const Aws::String & GetRoleArn() const
CreatePortalRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool PortalAuthModeHasBeenSet() const
void SetAlarms(const Alarms &value)
CreatePortalRequest & WithNotificationSenderEmail(const char *value)
void SetPortalLogoImageFile(const ImageFile &value)
void SetPortalContactEmail(const char *value)
CreatePortalRequest & WithPortalName(const char *value)
bool PortalDescriptionHasBeenSet() const
void SetPortalDescription(const char *value)
void SetPortalDescription(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreatePortalRequest & AddTags(const char *key, const char *value)
void SetPortalContactEmail(const Aws::String &value)
CreatePortalRequest & WithPortalName(const Aws::String &value)
const ImageFile & GetPortalLogoImageFile() const
CreatePortalRequest & AddTags(Aws::String &&key, const char *value)
virtual const char * GetServiceRequestName() const override
CreatePortalRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePortalRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetRoleArn(const char *value)
CreatePortalRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreatePortalRequest & WithNotificationSenderEmail(Aws::String &&value)
CreatePortalRequest & WithPortalDescription(Aws::String &&value)
CreatePortalRequest & WithClientToken(const Aws::String &value)
void SetPortalName(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
bool ClientTokenHasBeenSet() const
CreatePortalRequest & WithPortalAuthMode(const AuthMode &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPortalContactEmail(Aws::String &&value)
const Aws::String & GetPortalName() const
CreatePortalRequest & WithPortalName(Aws::String &&value)
const AuthMode & GetPortalAuthMode() const
void SetPortalAuthMode(const AuthMode &value)
CreatePortalRequest & WithRoleArn(const char *value)
AWS_IOTSITEWISE_API CreatePortalRequest()
const Aws::String & GetPortalDescription() const
void SetRoleArn(Aws::String &&value)
CreatePortalRequest & WithClientToken(const char *value)
const Alarms & GetAlarms() const
CreatePortalRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePortalRequest & WithPortalDescription(const char *value)
bool PortalLogoImageFileHasBeenSet() const
CreatePortalRequest & WithPortalContactEmail(Aws::String &&value)
CreatePortalRequest & WithAlarms(const Alarms &value)
bool NotificationSenderEmailHasBeenSet() const
bool TagsHasBeenSet() const
void SetPortalName(const char *value)
CreatePortalRequest & WithClientToken(Aws::String &&value)
CreatePortalRequest & WithPortalLogoImageFile(const ImageFile &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
void SetNotificationSenderEmail(const Aws::String &value)
CreatePortalRequest & WithNotificationSenderEmail(const Aws::String &value)
void SetPortalName(Aws::String &&value)
bool AlarmsHasBeenSet() const
void SetPortalDescription(const Aws::String &value)
void SetPortalLogoImageFile(ImageFile &&value)
bool PortalContactEmailHasBeenSet() const
void SetNotificationSenderEmail(const char *value)
const Aws::String & GetPortalContactEmail() const
CreatePortalRequest & WithRoleArn(Aws::String &&value)
CreatePortalRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePortalRequest & WithPortalAuthMode(AuthMode &&value)
CreatePortalRequest & WithPortalContactEmail(const char *value)
void SetNotificationSenderEmail(Aws::String &&value)
bool PortalNameHasBeenSet() const
CreatePortalRequest & WithPortalLogoImageFile(ImageFile &&value)
CreatePortalRequest & WithPortalContactEmail(const Aws::String &value)
void SetAlarms(Alarms &&value)
void SetClientToken(const char *value)
const Aws::String & GetClientToken() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPortalAuthMode(AuthMode &&value)
CreatePortalRequest & WithRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
CreatePortalRequest & WithAlarms(Alarms &&value)
const Aws::String & GetNotificationSenderEmail() const
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