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

Describes the current status of an account within an Amazon Web Services * Organization, including service-linked roles (SLRs).

See Also:

* AWS * API Reference

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The ID of an account within the Amazon Web Services Organization.

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

The status of SLR deployment for the account.

*/ inline const Aws::String& GetSLRDeploymentStatus() const{ return m_sLRDeploymentStatus; } /** *

The status of SLR deployment for the account.

*/ inline bool SLRDeploymentStatusHasBeenSet() const { return m_sLRDeploymentStatusHasBeenSet; } /** *

The status of SLR deployment for the account.

*/ inline void SetSLRDeploymentStatus(const Aws::String& value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus = value; } /** *

The status of SLR deployment for the account.

*/ inline void SetSLRDeploymentStatus(Aws::String&& value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus = std::move(value); } /** *

The status of SLR deployment for the account.

*/ inline void SetSLRDeploymentStatus(const char* value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus.assign(value); } /** *

The status of SLR deployment for the account.

*/ inline AccountStatus& WithSLRDeploymentStatus(const Aws::String& value) { SetSLRDeploymentStatus(value); return *this;} /** *

The status of SLR deployment for the account.

*/ inline AccountStatus& WithSLRDeploymentStatus(Aws::String&& value) { SetSLRDeploymentStatus(std::move(value)); return *this;} /** *

The status of SLR deployment for the account.

*/ inline AccountStatus& WithSLRDeploymentStatus(const char* value) { SetSLRDeploymentStatus(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_sLRDeploymentStatus; bool m_sLRDeploymentStatusHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws