AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountAggregationSource.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_CONFIGSERVICE_API AccountAggregationSource();
36 AWS_CONFIGSERVICE_API AccountAggregationSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
46 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
47 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
48 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
50 inline AccountAggregationSource& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
51 inline AccountAggregationSource& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
52 inline AccountAggregationSource& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
53 inline AccountAggregationSource& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
55
57
60 inline bool GetAllAwsRegions() const{ return m_allAwsRegions; }
61 inline bool AllAwsRegionsHasBeenSet() const { return m_allAwsRegionsHasBeenSet; }
62 inline void SetAllAwsRegions(bool value) { m_allAwsRegionsHasBeenSet = true; m_allAwsRegions = value; }
63 inline AccountAggregationSource& WithAllAwsRegions(bool value) { SetAllAwsRegions(value); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetAwsRegions() const{ return m_awsRegions; }
71 inline bool AwsRegionsHasBeenSet() const { return m_awsRegionsHasBeenSet; }
72 inline void SetAwsRegions(const Aws::Vector<Aws::String>& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = value; }
73 inline void SetAwsRegions(Aws::Vector<Aws::String>&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions = std::move(value); }
75 inline AccountAggregationSource& WithAwsRegions(Aws::Vector<Aws::String>&& value) { SetAwsRegions(std::move(value)); return *this;}
76 inline AccountAggregationSource& AddAwsRegions(const Aws::String& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
77 inline AccountAggregationSource& AddAwsRegions(Aws::String&& value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(std::move(value)); return *this; }
78 inline AccountAggregationSource& AddAwsRegions(const char* value) { m_awsRegionsHasBeenSet = true; m_awsRegions.push_back(value); return *this; }
80 private:
81
82 Aws::Vector<Aws::String> m_accountIds;
83 bool m_accountIdsHasBeenSet = false;
84
85 bool m_allAwsRegions;
86 bool m_allAwsRegionsHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_awsRegions;
89 bool m_awsRegionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ConfigService
94} // namespace Aws
AccountAggregationSource & WithAccountIds(const Aws::Vector< Aws::String > &value)
AWS_CONFIGSERVICE_API AccountAggregationSource(Aws::Utils::Json::JsonView jsonValue)
AccountAggregationSource & WithAwsRegions(Aws::Vector< Aws::String > &&value)
AccountAggregationSource & WithAwsRegions(const Aws::Vector< Aws::String > &value)
AccountAggregationSource & WithAllAwsRegions(bool value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAggregationSource & AddAwsRegions(const Aws::String &value)
AccountAggregationSource & AddAwsRegions(const char *value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
AccountAggregationSource & AddAwsRegions(Aws::String &&value)
void SetAccountIds(Aws::Vector< Aws::String > &&value)
AWS_CONFIGSERVICE_API AccountAggregationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountAggregationSource & AddAccountIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetAwsRegions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAwsRegions() const
AccountAggregationSource & AddAccountIds(const char *value)
AccountAggregationSource & AddAccountIds(const Aws::String &value)
void SetAwsRegions(const Aws::Vector< Aws::String > &value)
AccountAggregationSource & WithAccountIds(Aws::Vector< Aws::String > &&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