/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the persistent application settings for users of a
* stack.See Also:
AWS
* API Reference
Specifies whether persistent application settings are enabled for users * during their streaming sessions.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether persistent application settings are enabled for users * during their streaming sessions.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether persistent application settings are enabled for users * during their streaming sessions.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether persistent application settings are enabled for users * during their streaming sessions.
*/ inline ApplicationSettingsResponse& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The path prefix for the S3 bucket where users’ persistent application * settings are stored.
*/ inline const Aws::String& GetSettingsGroup() const{ return m_settingsGroup; } /** *The path prefix for the S3 bucket where users’ persistent application * settings are stored.
*/ inline bool SettingsGroupHasBeenSet() const { return m_settingsGroupHasBeenSet; } /** *The path prefix for the S3 bucket where users’ persistent application * settings are stored.
*/ 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.
*/ 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.
*/ 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.
*/ inline ApplicationSettingsResponse& WithSettingsGroup(const Aws::String& value) { SetSettingsGroup(value); return *this;} /** *The path prefix for the S3 bucket where users’ persistent application * settings are stored.
*/ inline ApplicationSettingsResponse& WithSettingsGroup(Aws::String&& value) { SetSettingsGroup(std::move(value)); return *this;} /** *The path prefix for the S3 bucket where users’ persistent application * settings are stored.
*/ inline ApplicationSettingsResponse& WithSettingsGroup(const char* value) { SetSettingsGroup(value); return *this;} /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline ApplicationSettingsResponse& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline ApplicationSettingsResponse& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The S3 bucket where users’ persistent application settings are stored. When * persistent application settings are enabled for the first time for an account in * an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account * and the Region.
*/ inline ApplicationSettingsResponse& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_settingsGroup; bool m_settingsGroupHasBeenSet = false; Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws