/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The set of accounts that will be under the billing group. The set of accounts
* resemble the linked accounts in a consolidated billing family.See
* Also:
AWS
* API Reference
The account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline const Aws::VectorThe account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline bool LinkedAccountIdsHasBeenSet() const { return m_linkedAccountIdsHasBeenSet; } /** *The account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline void SetLinkedAccountIds(const Aws::VectorThe account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline void SetLinkedAccountIds(Aws::VectorThe account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline AccountGrouping& WithLinkedAccountIds(const Aws::VectorThe account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline AccountGrouping& WithLinkedAccountIds(Aws::VectorThe account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline AccountGrouping& AddLinkedAccountIds(const Aws::String& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(value); return *this; } /** *The account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline AccountGrouping& AddLinkedAccountIds(Aws::String&& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(std::move(value)); return *this; } /** *The account IDs that make up the billing group. Account IDs must be a part of * the consolidated billing family, and not associated with another billing * group.
*/ inline AccountGrouping& AddLinkedAccountIds(const char* value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(value); return *this; } /** *Specifies if this billing group will automatically associate newly added * Amazon Web Services accounts that join your consolidated billing family.
*/ inline bool GetAutoAssociate() const{ return m_autoAssociate; } /** *Specifies if this billing group will automatically associate newly added * Amazon Web Services accounts that join your consolidated billing family.
*/ inline bool AutoAssociateHasBeenSet() const { return m_autoAssociateHasBeenSet; } /** *Specifies if this billing group will automatically associate newly added * Amazon Web Services accounts that join your consolidated billing family.
*/ inline void SetAutoAssociate(bool value) { m_autoAssociateHasBeenSet = true; m_autoAssociate = value; } /** *Specifies if this billing group will automatically associate newly added * Amazon Web Services accounts that join your consolidated billing family.
*/ inline AccountGrouping& WithAutoAssociate(bool value) { SetAutoAssociate(value); return *this;} private: Aws::Vector