/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns the status for an organization conformance pack in an
* organization.See Also:
AWS
* API Reference
The name that you assign to organization conformance pack.
*/ inline const Aws::String& GetOrganizationConformancePackName() const{ return m_organizationConformancePackName; } /** *The name that you assign to organization conformance pack.
*/ inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; } /** *The name that you assign to organization conformance pack.
*/ inline void SetOrganizationConformancePackName(const Aws::String& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = value; } /** *The name that you assign to organization conformance pack.
*/ inline void SetOrganizationConformancePackName(Aws::String&& value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName = std::move(value); } /** *The name that you assign to organization conformance pack.
*/ inline void SetOrganizationConformancePackName(const char* value) { m_organizationConformancePackNameHasBeenSet = true; m_organizationConformancePackName.assign(value); } /** *The name that you assign to organization conformance pack.
*/ inline OrganizationConformancePackStatus& WithOrganizationConformancePackName(const Aws::String& value) { SetOrganizationConformancePackName(value); return *this;} /** *The name that you assign to organization conformance pack.
*/ inline OrganizationConformancePackStatus& WithOrganizationConformancePackName(Aws::String&& value) { SetOrganizationConformancePackName(std::move(value)); return *this;} /** *The name that you assign to organization conformance pack.
*/ inline OrganizationConformancePackStatus& WithOrganizationConformancePackName(const char* value) { SetOrganizationConformancePackName(value); return *this;} /** *Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
Indicates deployment status of an organization conformance pack. When
* management account calls PutOrganizationConformancePack for the first time,
* conformance pack status is created in all the member accounts. When management
* account calls PutOrganizationConformancePack for the second time, conformance
* pack status is updated in all the member accounts. Additionally, conformance
* pack status is updated when one or more member accounts join or leave an
* organization. Conformance pack status is deleted when the management account
* deletes OrganizationConformancePack in all the member accounts and disables
* service access for config-multiaccountsetup.amazonaws.com
.
Config sets the state of the conformance pack to:
* CREATE_SUCCESSFUL
when an organization conformance pack has been
* successfully created in all the member accounts.
* CREATE_IN_PROGRESS
when an organization conformance pack creation
* is in progress.
CREATE_FAILED
when an
* organization conformance pack creation failed in one or more member accounts
* within that organization.
DELETE_FAILED
when an
* organization conformance pack deletion failed in one or more member accounts
* within that organization.
DELETE_IN_PROGRESS
* when an organization conformance pack deletion is in progress.
DELETE_SUCCESSFUL
when an organization conformance pack has
* been successfully deleted from all the member accounts.
* UPDATE_SUCCESSFUL
when an organization conformance pack has been
* successfully updated in all the member accounts.
* UPDATE_IN_PROGRESS
when an organization conformance pack update is
* in progress.
UPDATE_FAILED
when an organization
* conformance pack update failed in one or more member accounts within that
* organization.
An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline OrganizationConformancePackStatus& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline OrganizationConformancePackStatus& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *An error code that is returned when organization conformance pack creation or * deletion has failed in a member account.
*/ inline OrganizationConformancePackStatus& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline OrganizationConformancePackStatus& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline OrganizationConformancePackStatus& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *An error message indicating that organization conformance pack creation or * deletion failed due to an error.
*/ inline OrganizationConformancePackStatus& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The timestamp of the last update.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The timestamp of the last update.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The timestamp of the last update.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The timestamp of the last update.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The timestamp of the last update.
*/ inline OrganizationConformancePackStatus& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The timestamp of the last update.
*/ inline OrganizationConformancePackStatus& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_organizationConformancePackName; bool m_organizationConformancePackNameHasBeenSet = false; OrganizationResourceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws