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

The Amazon Chime account details. An AWS account can have multiple Amazon * Chime accounts.

See Also:

AWS API * Reference

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

The AWS account ID.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The AWS account ID.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The AWS account ID.

*/ inline Account& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The AWS account ID.

*/ inline Account& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The AWS account ID.

*/ inline Account& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Chime account ID.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Chime account ID.

*/ inline Account& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline Account& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Chime account ID.

*/ inline Account& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The Amazon Chime account name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The Amazon Chime account name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The Amazon Chime account name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The Amazon Chime account name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The Amazon Chime account name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The Amazon Chime account name.

*/ inline Account& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The Amazon Chime account name.

*/ inline Account& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The Amazon Chime account name.

*/ inline Account& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline const AccountType& GetAccountType() const{ return m_accountType; } /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline bool AccountTypeHasBeenSet() const { return m_accountTypeHasBeenSet; } /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline void SetAccountType(const AccountType& value) { m_accountTypeHasBeenSet = true; m_accountType = value; } /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline void SetAccountType(AccountType&& value) { m_accountTypeHasBeenSet = true; m_accountType = std::move(value); } /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline Account& WithAccountType(const AccountType& value) { SetAccountType(value); return *this;} /** *

The Amazon Chime account type. For more information about different account * types, see Managing * Your Amazon Chime Accounts in the Amazon Chime Administration * Guide.

*/ inline Account& WithAccountType(AccountType&& value) { SetAccountType(std::move(value)); return *this;} /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline Account& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The Amazon Chime account creation timestamp, in ISO 8601 format.

*/ inline Account& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The default license for the Amazon Chime account.

*/ inline const License& GetDefaultLicense() const{ return m_defaultLicense; } /** *

The default license for the Amazon Chime account.

*/ inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; } /** *

The default license for the Amazon Chime account.

*/ inline void SetDefaultLicense(const License& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; } /** *

The default license for the Amazon Chime account.

*/ inline void SetDefaultLicense(License&& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = std::move(value); } /** *

The default license for the Amazon Chime account.

*/ inline Account& WithDefaultLicense(const License& value) { SetDefaultLicense(value); return *this;} /** *

The default license for the Amazon Chime account.

*/ inline Account& WithDefaultLicense(License&& value) { SetDefaultLicense(std::move(value)); return *this;} /** *

Supported licenses for the Amazon Chime account.

*/ inline const Aws::Vector& GetSupportedLicenses() const{ return m_supportedLicenses; } /** *

Supported licenses for the Amazon Chime account.

*/ inline bool SupportedLicensesHasBeenSet() const { return m_supportedLicensesHasBeenSet; } /** *

Supported licenses for the Amazon Chime account.

*/ inline void SetSupportedLicenses(const Aws::Vector& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = value; } /** *

Supported licenses for the Amazon Chime account.

*/ inline void SetSupportedLicenses(Aws::Vector&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = std::move(value); } /** *

Supported licenses for the Amazon Chime account.

*/ inline Account& WithSupportedLicenses(const Aws::Vector& value) { SetSupportedLicenses(value); return *this;} /** *

Supported licenses for the Amazon Chime account.

*/ inline Account& WithSupportedLicenses(Aws::Vector&& value) { SetSupportedLicenses(std::move(value)); return *this;} /** *

Supported licenses for the Amazon Chime account.

*/ inline Account& AddSupportedLicenses(const License& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(value); return *this; } /** *

Supported licenses for the Amazon Chime account.

*/ inline Account& AddSupportedLicenses(License&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(std::move(value)); return *this; } /** *

The status of the account.

*/ inline const AccountStatus& GetAccountStatus() const{ return m_accountStatus; } /** *

The status of the account.

*/ inline bool AccountStatusHasBeenSet() const { return m_accountStatusHasBeenSet; } /** *

The status of the account.

*/ inline void SetAccountStatus(const AccountStatus& value) { m_accountStatusHasBeenSet = true; m_accountStatus = value; } /** *

The status of the account.

*/ inline void SetAccountStatus(AccountStatus&& value) { m_accountStatusHasBeenSet = true; m_accountStatus = std::move(value); } /** *

The status of the account.

*/ inline Account& WithAccountStatus(const AccountStatus& value) { SetAccountStatus(value); return *this;} /** *

The status of the account.

*/ inline Account& WithAccountStatus(AccountStatus&& value) { SetAccountStatus(std::move(value)); return *this;} /** *

The sign-in delegate groups associated with the account.

*/ inline const Aws::Vector& GetSigninDelegateGroups() const{ return m_signinDelegateGroups; } /** *

The sign-in delegate groups associated with the account.

*/ inline bool SigninDelegateGroupsHasBeenSet() const { return m_signinDelegateGroupsHasBeenSet; } /** *

The sign-in delegate groups associated with the account.

*/ inline void SetSigninDelegateGroups(const Aws::Vector& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = value; } /** *

The sign-in delegate groups associated with the account.

*/ inline void SetSigninDelegateGroups(Aws::Vector&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = std::move(value); } /** *

The sign-in delegate groups associated with the account.

*/ inline Account& WithSigninDelegateGroups(const Aws::Vector& value) { SetSigninDelegateGroups(value); return *this;} /** *

The sign-in delegate groups associated with the account.

*/ inline Account& WithSigninDelegateGroups(Aws::Vector&& value) { SetSigninDelegateGroups(std::move(value)); return *this;} /** *

The sign-in delegate groups associated with the account.

*/ inline Account& AddSigninDelegateGroups(const SigninDelegateGroup& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(value); return *this; } /** *

The sign-in delegate groups associated with the account.

*/ inline Account& AddSigninDelegateGroups(SigninDelegateGroup&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(std::move(value)); return *this; } private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; AccountType m_accountType; bool m_accountTypeHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; License m_defaultLicense; bool m_defaultLicenseHasBeenSet = false; Aws::Vector m_supportedLicenses; bool m_supportedLicensesHasBeenSet = false; AccountStatus m_accountStatus; bool m_accountStatusHasBeenSet = false; Aws::Vector m_signinDelegateGroups; bool m_signinDelegateGroupsHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws