AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationAggregator.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 <aws/config/model/OrganizationAggregationSource.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/config/model/AggregatorFilters.h>
13#include <aws/config/model/AccountAggregationSource.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ConfigService
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_CONFIGSERVICE_API ConfigurationAggregator() = default;
42 AWS_CONFIGSERVICE_API ConfigurationAggregator(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetConfigurationAggregatorName() const { return m_configurationAggregatorName; }
52 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
53 template<typename ConfigurationAggregatorNameT = Aws::String>
54 void SetConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::forward<ConfigurationAggregatorNameT>(value); }
55 template<typename ConfigurationAggregatorNameT = Aws::String>
56 ConfigurationAggregator& WithConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { SetConfigurationAggregatorName(std::forward<ConfigurationAggregatorNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetConfigurationAggregatorArn() const { return m_configurationAggregatorArn; }
64 inline bool ConfigurationAggregatorArnHasBeenSet() const { return m_configurationAggregatorArnHasBeenSet; }
65 template<typename ConfigurationAggregatorArnT = Aws::String>
66 void SetConfigurationAggregatorArn(ConfigurationAggregatorArnT&& value) { m_configurationAggregatorArnHasBeenSet = true; m_configurationAggregatorArn = std::forward<ConfigurationAggregatorArnT>(value); }
67 template<typename ConfigurationAggregatorArnT = Aws::String>
68 ConfigurationAggregator& WithConfigurationAggregatorArn(ConfigurationAggregatorArnT&& value) { SetConfigurationAggregatorArn(std::forward<ConfigurationAggregatorArnT>(value)); return *this;}
70
72
75 inline const Aws::Vector<AccountAggregationSource>& GetAccountAggregationSources() const { return m_accountAggregationSources; }
76 inline bool AccountAggregationSourcesHasBeenSet() const { return m_accountAggregationSourcesHasBeenSet; }
77 template<typename AccountAggregationSourcesT = Aws::Vector<AccountAggregationSource>>
78 void SetAccountAggregationSources(AccountAggregationSourcesT&& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources = std::forward<AccountAggregationSourcesT>(value); }
79 template<typename AccountAggregationSourcesT = Aws::Vector<AccountAggregationSource>>
80 ConfigurationAggregator& WithAccountAggregationSources(AccountAggregationSourcesT&& value) { SetAccountAggregationSources(std::forward<AccountAggregationSourcesT>(value)); return *this;}
81 template<typename AccountAggregationSourcesT = AccountAggregationSource>
82 ConfigurationAggregator& AddAccountAggregationSources(AccountAggregationSourcesT&& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources.emplace_back(std::forward<AccountAggregationSourcesT>(value)); return *this; }
84
86
89 inline const OrganizationAggregationSource& GetOrganizationAggregationSource() const { return m_organizationAggregationSource; }
90 inline bool OrganizationAggregationSourceHasBeenSet() const { return m_organizationAggregationSourceHasBeenSet; }
91 template<typename OrganizationAggregationSourceT = OrganizationAggregationSource>
92 void SetOrganizationAggregationSource(OrganizationAggregationSourceT&& value) { m_organizationAggregationSourceHasBeenSet = true; m_organizationAggregationSource = std::forward<OrganizationAggregationSourceT>(value); }
93 template<typename OrganizationAggregationSourceT = OrganizationAggregationSource>
94 ConfigurationAggregator& WithOrganizationAggregationSource(OrganizationAggregationSourceT&& value) { SetOrganizationAggregationSource(std::forward<OrganizationAggregationSourceT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
105 template<typename CreationTimeT = Aws::Utils::DateTime>
106 ConfigurationAggregator& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
114 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
115 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
116 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
117 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
118 ConfigurationAggregator& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
120
122
125 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
126 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
127 template<typename CreatedByT = Aws::String>
128 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
129 template<typename CreatedByT = Aws::String>
130 ConfigurationAggregator& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
132
134
137 inline const AggregatorFilters& GetAggregatorFilters() const { return m_aggregatorFilters; }
138 inline bool AggregatorFiltersHasBeenSet() const { return m_aggregatorFiltersHasBeenSet; }
139 template<typename AggregatorFiltersT = AggregatorFilters>
140 void SetAggregatorFilters(AggregatorFiltersT&& value) { m_aggregatorFiltersHasBeenSet = true; m_aggregatorFilters = std::forward<AggregatorFiltersT>(value); }
141 template<typename AggregatorFiltersT = AggregatorFilters>
142 ConfigurationAggregator& WithAggregatorFilters(AggregatorFiltersT&& value) { SetAggregatorFilters(std::forward<AggregatorFiltersT>(value)); return *this;}
144 private:
145
146 Aws::String m_configurationAggregatorName;
147 bool m_configurationAggregatorNameHasBeenSet = false;
148
149 Aws::String m_configurationAggregatorArn;
150 bool m_configurationAggregatorArnHasBeenSet = false;
151
152 Aws::Vector<AccountAggregationSource> m_accountAggregationSources;
153 bool m_accountAggregationSourcesHasBeenSet = false;
154
155 OrganizationAggregationSource m_organizationAggregationSource;
156 bool m_organizationAggregationSourceHasBeenSet = false;
157
158 Aws::Utils::DateTime m_creationTime{};
159 bool m_creationTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastUpdatedTime{};
162 bool m_lastUpdatedTimeHasBeenSet = false;
163
164 Aws::String m_createdBy;
165 bool m_createdByHasBeenSet = false;
166
167 AggregatorFilters m_aggregatorFilters;
168 bool m_aggregatorFiltersHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace ConfigService
173} // namespace Aws
ConfigurationAggregator & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< AccountAggregationSource > & GetAccountAggregationSources() const
AWS_CONFIGSERVICE_API ConfigurationAggregator(Aws::Utils::Json::JsonView jsonValue)
ConfigurationAggregator & WithAccountAggregationSources(AccountAggregationSourcesT &&value)
ConfigurationAggregator & WithConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
AWS_CONFIGSERVICE_API ConfigurationAggregator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationAggregationSource(OrganizationAggregationSourceT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ConfigurationAggregator & WithConfigurationAggregatorArn(ConfigurationAggregatorArnT &&value)
void SetConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
ConfigurationAggregator & WithCreationTime(CreationTimeT &&value)
ConfigurationAggregator & AddAccountAggregationSources(AccountAggregationSourcesT &&value)
const OrganizationAggregationSource & GetOrganizationAggregationSource() const
ConfigurationAggregator & WithOrganizationAggregationSource(OrganizationAggregationSourceT &&value)
ConfigurationAggregator & WithAggregatorFilters(AggregatorFiltersT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountAggregationSources(AccountAggregationSourcesT &&value)
ConfigurationAggregator & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetConfigurationAggregatorArn(ConfigurationAggregatorArnT &&value)
AWS_CONFIGSERVICE_API ConfigurationAggregator()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue