/** * 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 QuickSight settings associated with your AWS account.

See * Also:

AWS * API Reference

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

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

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

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

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

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

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

The "account name" you provided for the QuickSight subscription in your AWS * account. You create this name when you sign up for QuickSight. It is unique in * all of AWS and it appears only in the console 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 QuickSight subscription in your AWS * account. You create this name when you sign up for QuickSight. It is unique in * all of AWS and it appears only in the console when users sign in.

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

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

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

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

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

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

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

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

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

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

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

The edition of 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 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 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 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 QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The default QuickSight namespace for your AWS account.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

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

The main notification email for your QuickSight subscription.

*/ inline AccountSettings& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;} private: Aws::String m_accountName; bool m_accountNameHasBeenSet; Edition m_edition; bool m_editionHasBeenSet; Aws::String m_defaultNamespace; bool m_defaultNamespaceHasBeenSet; Aws::String m_notificationEmail; bool m_notificationEmailHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws