/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This object contains regions to set up the aggregator and an IAM role to
* retrieve organization details.See Also:
AWS
* API Reference
ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline OrganizationAggregationSource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline OrganizationAggregationSource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *ARN of the IAM role used to retrieve Amazon Web Services Organization details * associated with the aggregator account.
*/ inline OrganizationAggregationSource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The source regions being aggregated.
*/ inline const Aws::VectorThe source regions being aggregated.
*/ inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; } /** *The source regions being aggregated.
*/ inline void SetAwsRegions(const Aws::VectorThe source regions being aggregated.
*/ inline void SetAwsRegions(Aws::VectorThe source regions being aggregated.
*/ inline OrganizationAggregationSource& WithAwsRegions(const Aws::VectorThe source regions being aggregated.
*/ inline OrganizationAggregationSource& WithAwsRegions(Aws::VectorThe source regions being aggregated.
*/ inline OrganizationAggregationSource& AddAwsRegions(const Aws::String& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; } /** *The source regions being aggregated.
*/ inline OrganizationAggregationSource& AddAwsRegions(Aws::String&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(std::move(value)); return *this; } /** *The source regions being aggregated.
*/ inline OrganizationAggregationSource& AddAwsRegions(const char* value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; } /** *If true, aggregate existing Config regions and future regions.
*/ inline bool GetAllAwsRegions() const{ return m_allAwsRegions; } /** *If true, aggregate existing Config regions and future regions.
*/ inline bool AllAwsRegionsHasBeenSet() const { return m_allAwsRegionsHasBeenSet; } /** *If true, aggregate existing Config regions and future regions.
*/ inline void SetAllAwsRegions(bool value) { m_allAwsRegionsHasBeenSet = true; m_allAwsRegions = value; } /** *If true, aggregate existing Config regions and future regions.
*/ inline OrganizationAggregationSource& WithAllAwsRegions(bool value) { SetAllAwsRegions(value); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Vector