AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationAggregationSource.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API OrganizationAggregationSource();
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline OrganizationAggregationSource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline OrganizationAggregationSource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline OrganizationAggregationSource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetAwsRegions() const{ return m_awsRegions; }
62 inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; }
63 inline void SetAwsRegions(const Aws::Vector<Aws::String>& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = value; }
64 inline void SetAwsRegions(Aws::Vector<Aws::String>&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = std::move(value); }
66 inline OrganizationAggregationSource& WithAwsRegions(Aws::Vector<Aws::String>&& value) { SetAwsRegions(std::move(value)); return *this;}
67 inline OrganizationAggregationSource& AddAwsRegions(const Aws::String& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
68 inline OrganizationAggregationSource& AddAwsRegions(Aws::String&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(std::move(value)); return *this; }
69 inline OrganizationAggregationSource& AddAwsRegions(const char* value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
71
73
76 inline bool GetAllAwsRegions() const{ return m_allAwsRegions; }
77 inline bool AllAwsRegionsHasBeenSet() const { return m_allAwsRegionsHasBeenSet; }
78 inline void SetAllAwsRegions(bool value) { m_allAwsRegionsHasBeenSet = true; m_allAwsRegions = value; }
79 inline OrganizationAggregationSource& WithAllAwsRegions(bool value) { SetAllAwsRegions(value); return *this;}
81 private:
82
83 Aws::String m_roleArn;
84 bool m_roleArnHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_awsRegions;
87 bool m_awsRegionsHasBeenSet = false;
88
89 bool m_allAwsRegions;
90 bool m_allAwsRegionsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ConfigService
95} // namespace Aws
AWS_CONFIGSERVICE_API OrganizationAggregationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationAggregationSource & AddAwsRegions(const Aws::String &value)
OrganizationAggregationSource & WithRoleArn(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationAggregationSource & AddAwsRegions(Aws::String &&value)
OrganizationAggregationSource & WithRoleArn(Aws::String &&value)
OrganizationAggregationSource & WithRoleArn(const char *value)
void SetAwsRegions(const Aws::Vector< Aws::String > &value)
OrganizationAggregationSource & AddAwsRegions(const char *value)
OrganizationAggregationSource & WithAwsRegions(const Aws::Vector< Aws::String > &value)
OrganizationAggregationSource & WithAwsRegions(Aws::Vector< Aws::String > &&value)
AWS_CONFIGSERVICE_API OrganizationAggregationSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue