/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppStream { namespace Model { /** *

The persistent application settings for users of a stack.

See * Also:

AWS * API Reference

*/ class ApplicationSettings { public: AWS_APPSTREAM_API ApplicationSettings(); AWS_APPSTREAM_API ApplicationSettings(Aws::Utils::Json::JsonView jsonValue); AWS_APPSTREAM_API ApplicationSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Enables or disables persistent application settings for users during their * streaming sessions.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Enables or disables persistent application settings for users during their * streaming sessions.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Enables or disables persistent application settings for users during their * streaming sessions.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Enables or disables persistent application settings for users during their * streaming sessions.

*/ inline ApplicationSettings& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; } /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; } /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline void SetSettingsGroup(const Aws::String& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = value; } /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline void SetSettingsGroup(Aws::String&& value) { m_settingsGroupHasBeenSet = true; m_settingsGroup = std::move(value); } /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline void SetSettingsGroup(const char* value) { m_settingsGroupHasBeenSet = true; m_settingsGroup.assign(value); } /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline ApplicationSettings& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;} /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline ApplicationSettings& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;} /** *

The path prefix for the S3 bucket where users’ persistent application * settings are stored. You can allow the same persistent application settings to * be used across multiple stacks by specifying the same settings group for each * stack.

*/ inline ApplicationSettings& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_settingsGroup; bool m_settingsGroupHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws