7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workspaces-web/WorkSpacesWebRequest.h>
12#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
13#include <aws/workspaces-web/model/AuthenticationType.h>
14#include <aws/workspaces-web/model/InstanceType.h>
15#include <aws/workspaces-web/model/Tag.h>
20namespace WorkSpacesWeb {
44 template <
typename DisplayNameT = Aws::String>
46 m_displayNameHasBeenSet =
true;
47 m_displayName = std::forward<DisplayNameT>(value);
49 template <
typename DisplayNameT = Aws::String>
62 template <
typename TagsT = Aws::Vector<Tag>>
64 m_tagsHasBeenSet =
true;
65 m_tags = std::forward<TagsT>(value);
67 template <
typename TagsT = Aws::Vector<Tag>>
69 SetTags(std::forward<TagsT>(value));
72 template <
typename TagsT = Tag>
74 m_tagsHasBeenSet =
true;
75 m_tags.emplace_back(std::forward<TagsT>(value));
86 template <
typename CustomerManagedKeyT = Aws::String>
88 m_customerManagedKeyHasBeenSet =
true;
89 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
91 template <
typename CustomerManagedKeyT = Aws::String>
104 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
106 m_additionalEncryptionContextHasBeenSet =
true;
107 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
109 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
114 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
116 m_additionalEncryptionContextHasBeenSet =
true;
117 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
118 std::forward<AdditionalEncryptionContextValueT>(value));
134 template <
typename ClientTokenT = Aws::String>
136 m_clientTokenHasBeenSet =
true;
137 m_clientToken = std::forward<ClientTokenT>(value);
139 template <
typename ClientTokenT = Aws::String>
161 m_authenticationTypeHasBeenSet =
true;
162 m_authenticationType = value;
177 m_instanceTypeHasBeenSet =
true;
178 m_instanceType = value;
193 m_maxConcurrentSessionsHasBeenSet =
true;
194 m_maxConcurrentSessions = value;
209 template <
typename PortalCustomDomainT = Aws::String>
211 m_portalCustomDomainHasBeenSet =
true;
212 m_portalCustomDomain = std::forward<PortalCustomDomainT>(value);
214 template <
typename PortalCustomDomainT = Aws::String>
235 int m_maxConcurrentSessions{0};
238 bool m_displayNameHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
240 bool m_customerManagedKeyHasBeenSet =
false;
241 bool m_additionalEncryptionContextHasBeenSet =
false;
242 bool m_clientTokenHasBeenSet =
true;
243 bool m_authenticationTypeHasBeenSet =
false;
244 bool m_instanceTypeHasBeenSet =
false;
245 bool m_maxConcurrentSessionsHasBeenSet =
false;
246 bool m_portalCustomDomainHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
AuthenticationType GetAuthenticationType() const
void SetPortalCustomDomain(PortalCustomDomainT &&value)
void SetAuthenticationType(AuthenticationType value)
void SetMaxConcurrentSessions(int value)
CreatePortalRequest & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
const Aws::String & GetCustomerManagedKey() const
CreatePortalRequest & WithCustomerManagedKey(CustomerManagedKeyT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreatePortalRequest & WithPortalCustomDomain(PortalCustomDomainT &&value)
InstanceType GetInstanceType() const
bool AdditionalEncryptionContextHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::Vector< Tag > & GetTags() const
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
const Aws::String & GetDisplayName() const
CreatePortalRequest & WithTags(TagsT &&value)
bool CustomerManagedKeyHasBeenSet() const
bool DisplayNameHasBeenSet() const
void SetInstanceType(InstanceType value)
bool PortalCustomDomainHasBeenSet() const
bool InstanceTypeHasBeenSet() const
CreatePortalRequest & WithAuthenticationType(AuthenticationType value)
bool MaxConcurrentSessionsHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
CreatePortalRequest & WithMaxConcurrentSessions(int value)
void SetDisplayName(DisplayNameT &&value)
int GetMaxConcurrentSessions() const
bool AuthenticationTypeHasBeenSet() const
CreatePortalRequest & WithDisplayName(DisplayNameT &&value)
CreatePortalRequest & WithClientToken(ClientTokenT &&value)
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
const Aws::String & GetPortalCustomDomain() const
bool TagsHasBeenSet() const
AWS_WORKSPACESWEB_API CreatePortalRequest()=default
CreatePortalRequest & AddTags(TagsT &&value)
CreatePortalRequest & WithInstanceType(InstanceType value)
CreatePortalRequest & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector