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>
22namespace ConfigService
49 template<
typename RoleArnT = Aws::String>
50 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
51 template<
typename RoleArnT = Aws::String>
61 template<
typename AwsRegionsT = Aws::Vector<Aws::String>>
62 void SetAwsRegions(AwsRegionsT&& value) { m_awsRegionsHasBeenSet =
true; m_awsRegions = std::forward<AwsRegionsT>(value); }
63 template<
typename AwsRegionsT = Aws::Vector<Aws::String>>
65 template<
typename AwsRegionsT = Aws::String>
75 inline void SetAllAwsRegions(
bool value) { m_allAwsRegionsHasBeenSet =
true; m_allAwsRegions = value; }
81 bool m_roleArnHasBeenSet =
false;
84 bool m_awsRegionsHasBeenSet =
false;
86 bool m_allAwsRegions{
false};
87 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