/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure that contains information about a specified operation's results
* for a given account in a given Region.See Also:
AWS
* API Reference
[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline const Aws::String& GetAccount() const{ return m_account; } /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); } /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); } /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline StackSetOperationResultSummary& WithAccount(const Aws::String& value) { SetAccount(value); return *this;} /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline StackSetOperationResultSummary& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;} /** *[Self-managed permissions] The name of the Amazon Web Services account for * this operation result.
*/ inline StackSetOperationResultSummary& WithAccount(const char* value) { SetAccount(value); return *this;} /** *The name of the Amazon Web Services Region for this operation result.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The name of the Amazon Web Services Region for this operation result.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The name of the Amazon Web Services Region for this operation result.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The name of the Amazon Web Services Region for this operation result.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The name of the Amazon Web Services Region for this operation result.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The name of the Amazon Web Services Region for this operation result.
*/ inline StackSetOperationResultSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The name of the Amazon Web Services Region for this operation result.
*/ inline StackSetOperationResultSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The name of the Amazon Web Services Region for this operation result.
*/ inline StackSetOperationResultSummary& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The result status of the stack set operation for the given account in the * given Region.
CANCELLED
: The operation in the
* specified account and Region has been canceled. This is either because a user
* has stopped the stack set operation, or because the failure tolerance of the
* stack set operation has been exceeded.
FAILED
:
* The operation in the specified account and Region failed.
If the stack * set operation fails in enough accounts within a Region, the failure tolerance * for the stack set operation as a whole might be exceeded.
* RUNNING
: The operation in the specified account and Region is
* currently in progress.
PENDING
: The operation in
* the specified account and Region has yet to start.
* SUCCEEDED
: The operation in the specified account and Region
* completed successfully.
The reason for the assigned result status.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The reason for the assigned result status.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The reason for the assigned result status.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The reason for the assigned result status.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The reason for the assigned result status.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *The reason for the assigned result status.
*/ inline StackSetOperationResultSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The reason for the assigned result status.
*/ inline StackSetOperationResultSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The reason for the assigned result status.
*/ inline StackSetOperationResultSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline const AccountGateResult& GetAccountGateResult() const{ return m_accountGateResult; } /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline bool AccountGateResultHasBeenSet() const { return m_accountGateResultHasBeenSet; } /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline void SetAccountGateResult(const AccountGateResult& value) { m_accountGateResultHasBeenSet = true; m_accountGateResult = value; } /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline void SetAccountGateResult(AccountGateResult&& value) { m_accountGateResultHasBeenSet = true; m_accountGateResult = std::move(value); } /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline StackSetOperationResultSummary& WithAccountGateResult(const AccountGateResult& value) { SetAccountGateResult(value); return *this;} /** *The results of the account gate function CloudFormation invokes, if present, * before proceeding with stack set operations in an account.
*/ inline StackSetOperationResultSummary& WithAccountGateResult(AccountGateResult&& value) { SetAccountGateResult(std::move(value)); return *this;} /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; } /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; } /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; } /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); } /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); } /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline StackSetOperationResultSummary& WithOrganizationalUnitId(const Aws::String& value) { SetOrganizationalUnitId(value); return *this;} /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline StackSetOperationResultSummary& WithOrganizationalUnitId(Aws::String&& value) { SetOrganizationalUnitId(std::move(value)); return *this;} /** *[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.
*/ inline StackSetOperationResultSummary& WithOrganizationalUnitId(const char* value) { SetOrganizationalUnitId(value); return *this;} private: Aws::String m_account; bool m_accountHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; StackSetOperationResultStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; AccountGateResult m_accountGateResult; bool m_accountGateResultHasBeenSet = false; Aws::String m_organizationalUnitId; bool m_organizationalUnitIdHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws