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/BrandingConfigurationCreateInput.h>
14#include <aws/workspaces-web/model/CookieSynchronizationConfiguration.h>
15#include <aws/workspaces-web/model/EnabledType.h>
16#include <aws/workspaces-web/model/Tag.h>
17#include <aws/workspaces-web/model/ToolbarConfiguration.h>
22namespace WorkSpacesWeb {
47 m_copyAllowedHasBeenSet =
true;
48 m_copyAllowed = value;
64 m_pasteAllowedHasBeenSet =
true;
65 m_pasteAllowed = value;
81 m_downloadAllowedHasBeenSet =
true;
82 m_downloadAllowed = value;
98 m_uploadAllowedHasBeenSet =
true;
99 m_uploadAllowed = value;
114 m_printAllowedHasBeenSet =
true;
115 m_printAllowed = value;
129 template <
typename TagsT = Aws::Vector<Tag>>
131 m_tagsHasBeenSet =
true;
132 m_tags = std::forward<TagsT>(value);
134 template <
typename TagsT = Aws::Vector<Tag>>
136 SetTags(std::forward<TagsT>(value));
139 template <
typename TagsT = Tag>
141 m_tagsHasBeenSet =
true;
142 m_tags.emplace_back(std::forward<TagsT>(value));
155 m_disconnectTimeoutInMinutesHasBeenSet =
true;
156 m_disconnectTimeoutInMinutes = value;
173 m_idleDisconnectTimeoutInMinutesHasBeenSet =
true;
174 m_idleDisconnectTimeoutInMinutes = value;
193 template <
typename ClientTokenT = Aws::String>
195 m_clientTokenHasBeenSet =
true;
196 m_clientToken = std::forward<ClientTokenT>(value);
198 template <
typename ClientTokenT = Aws::String>
211 return m_cookieSynchronizationConfiguration;
214 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
216 m_cookieSynchronizationConfigurationHasBeenSet =
true;
217 m_cookieSynchronizationConfiguration = std::forward<CookieSynchronizationConfigurationT>(value);
219 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
233 template <
typename CustomerManagedKeyT = Aws::String>
235 m_customerManagedKeyHasBeenSet =
true;
236 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
238 template <
typename CustomerManagedKeyT = Aws::String>
251 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
253 m_additionalEncryptionContextHasBeenSet =
true;
254 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
256 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
261 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
263 AdditionalEncryptionContextValueT&& value) {
264 m_additionalEncryptionContextHasBeenSet =
true;
265 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
266 std::forward<AdditionalEncryptionContextValueT>(value));
279 m_deepLinkAllowedHasBeenSet =
true;
280 m_deepLinkAllowed = value;
298 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
300 m_toolbarConfigurationHasBeenSet =
true;
301 m_toolbarConfiguration = std::forward<ToolbarConfigurationT>(value);
303 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
318 template <
typename BrandingConfigurationInputT = BrandingConfigurationCreateInput>
320 m_brandingConfigurationInputHasBeenSet =
true;
321 m_brandingConfigurationInput = std::forward<BrandingConfigurationInputT>(value);
323 template <
typename BrandingConfigurationInputT = BrandingConfigurationCreateInput>
338 m_webAuthnAllowedHasBeenSet =
true;
339 m_webAuthnAllowed = value;
359 int m_disconnectTimeoutInMinutes{0};
361 int m_idleDisconnectTimeoutInMinutes{0};
365 CookieSynchronizationConfiguration m_cookieSynchronizationConfiguration;
373 ToolbarConfiguration m_toolbarConfiguration;
375 BrandingConfigurationCreateInput m_brandingConfigurationInput;
378 bool m_copyAllowedHasBeenSet =
false;
379 bool m_pasteAllowedHasBeenSet =
false;
380 bool m_downloadAllowedHasBeenSet =
false;
381 bool m_uploadAllowedHasBeenSet =
false;
382 bool m_printAllowedHasBeenSet =
false;
383 bool m_tagsHasBeenSet =
false;
384 bool m_disconnectTimeoutInMinutesHasBeenSet =
false;
385 bool m_idleDisconnectTimeoutInMinutesHasBeenSet =
false;
386 bool m_clientTokenHasBeenSet =
true;
387 bool m_cookieSynchronizationConfigurationHasBeenSet =
false;
388 bool m_customerManagedKeyHasBeenSet =
false;
389 bool m_additionalEncryptionContextHasBeenSet =
false;
390 bool m_deepLinkAllowedHasBeenSet =
false;
391 bool m_toolbarConfigurationHasBeenSet =
false;
392 bool m_brandingConfigurationInputHasBeenSet =
false;
393 bool m_webAuthnAllowedHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateUserSettingsRequest & WithClientToken(ClientTokenT &&value)
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
bool CustomerManagedKeyHasBeenSet() const
bool ToolbarConfigurationHasBeenSet() const
bool IdleDisconnectTimeoutInMinutesHasBeenSet() const
EnabledType GetCopyAllowed() const
void SetIdleDisconnectTimeoutInMinutes(int value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
void SetDisconnectTimeoutInMinutes(int value)
EnabledType GetPasteAllowed() const
const ToolbarConfiguration & GetToolbarConfiguration() const
void SetWebAuthnAllowed(EnabledType value)
bool DisconnectTimeoutInMinutesHasBeenSet() const
void SetCopyAllowed(EnabledType value)
EnabledType GetWebAuthnAllowed() const
bool TagsHasBeenSet() const
bool PasteAllowedHasBeenSet() const
CreateUserSettingsRequest & WithCustomerManagedKey(CustomerManagedKeyT &&value)
CreateUserSettingsRequest & WithPasteAllowed(EnabledType value)
CreateUserSettingsRequest & WithDownloadAllowed(EnabledType value)
void SetUploadAllowed(EnabledType value)
CreateUserSettingsRequest & WithToolbarConfiguration(ToolbarConfigurationT &&value)
bool CopyAllowedHasBeenSet() const
void SetBrandingConfigurationInput(BrandingConfigurationInputT &&value)
EnabledType GetDeepLinkAllowed() const
void SetClientToken(ClientTokenT &&value)
void SetDeepLinkAllowed(EnabledType value)
virtual const char * GetServiceRequestName() const override
CreateUserSettingsRequest & WithCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
CreateUserSettingsRequest & WithDeepLinkAllowed(EnabledType value)
CreateUserSettingsRequest & AddTags(TagsT &&value)
CreateUserSettingsRequest & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
bool BrandingConfigurationInputHasBeenSet() const
void SetPasteAllowed(EnabledType value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const BrandingConfigurationCreateInput & GetBrandingConfigurationInput() const
AWS_WORKSPACESWEB_API CreateUserSettingsRequest()=default
void SetCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
CreateUserSettingsRequest & WithTags(TagsT &&value)
int GetIdleDisconnectTimeoutInMinutes() const
const CookieSynchronizationConfiguration & GetCookieSynchronizationConfiguration() const
CreateUserSettingsRequest & WithIdleDisconnectTimeoutInMinutes(int value)
void SetPrintAllowed(EnabledType value)
const Aws::Vector< Tag > & GetTags() const
bool AdditionalEncryptionContextHasBeenSet() const
CreateUserSettingsRequest & WithDisconnectTimeoutInMinutes(int value)
EnabledType GetUploadAllowed() const
void SetTags(TagsT &&value)
void SetDownloadAllowed(EnabledType value)
CreateUserSettingsRequest & WithBrandingConfigurationInput(BrandingConfigurationInputT &&value)
CreateUserSettingsRequest & WithWebAuthnAllowed(EnabledType value)
bool UploadAllowedHasBeenSet() const
CreateUserSettingsRequest & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
void SetToolbarConfiguration(ToolbarConfigurationT &&value)
EnabledType GetPrintAllowed() const
const Aws::String & GetCustomerManagedKey() const
bool DownloadAllowedHasBeenSet() const
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
bool PrintAllowedHasBeenSet() const
bool DeepLinkAllowedHasBeenSet() const
CreateUserSettingsRequest & WithPrintAllowed(EnabledType value)
bool CookieSynchronizationConfigurationHasBeenSet() const
int GetDisconnectTimeoutInMinutes() const
CreateUserSettingsRequest & WithCopyAllowed(EnabledType value)
EnabledType GetDownloadAllowed() const
CreateUserSettingsRequest & WithUploadAllowed(EnabledType value)
bool WebAuthnAllowedHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector