/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Organization conformance pack creation or deletion status in each member
* account. This includes the name of the conformance pack, the status, error code
* and error message when the conformance pack creation or deletion failed.
* See Also:
AWS
* API Reference
The 12-digit account ID of a member account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The 12-digit account ID of a member account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The 12-digit account ID of a member account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The 12-digit account ID of a member account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The 12-digit account ID of a member account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The 12-digit account ID of a member account.
*/ inline OrganizationConformancePackDetailedStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The 12-digit account ID of a member account.
*/ inline OrganizationConformancePackDetailedStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The 12-digit account ID of a member account.
*/ inline OrganizationConformancePackDetailedStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The name of conformance pack deployed in the member account.
*/ inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; } /** *The name of conformance pack deployed in the member account.
*/ inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; } /** *The name of conformance pack deployed in the member account.
*/ inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; } /** *The name of conformance pack deployed in the member account.
*/ inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); } /** *The name of conformance pack deployed in the member account.
*/ inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); } /** *The name of conformance pack deployed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *The name of conformance pack deployed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;} /** *The name of conformance pack deployed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;} /** *Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
Indicates deployment status for conformance pack in a member account. When
* management account calls PutOrganizationConformancePack
action for
* the first time, conformance pack status is created in the member account. When
* management account calls PutOrganizationConformancePack
action for
* the second time, conformance pack status is updated in the member account.
* Conformance pack status is deleted when the management account deletes
* OrganizationConformancePack
and disables service access for
* config-multiaccountsetup.amazonaws.com
.
Config sets the * state of the conformance pack to:
* CREATE_SUCCESSFUL
when conformance pack has been created in the
* member account.
CREATE_IN_PROGRESS
when
* conformance pack is being created in the member account.
* CREATE_FAILED
when conformance pack creation has failed in the
* member account.
DELETE_FAILED
when conformance
* pack deletion has failed in the member account.
* DELETE_IN_PROGRESS
when conformance pack is being deleted in the
* member account.
DELETE_SUCCESSFUL
when
* conformance pack has been deleted in the member account.
* UPDATE_SUCCESSFUL
when conformance pack has been updated in the
* member account.
UPDATE_IN_PROGRESS
when
* conformance pack is being updated in the member account.
* UPDATE_FAILED
when conformance pack deletion has failed in the
* member account.
An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *An error code that is returned when conformance pack creation or deletion * failed in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *An error message indicating that conformance pack account creation or * deletion has failed due to an error in the member account.
*/ inline OrganizationConformancePackDetailedStatus& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The timestamp of the last status update.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The timestamp of the last status update.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The timestamp of the last status update.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The timestamp of the last status update.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The timestamp of the last status update.
*/ inline OrganizationConformancePackDetailedStatus& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The timestamp of the last status update.
*/ inline OrganizationConformancePackDetailedStatus& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_conformancePackName; bool m_conformancePackNameHasBeenSet = false; OrganizationResourceDetailedStatus 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