/** * 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 { /** *

A structure that contains the following account information elements:

*
  • Your Amazon QuickSight account name.

  • The edition * of Amazon QuickSight that your account is using.

  • The * notification email address that is associated with the Amazon QuickSight * account.

  • The authentication type of the Amazon QuickSight * account.

  • The status of the Amazon QuickSight account's * subscription.

See Also:

AWS * API Reference

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

The account name that 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's unique over 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 that 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's unique over all of Amazon Web Services, and it appears * only when users sign in.

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

The account name that 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's unique over 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 that 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's unique over 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 that 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's unique over 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 that 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's unique over all of Amazon Web Services, and it appears * only when users sign in.

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

The account name that 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's unique over all of Amazon Web Services, and it appears * only when users sign in.

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

The account name that 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's unique over all of Amazon Web Services, and it appears * only when users sign in.

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

The edition of your Amazon QuickSight account.

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

The edition of your Amazon QuickSight account.

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

The edition of your Amazon QuickSight account.

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

The edition of your Amazon QuickSight account.

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

The edition of your Amazon QuickSight account.

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

The edition of your Amazon QuickSight account.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The email address that will be used for Amazon QuickSight to send * notifications regarding your Amazon Web Services account or Amazon QuickSight * subscription.

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

The way that your Amazon QuickSight account is authenticated.

*/ inline const Aws::String& GetAuthenticationType() const{ return m_authenticationType; } /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline void SetAuthenticationType(const Aws::String& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline void SetAuthenticationType(Aws::String&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline void SetAuthenticationType(const char* value) { m_authenticationTypeHasBeenSet = true; m_authenticationType.assign(value); } /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline AccountInfo& WithAuthenticationType(const Aws::String& value) { SetAuthenticationType(value); return *this;} /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline AccountInfo& WithAuthenticationType(Aws::String&& value) { SetAuthenticationType(std::move(value)); return *this;} /** *

The way that your Amazon QuickSight account is authenticated.

*/ inline AccountInfo& WithAuthenticationType(const char* value) { SetAuthenticationType(value); return *this;} /** *

The status of your account subscription.

*/ inline const Aws::String& GetAccountSubscriptionStatus() const{ return m_accountSubscriptionStatus; } /** *

The status of your account subscription.

*/ inline bool AccountSubscriptionStatusHasBeenSet() const { return m_accountSubscriptionStatusHasBeenSet; } /** *

The status of your account subscription.

*/ inline void SetAccountSubscriptionStatus(const Aws::String& value) { m_accountSubscriptionStatusHasBeenSet = true; m_accountSubscriptionStatus = value; } /** *

The status of your account subscription.

*/ inline void SetAccountSubscriptionStatus(Aws::String&& value) { m_accountSubscriptionStatusHasBeenSet = true; m_accountSubscriptionStatus = std::move(value); } /** *

The status of your account subscription.

*/ inline void SetAccountSubscriptionStatus(const char* value) { m_accountSubscriptionStatusHasBeenSet = true; m_accountSubscriptionStatus.assign(value); } /** *

The status of your account subscription.

*/ inline AccountInfo& WithAccountSubscriptionStatus(const Aws::String& value) { SetAccountSubscriptionStatus(value); return *this;} /** *

The status of your account subscription.

*/ inline AccountInfo& WithAccountSubscriptionStatus(Aws::String&& value) { SetAccountSubscriptionStatus(std::move(value)); return *this;} /** *

The status of your account subscription.

*/ inline AccountInfo& WithAccountSubscriptionStatus(const char* value) { SetAccountSubscriptionStatus(value); return *this;} private: Aws::String m_accountName; bool m_accountNameHasBeenSet = false; Edition m_edition; bool m_editionHasBeenSet = false; Aws::String m_notificationEmail; bool m_notificationEmailHasBeenSet = false; Aws::String m_authenticationType; bool m_authenticationTypeHasBeenSet = false; Aws::String m_accountSubscriptionStatus; bool m_accountSubscriptionStatusHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws