/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class DescribeAccountSubscriptionResult { public: AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult(); AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeAccountSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure that contains the following 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.

*/ inline const AccountInfo& GetAccountInfo() const{ return m_accountInfo; } /** *

A structure that contains the following 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.

*/ inline void SetAccountInfo(const AccountInfo& value) { m_accountInfo = value; } /** *

A structure that contains the following 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.

*/ inline void SetAccountInfo(AccountInfo&& value) { m_accountInfo = std::move(value); } /** *

A structure that contains the following 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.

*/ inline DescribeAccountSubscriptionResult& WithAccountInfo(const AccountInfo& value) { SetAccountInfo(value); return *this;} /** *

A structure that contains the following 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.

*/ inline DescribeAccountSubscriptionResult& WithAccountInfo(AccountInfo&& value) { SetAccountInfo(std::move(value)); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DescribeAccountSubscriptionResult& WithStatus(int value) { SetStatus(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAccountSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAccountSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAccountSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AccountInfo m_accountInfo; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws