7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
11#include <aws/workspaces-web/model/BrandingConfiguration.h>
12#include <aws/workspaces-web/model/CookieSynchronizationConfiguration.h>
13#include <aws/workspaces-web/model/EnabledType.h>
14#include <aws/workspaces-web/model/ToolbarConfiguration.h>
25namespace WorkSpacesWeb {
49 template <
typename UserSettingsArnT = Aws::String>
51 m_userSettingsArnHasBeenSet =
true;
52 m_userSettingsArn = std::forward<UserSettingsArnT>(value);
54 template <
typename UserSettingsArnT = Aws::String>
67 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
69 m_associatedPortalArnsHasBeenSet =
true;
70 m_associatedPortalArns = std::forward<AssociatedPortalArnsT>(value);
72 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
77 template <
typename AssociatedPortalArnsT = Aws::String>
79 m_associatedPortalArnsHasBeenSet =
true;
80 m_associatedPortalArns.emplace_back(std::forward<AssociatedPortalArnsT>(value));
93 m_copyAllowedHasBeenSet =
true;
94 m_copyAllowed = value;
110 m_pasteAllowedHasBeenSet =
true;
111 m_pasteAllowed = value;
127 m_downloadAllowedHasBeenSet =
true;
128 m_downloadAllowed = value;
144 m_uploadAllowedHasBeenSet =
true;
145 m_uploadAllowed = value;
160 m_printAllowedHasBeenSet =
true;
161 m_printAllowed = value;
177 m_disconnectTimeoutInMinutesHasBeenSet =
true;
178 m_disconnectTimeoutInMinutes = value;
195 m_idleDisconnectTimeoutInMinutesHasBeenSet =
true;
196 m_idleDisconnectTimeoutInMinutes = value;
210 return m_cookieSynchronizationConfiguration;
213 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
215 m_cookieSynchronizationConfigurationHasBeenSet =
true;
216 m_cookieSynchronizationConfiguration = std::forward<CookieSynchronizationConfigurationT>(value);
218 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
232 template <
typename CustomerManagedKeyT = Aws::String>
234 m_customerManagedKeyHasBeenSet =
true;
235 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
237 template <
typename CustomerManagedKeyT = Aws::String>
250 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
252 m_additionalEncryptionContextHasBeenSet =
true;
253 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
255 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
260 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
262 m_additionalEncryptionContextHasBeenSet =
true;
263 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
264 std::forward<AdditionalEncryptionContextValueT>(value));
277 m_deepLinkAllowedHasBeenSet =
true;
278 m_deepLinkAllowed = value;
296 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
298 m_toolbarConfigurationHasBeenSet =
true;
299 m_toolbarConfiguration = std::forward<ToolbarConfigurationT>(value);
301 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
315 template <
typename BrandingConfigurationT = BrandingConfiguration>
317 m_brandingConfigurationHasBeenSet =
true;
318 m_brandingConfiguration = std::forward<BrandingConfigurationT>(value);
320 template <
typename BrandingConfigurationT = BrandingConfiguration>
335 m_webAuthnAllowedHasBeenSet =
true;
336 m_webAuthnAllowed = value;
358 int m_disconnectTimeoutInMinutes{0};
360 int m_idleDisconnectTimeoutInMinutes{0};
362 CookieSynchronizationConfiguration m_cookieSynchronizationConfiguration;
370 ToolbarConfiguration m_toolbarConfiguration;
372 BrandingConfiguration m_brandingConfiguration;
375 bool m_userSettingsArnHasBeenSet =
false;
376 bool m_associatedPortalArnsHasBeenSet =
false;
377 bool m_copyAllowedHasBeenSet =
false;
378 bool m_pasteAllowedHasBeenSet =
false;
379 bool m_downloadAllowedHasBeenSet =
false;
380 bool m_uploadAllowedHasBeenSet =
false;
381 bool m_printAllowedHasBeenSet =
false;
382 bool m_disconnectTimeoutInMinutesHasBeenSet =
false;
383 bool m_idleDisconnectTimeoutInMinutesHasBeenSet =
false;
384 bool m_cookieSynchronizationConfigurationHasBeenSet =
false;
385 bool m_customerManagedKeyHasBeenSet =
false;
386 bool m_additionalEncryptionContextHasBeenSet =
false;
387 bool m_deepLinkAllowedHasBeenSet =
false;
388 bool m_toolbarConfigurationHasBeenSet =
false;
389 bool m_brandingConfigurationHasBeenSet =
false;
390 bool m_webAuthnAllowedHasBeenSet =
false;
bool ToolbarConfigurationHasBeenSet() const
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
bool AssociatedPortalArnsHasBeenSet() const
bool IdleDisconnectTimeoutInMinutesHasBeenSet() const
void SetCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
const ToolbarConfiguration & GetToolbarConfiguration() const
UserSettings & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
bool UserSettingsArnHasBeenSet() const
void SetDownloadAllowed(EnabledType value)
UserSettings & WithWebAuthnAllowed(EnabledType value)
EnabledType GetDownloadAllowed() const
UserSettings & WithToolbarConfiguration(ToolbarConfigurationT &&value)
EnabledType GetDeepLinkAllowed() const
const BrandingConfiguration & GetBrandingConfiguration() const
UserSettings & WithDeepLinkAllowed(EnabledType value)
UserSettings & WithDownloadAllowed(EnabledType value)
void SetCopyAllowed(EnabledType value)
UserSettings & WithUploadAllowed(EnabledType value)
void SetDisconnectTimeoutInMinutes(int value)
bool DeepLinkAllowedHasBeenSet() const
int GetDisconnectTimeoutInMinutes() const
EnabledType GetWebAuthnAllowed() const
bool DownloadAllowedHasBeenSet() const
UserSettings & AddAssociatedPortalArns(AssociatedPortalArnsT &&value)
UserSettings & WithCustomerManagedKey(CustomerManagedKeyT &&value)
EnabledType GetPrintAllowed() const
const Aws::String & GetUserSettingsArn() const
bool DisconnectTimeoutInMinutesHasBeenSet() const
void SetToolbarConfiguration(ToolbarConfigurationT &&value)
UserSettings & WithCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
AWS_WORKSPACESWEB_API UserSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
UserSettings & WithBrandingConfiguration(BrandingConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
int GetIdleDisconnectTimeoutInMinutes() const
void SetWebAuthnAllowed(EnabledType value)
UserSettings & WithIdleDisconnectTimeoutInMinutes(int value)
bool AdditionalEncryptionContextHasBeenSet() const
AWS_WORKSPACESWEB_API UserSettings(Aws::Utils::Json::JsonView jsonValue)
bool PasteAllowedHasBeenSet() const
const CookieSynchronizationConfiguration & GetCookieSynchronizationConfiguration() const
bool BrandingConfigurationHasBeenSet() const
bool PrintAllowedHasBeenSet() const
void SetAssociatedPortalArns(AssociatedPortalArnsT &&value)
UserSettings & WithCopyAllowed(EnabledType value)
EnabledType GetCopyAllowed() const
void SetDeepLinkAllowed(EnabledType value)
bool CookieSynchronizationConfigurationHasBeenSet() const
UserSettings & WithPrintAllowed(EnabledType value)
void SetPasteAllowed(EnabledType value)
bool WebAuthnAllowedHasBeenSet() const
void SetBrandingConfiguration(BrandingConfigurationT &&value)
bool CustomerManagedKeyHasBeenSet() const
void SetUploadAllowed(EnabledType value)
const Aws::Vector< Aws::String > & GetAssociatedPortalArns() const
EnabledType GetUploadAllowed() const
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
UserSettings & WithDisconnectTimeoutInMinutes(int value)
UserSettings & WithAssociatedPortalArns(AssociatedPortalArnsT &&value)
bool CopyAllowedHasBeenSet() const
const Aws::String & GetCustomerManagedKey() const
void SetIdleDisconnectTimeoutInMinutes(int value)
AWS_WORKSPACESWEB_API UserSettings()=default
UserSettings & WithUserSettingsArn(UserSettingsArnT &&value)
void SetUserSettingsArn(UserSettingsArnT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrintAllowed(EnabledType value)
UserSettings & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
bool UploadAllowedHasBeenSet() const
UserSettings & WithPasteAllowed(EnabledType value)
EnabledType GetPasteAllowed() 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
Aws::Utils::Json::JsonValue JsonValue