/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include [Service-managed permissions] The Organizations accounts to which StackSets
* deploys. StackSets doesn't deploy stack instances to the organization management
* account, even if the organization management account is in your organization or
* in an OU in your organization. For update operations, you can specify
* either Accounts
or OrganizationalUnitIds
. For create
* and delete operations, specify OrganizationalUnitIds
.See
* Also:
AWS
* API Reference
The names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline const Aws::VectorThe names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; } /** *The names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline void SetAccounts(const Aws::VectorThe names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline void SetAccounts(Aws::VectorThe names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline DeploymentTargets& WithAccounts(const Aws::VectorThe names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline DeploymentTargets& WithAccounts(Aws::VectorThe names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline DeploymentTargets& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *The names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline DeploymentTargets& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; } /** *The names of one or more Amazon Web Services accounts for which you want to * deploy stack set updates.
*/ inline DeploymentTargets& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
Returns the value of the AccountsUrl
property.
The organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline const Aws::VectorThe organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline bool OrganizationalUnitIdsHasBeenSet() const { return m_organizationalUnitIdsHasBeenSet; } /** *The organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline void SetOrganizationalUnitIds(const Aws::VectorThe organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline void SetOrganizationalUnitIds(Aws::VectorThe organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline DeploymentTargets& WithOrganizationalUnitIds(const Aws::VectorThe organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline DeploymentTargets& WithOrganizationalUnitIds(Aws::VectorThe organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline DeploymentTargets& AddOrganizationalUnitIds(const Aws::String& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; } /** *The organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline DeploymentTargets& AddOrganizationalUnitIds(Aws::String&& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(std::move(value)); return *this; } /** *The organization root ID or organizational unit (OU) IDs to which StackSets * deploys.
*/ inline DeploymentTargets& AddOrganizationalUnitIds(const char* value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; } /** *Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).
Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).
Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).
Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).
Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).
Limit deployment targets to individual accounts or include additional * accounts with provided OUs.
The following is a list of possible values
* for the AccountFilterType
operation.
* INTERSECTION
: StackSets deploys to the accounts specified in
* Accounts
parameter.
DIFFERENCE
:
* StackSets excludes the accounts specified in Accounts
parameter.
* This enables user to avoid certain accounts within an OU such as suspended
* accounts.
UNION
: StackSets includes additional
* accounts deployment targets.
This is the default value if
* AccountFilterType
is not provided. This enables user to update an
* entire OU and individual accounts from a different OU in one request, which used
* to be two separate requests.
NONE
: Deploys to
* all the accounts in specified organizational units (OU).