/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Amazon WorkSpaces client.See Also:
AWS
* API Reference
Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline const ReconnectEnum& GetReconnectEnabled() const{ return m_reconnectEnabled; } /** *Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline bool ReconnectEnabledHasBeenSet() const { return m_reconnectEnabledHasBeenSet; } /** *Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline void SetReconnectEnabled(const ReconnectEnum& value) { m_reconnectEnabledHasBeenSet = true; m_reconnectEnabled = value; } /** *Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline void SetReconnectEnabled(ReconnectEnum&& value) { m_reconnectEnabledHasBeenSet = true; m_reconnectEnabled = std::move(value); } /** *Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline ClientProperties& WithReconnectEnabled(const ReconnectEnum& value) { SetReconnectEnabled(value); return *this;} /** *Specifies whether users can cache their credentials on the Amazon WorkSpaces * client. When enabled, users can choose to reconnect to their WorkSpaces without * re-entering their credentials.
*/ inline ClientProperties& WithReconnectEnabled(ReconnectEnum&& value) { SetReconnectEnabled(std::move(value)); return *this;} /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline const LogUploadEnum& GetLogUploadEnabled() const{ return m_logUploadEnabled; } /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline bool LogUploadEnabledHasBeenSet() const { return m_logUploadEnabledHasBeenSet; } /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline void SetLogUploadEnabled(const LogUploadEnum& value) { m_logUploadEnabledHasBeenSet = true; m_logUploadEnabled = value; } /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline void SetLogUploadEnabled(LogUploadEnum&& value) { m_logUploadEnabledHasBeenSet = true; m_logUploadEnabled = std::move(value); } /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline ClientProperties& WithLogUploadEnabled(const LogUploadEnum& value) { SetLogUploadEnabled(value); return *this;} /** *Specifies whether users can upload diagnostic log files of Amazon WorkSpaces * client directly to WorkSpaces to troubleshoot issues when using the WorkSpaces * client. When enabled, the log files will be sent to WorkSpaces automatically and * will be applied to all users in the specified directory.
*/ inline ClientProperties& WithLogUploadEnabled(LogUploadEnum&& value) { SetLogUploadEnabled(std::move(value)); return *this;} private: ReconnectEnum m_reconnectEnabled; bool m_reconnectEnabledHasBeenSet = false; LogUploadEnum m_logUploadEnabled; bool m_logUploadEnabledHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws