7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace ConfigService {
43 template <
typename RoleArnT = Aws::String>
45 m_roleArnHasBeenSet =
true;
46 m_roleArn = std::forward<RoleArnT>(value);
48 template <
typename RoleArnT = Aws::String>
61 template <
typename AwsRegionsT = Aws::Vector<Aws::String>>
63 m_awsRegionsHasBeenSet =
true;
64 m_awsRegions = std::forward<AwsRegionsT>(value);
66 template <
typename AwsRegionsT = Aws::Vector<Aws::String>>
71 template <
typename AwsRegionsT = Aws::String>
73 m_awsRegionsHasBeenSet =
true;
74 m_awsRegions.emplace_back(std::forward<AwsRegionsT>(value));
86 m_allAwsRegionsHasBeenSet =
true;
87 m_allAwsRegions = value;
99 bool m_allAwsRegions{
false};
100 bool m_roleArnHasBeenSet =
false;
101 bool m_awsRegionsHasBeenSet =
false;
102 bool m_allAwsRegionsHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
bool GetAllAwsRegions() const
bool RoleArnHasBeenSet() const
AWS_CONFIGSERVICE_API OrganizationAggregationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationAggregationSource & WithAwsRegions(AwsRegionsT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsRegions(AwsRegionsT &&value)
const Aws::Vector< Aws::String > & GetAwsRegions() const
OrganizationAggregationSource & WithAllAwsRegions(bool value)
AWS_CONFIGSERVICE_API OrganizationAggregationSource()=default
bool AwsRegionsHasBeenSet() const
bool AllAwsRegionsHasBeenSet() const
OrganizationAggregationSource & AddAwsRegions(AwsRegionsT &&value)
AWS_CONFIGSERVICE_API OrganizationAggregationSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
void SetAllAwsRegions(bool value)
OrganizationAggregationSource & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue