AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
AggregationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
30 public:
31 AWS_WELLARCHITECTED_API AggregationConfiguration() = default;
32 AWS_WELLARCHITECTED_API AggregationConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
59 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
60 template <typename RegionsT = Aws::Vector<Aws::String>>
61 void SetRegions(RegionsT&& value) {
62 m_regionsHasBeenSet = true;
63 m_regions = std::forward<RegionsT>(value);
64 }
65 template <typename RegionsT = Aws::Vector<Aws::String>>
67 SetRegions(std::forward<RegionsT>(value));
68 return *this;
69 }
70 template <typename RegionsT = Aws::String>
72 m_regionsHasBeenSet = true;
73 m_regions.emplace_back(std::forward<RegionsT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
83 inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; }
84 template <typename AccessRoleArnT = Aws::String>
85 void SetAccessRoleArn(AccessRoleArnT&& value) {
86 m_accessRoleArnHasBeenSet = true;
87 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
88 }
89 template <typename AccessRoleArnT = Aws::String>
91 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_accountId;
97
99
100 Aws::String m_accessRoleArn;
101 bool m_accountIdHasBeenSet = false;
102 bool m_regionsHasBeenSet = false;
103 bool m_accessRoleArnHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace WellArchitected
108} // namespace Aws
AWS_WELLARCHITECTED_API AggregationConfiguration()=default
AggregationConfiguration & AddRegions(RegionsT &&value)
AWS_WELLARCHITECTED_API AggregationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AggregationConfiguration & WithRegions(RegionsT &&value)
AWS_WELLARCHITECTED_API AggregationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetRegions() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationConfiguration & WithAccessRoleArn(AccessRoleArnT &&value)
AggregationConfiguration & WithAccountId(AccountIdT &&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