7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-web/WorkSpacesWebRequest.h>
10#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
11#include <aws/workspaces-web/model/BrandingConfigurationUpdateInput.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>
19namespace WorkSpacesWeb {
42 template <
typename UserSettingsArnT = Aws::String>
44 m_userSettingsArnHasBeenSet =
true;
45 m_userSettingsArn = std::forward<UserSettingsArnT>(value);
47 template <
typename UserSettingsArnT = Aws::String>
62 m_copyAllowedHasBeenSet =
true;
63 m_copyAllowed = value;
79 m_pasteAllowedHasBeenSet =
true;
80 m_pasteAllowed = value;
96 m_downloadAllowedHasBeenSet =
true;
97 m_downloadAllowed = value;
113 m_uploadAllowedHasBeenSet =
true;
114 m_uploadAllowed = value;
129 m_printAllowedHasBeenSet =
true;
130 m_printAllowed = value;
146 m_disconnectTimeoutInMinutesHasBeenSet =
true;
147 m_disconnectTimeoutInMinutes = value;
164 m_idleDisconnectTimeoutInMinutesHasBeenSet =
true;
165 m_idleDisconnectTimeoutInMinutes = value;
184 template <
typename ClientTokenT = Aws::String>
186 m_clientTokenHasBeenSet =
true;
187 m_clientToken = std::forward<ClientTokenT>(value);
189 template <
typename ClientTokenT = Aws::String>
203 return m_cookieSynchronizationConfiguration;
206 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
208 m_cookieSynchronizationConfigurationHasBeenSet =
true;
209 m_cookieSynchronizationConfiguration = std::forward<CookieSynchronizationConfigurationT>(value);
211 template <
typename CookieSynchronizationConfigurationT = CookieSynchronizationConfiguration>
226 m_deepLinkAllowedHasBeenSet =
true;
227 m_deepLinkAllowed = value;
245 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
247 m_toolbarConfigurationHasBeenSet =
true;
248 m_toolbarConfiguration = std::forward<ToolbarConfigurationT>(value);
250 template <
typename ToolbarConfigurationT = ToolbarConfiguration>
267 template <
typename BrandingConfigurationInputT = BrandingConfigurationUpdateInput>
269 m_brandingConfigurationInputHasBeenSet =
true;
270 m_brandingConfigurationInput = std::forward<BrandingConfigurationInputT>(value);
272 template <
typename BrandingConfigurationInputT = BrandingConfigurationUpdateInput>
287 m_webAuthnAllowedHasBeenSet =
true;
288 m_webAuthnAllowed = value;
308 int m_disconnectTimeoutInMinutes{0};
310 int m_idleDisconnectTimeoutInMinutes{0};
314 CookieSynchronizationConfiguration m_cookieSynchronizationConfiguration;
318 ToolbarConfiguration m_toolbarConfiguration;
320 BrandingConfigurationUpdateInput m_brandingConfigurationInput;
323 bool m_userSettingsArnHasBeenSet =
false;
324 bool m_copyAllowedHasBeenSet =
false;
325 bool m_pasteAllowedHasBeenSet =
false;
326 bool m_downloadAllowedHasBeenSet =
false;
327 bool m_uploadAllowedHasBeenSet =
false;
328 bool m_printAllowedHasBeenSet =
false;
329 bool m_disconnectTimeoutInMinutesHasBeenSet =
false;
330 bool m_idleDisconnectTimeoutInMinutesHasBeenSet =
false;
331 bool m_clientTokenHasBeenSet =
true;
332 bool m_cookieSynchronizationConfigurationHasBeenSet =
false;
333 bool m_deepLinkAllowedHasBeenSet =
false;
334 bool m_toolbarConfigurationHasBeenSet =
false;
335 bool m_brandingConfigurationInputHasBeenSet =
false;
336 bool m_webAuthnAllowedHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
UpdateUserSettingsRequest & WithCopyAllowed(EnabledType value)
const ToolbarConfiguration & GetToolbarConfiguration() const
void SetPasteAllowed(EnabledType value)
EnabledType GetDownloadAllowed() const
void SetPrintAllowed(EnabledType value)
void SetToolbarConfiguration(ToolbarConfigurationT &&value)
EnabledType GetPasteAllowed() const
const BrandingConfigurationUpdateInput & GetBrandingConfigurationInput() const
int GetIdleDisconnectTimeoutInMinutes() const
UpdateUserSettingsRequest & WithPrintAllowed(EnabledType value)
virtual const char * GetServiceRequestName() const override
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
bool DisconnectTimeoutInMinutesHasBeenSet() const
const Aws::String & GetUserSettingsArn() const
void SetCopyAllowed(EnabledType value)
void SetIdleDisconnectTimeoutInMinutes(int value)
bool DeepLinkAllowedHasBeenSet() const
EnabledType GetUploadAllowed() const
UpdateUserSettingsRequest & WithClientToken(ClientTokenT &&value)
UpdateUserSettingsRequest & WithCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
const CookieSynchronizationConfiguration & GetCookieSynchronizationConfiguration() const
UpdateUserSettingsRequest & WithPasteAllowed(EnabledType value)
void SetUploadAllowed(EnabledType value)
int GetDisconnectTimeoutInMinutes() const
UpdateUserSettingsRequest & WithBrandingConfigurationInput(BrandingConfigurationInputT &&value)
void SetCookieSynchronizationConfiguration(CookieSynchronizationConfigurationT &&value)
EnabledType GetCopyAllowed() const
void SetBrandingConfigurationInput(BrandingConfigurationInputT &&value)
bool CopyAllowedHasBeenSet() const
bool WebAuthnAllowedHasBeenSet() const
bool UploadAllowedHasBeenSet() const
void SetDownloadAllowed(EnabledType value)
UpdateUserSettingsRequest & WithDisconnectTimeoutInMinutes(int value)
bool ClientTokenHasBeenSet() const
EnabledType GetWebAuthnAllowed() const
bool ToolbarConfigurationHasBeenSet() const
EnabledType GetDeepLinkAllowed() const
UpdateUserSettingsRequest & WithUserSettingsArn(UserSettingsArnT &&value)
void SetUserSettingsArn(UserSettingsArnT &&value)
bool PrintAllowedHasBeenSet() const
EnabledType GetPrintAllowed() const
void SetDisconnectTimeoutInMinutes(int value)
void SetDeepLinkAllowed(EnabledType value)
bool CookieSynchronizationConfigurationHasBeenSet() const
UpdateUserSettingsRequest & WithDownloadAllowed(EnabledType value)
bool DownloadAllowedHasBeenSet() const
AWS_WORKSPACESWEB_API UpdateUserSettingsRequest()=default
UpdateUserSettingsRequest & WithIdleDisconnectTimeoutInMinutes(int value)
bool PasteAllowedHasBeenSet() const
UpdateUserSettingsRequest & WithDeepLinkAllowed(EnabledType value)
void SetClientToken(ClientTokenT &&value)
UpdateUserSettingsRequest & WithUploadAllowed(EnabledType value)
const Aws::String & GetClientToken() const
bool IdleDisconnectTimeoutInMinutesHasBeenSet() const
UpdateUserSettingsRequest & WithWebAuthnAllowed(EnabledType value)
UpdateUserSettingsRequest & WithToolbarConfiguration(ToolbarConfigurationT &&value)
bool UserSettingsArnHasBeenSet() const
bool BrandingConfigurationInputHasBeenSet() const
void SetWebAuthnAllowed(EnabledType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String