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

The status of an Amazon Web Services Organization and the accounts within * that organization.

See Also:

AWS * API Reference

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

The ID of an Amazon Web Services Organization.

*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *

The ID of an Amazon Web Services Organization.

*/ inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; } /** *

The ID of an Amazon Web Services Organization.

*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; } /** *

The ID of an Amazon Web Services Organization.

*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); } /** *

The ID of an Amazon Web Services Organization.

*/ inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); } /** *

The ID of an Amazon Web Services Organization.

*/ inline OrganizationStatus& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *

The ID of an Amazon Web Services Organization.

*/ inline OrganizationStatus& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *

The ID of an Amazon Web Services Organization.

*/ inline OrganizationStatus& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;} /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline const Aws::String& GetOrganizationAwsServiceAccessStatus() const{ return m_organizationAwsServiceAccessStatus; } /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline bool OrganizationAwsServiceAccessStatusHasBeenSet() const { return m_organizationAwsServiceAccessStatusHasBeenSet; } /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline void SetOrganizationAwsServiceAccessStatus(const Aws::String& value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus = value; } /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline void SetOrganizationAwsServiceAccessStatus(Aws::String&& value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus = std::move(value); } /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline void SetOrganizationAwsServiceAccessStatus(const char* value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus.assign(value); } /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline OrganizationStatus& WithOrganizationAwsServiceAccessStatus(const Aws::String& value) { SetOrganizationAwsServiceAccessStatus(value); return *this;} /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline OrganizationStatus& WithOrganizationAwsServiceAccessStatus(Aws::String&& value) { SetOrganizationAwsServiceAccessStatus(std::move(value)); return *this;} /** *

The status of the organization's AWS service access. This will be * ENABLED or DISABLED.

*/ inline OrganizationStatus& WithOrganizationAwsServiceAccessStatus(const char* value) { SetOrganizationAwsServiceAccessStatus(value); return *this;} /** *

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

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

The status of the SLR deployment for the account. This will be either * SUCCEEDED or IN_PROGRESS.

*/ inline OrganizationStatus& WithSLRDeploymentStatus(const char* value) { SetSLRDeploymentStatus(value); return *this;} /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline const Aws::Vector& GetAccountStatusList() const{ return m_accountStatusList; } /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline bool AccountStatusListHasBeenSet() const { return m_accountStatusListHasBeenSet; } /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline void SetAccountStatusList(const Aws::Vector& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList = value; } /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline void SetAccountStatusList(Aws::Vector&& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList = std::move(value); } /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline OrganizationStatus& WithAccountStatusList(const Aws::Vector& value) { SetAccountStatusList(value); return *this;} /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline OrganizationStatus& WithAccountStatusList(Aws::Vector&& value) { SetAccountStatusList(std::move(value)); return *this;} /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline OrganizationStatus& AddAccountStatusList(const AccountStatus& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList.push_back(value); return *this; } /** *

The current service-linked role (SLR) deployment status for an Amazon Web * Services Organization's accounts. This will be either SUCCEEDED or * IN_PROGRESS.

*/ inline OrganizationStatus& AddAccountStatusList(AccountStatus&& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList.push_back(std::move(value)); return *this; } private: Aws::String m_organizationId; bool m_organizationIdHasBeenSet = false; Aws::String m_organizationAwsServiceAccessStatus; bool m_organizationAwsServiceAccessStatusHasBeenSet = false; Aws::String m_sLRDeploymentStatus; bool m_sLRDeploymentStatusHasBeenSet = false; Aws::Vector m_accountStatusList; bool m_accountStatusListHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws