/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the AwsOrganizationsSource resource data sync source. A
* sync source of this type can synchronize data from AWS Organizations or, if an
* AWS Organization is not present, from multiple AWS Regions.See
* Also:
AWS
* API Reference
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
If an AWS Organization is present, this is either
* OrganizationalUnits or EntireOrganization. For
* OrganizationalUnits, the data is aggregated from a set of
* organization units. For EntireOrganization, the data is aggregated
* from the entire AWS Organization.
The AWS Organizations organization units included in the sync.
*/ inline const Aws::VectorThe AWS Organizations organization units included in the sync.
*/ inline bool OrganizationalUnitsHasBeenSet() const { return m_organizationalUnitsHasBeenSet; } /** *The AWS Organizations organization units included in the sync.
*/ inline void SetOrganizationalUnits(const Aws::VectorThe AWS Organizations organization units included in the sync.
*/ inline void SetOrganizationalUnits(Aws::VectorThe AWS Organizations organization units included in the sync.
*/ inline ResourceDataSyncAwsOrganizationsSource& WithOrganizationalUnits(const Aws::VectorThe AWS Organizations organization units included in the sync.
*/ inline ResourceDataSyncAwsOrganizationsSource& WithOrganizationalUnits(Aws::VectorThe AWS Organizations organization units included in the sync.
*/ inline ResourceDataSyncAwsOrganizationsSource& AddOrganizationalUnits(const ResourceDataSyncOrganizationalUnit& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(value); return *this; } /** *The AWS Organizations organization units included in the sync.
*/ inline ResourceDataSyncAwsOrganizationsSource& AddOrganizationalUnits(ResourceDataSyncOrganizationalUnit&& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(std::move(value)); return *this; } private: Aws::String m_organizationSourceType; bool m_organizationSourceTypeHasBeenSet; Aws::Vector