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

The Amazon QuickSight settings associated with your Amazon Web Services * account.

See Also:

AWS * API Reference

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

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline const Aws::String& GetAccountName() const{ return m_accountName; } /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; } /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; } /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); } /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); } /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline AccountSettings& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;} /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline AccountSettings& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;} /** *

The "account name" you provided for the Amazon QuickSight subscription in * your Amazon Web Services account. You create this name when you sign up for * Amazon QuickSight. It is unique in all of Amazon Web Services and it appears * only when users sign in.

*/ inline AccountSettings& WithAccountName(const char* value) { SetAccountName(value); return *this;} /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline const Edition& GetEdition() const{ return m_edition; } /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; } /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; } /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); } /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline AccountSettings& WithEdition(const Edition& value) { SetEdition(value); return *this;} /** *

The edition of Amazon QuickSight that you're currently subscribed to: * Enterprise edition or Standard edition.

*/ inline AccountSettings& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;} /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; } /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; } /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; } /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); } /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); } /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline AccountSettings& WithDefaultNamespace(const Aws::String& value) { SetDefaultNamespace(value); return *this;} /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline AccountSettings& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;} /** *

The default Amazon QuickSight namespace for your Amazon Web Services account. *

*/ inline AccountSettings& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;} /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; } /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; } /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; } /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); } /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); } /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline AccountSettings& WithNotificationEmail(const Aws::String& value) { SetNotificationEmail(value); return *this;} /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline AccountSettings& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;} /** *

The main notification email for your Amazon QuickSight subscription.

*/ inline AccountSettings& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;} /** *

A Boolean value that indicates whether public sharing is turned on for an * Amazon QuickSight account. For more information about turning on public sharing, * see UpdatePublicSharingSettings.

*/ inline bool GetPublicSharingEnabled() const{ return m_publicSharingEnabled; } /** *

A Boolean value that indicates whether public sharing is turned on for an * Amazon QuickSight account. For more information about turning on public sharing, * see UpdatePublicSharingSettings.

*/ inline bool PublicSharingEnabledHasBeenSet() const { return m_publicSharingEnabledHasBeenSet; } /** *

A Boolean value that indicates whether public sharing is turned on for an * Amazon QuickSight account. For more information about turning on public sharing, * see UpdatePublicSharingSettings.

*/ inline void SetPublicSharingEnabled(bool value) { m_publicSharingEnabledHasBeenSet = true; m_publicSharingEnabled = value; } /** *

A Boolean value that indicates whether public sharing is turned on for an * Amazon QuickSight account. For more information about turning on public sharing, * see UpdatePublicSharingSettings.

*/ inline AccountSettings& WithPublicSharingEnabled(bool value) { SetPublicSharingEnabled(value); return *this;} /** *

A boolean value that determines whether or not an Amazon QuickSight account * can be deleted. A True value doesn't allow the account to be * deleted and results in an error message if a user tries to make a * DeleteAccountSubsctiption request. A False value will * allow the ccount to be deleted.

*/ inline bool GetTerminationProtectionEnabled() const{ return m_terminationProtectionEnabled; } /** *

A boolean value that determines whether or not an Amazon QuickSight account * can be deleted. A True value doesn't allow the account to be * deleted and results in an error message if a user tries to make a * DeleteAccountSubsctiption request. A False value will * allow the ccount to be deleted.

*/ inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; } /** *

A boolean value that determines whether or not an Amazon QuickSight account * can be deleted. A True value doesn't allow the account to be * deleted and results in an error message if a user tries to make a * DeleteAccountSubsctiption request. A False value will * allow the ccount to be deleted.

*/ inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; } /** *

A boolean value that determines whether or not an Amazon QuickSight account * can be deleted. A True value doesn't allow the account to be * deleted and results in an error message if a user tries to make a * DeleteAccountSubsctiption request. A False value will * allow the ccount to be deleted.

*/ inline AccountSettings& WithTerminationProtectionEnabled(bool value) { SetTerminationProtectionEnabled(value); return *this;} private: Aws::String m_accountName; bool m_accountNameHasBeenSet = false; Edition m_edition; bool m_editionHasBeenSet = false; Aws::String m_defaultNamespace; bool m_defaultNamespaceHasBeenSet = false; Aws::String m_notificationEmail; bool m_notificationEmailHasBeenSet = false; bool m_publicSharingEnabled; bool m_publicSharingEnabledHasBeenSet = false; bool m_terminationProtectionEnabled; bool m_terminationProtectionEnabledHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws