AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AccountAggregationSource.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ConfigService
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_CONFIGSERVICE_API ConfigurationAggregator();
41 AWS_CONFIGSERVICE_API ConfigurationAggregator(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetConfigurationAggregatorName() const{ return m_configurationAggregatorName; }
51 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
52 inline void SetConfigurationAggregatorName(const Aws::String& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = value; }
53 inline void SetConfigurationAggregatorName(Aws::String&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::move(value); }
54 inline void SetConfigurationAggregatorName(const char* value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName.assign(value); }
59
61
64 inline const Aws::String& GetConfigurationAggregatorArn() const{ return m_configurationAggregatorArn; }
65 inline bool ConfigurationAggregatorArnHasBeenSet() const { return m_configurationAggregatorArnHasBeenSet; }
66 inline void SetConfigurationAggregatorArn(const Aws::String& value) { m_configurationAggregatorArnHasBeenSet = true; m_configurationAggregatorArn = value; }
67 inline void SetConfigurationAggregatorArn(Aws::String&& value) { m_configurationAggregatorArnHasBeenSet = true; m_configurationAggregatorArn = std::move(value); }
68 inline void SetConfigurationAggregatorArn(const char* value) { m_configurationAggregatorArnHasBeenSet = true; m_configurationAggregatorArn.assign(value); }
73
75
78 inline const Aws::Vector<AccountAggregationSource>& GetAccountAggregationSources() const{ return m_accountAggregationSources; }
79 inline bool AccountAggregationSourcesHasBeenSet() const { return m_accountAggregationSourcesHasBeenSet; }
80 inline void SetAccountAggregationSources(const Aws::Vector<AccountAggregationSource>& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources = value; }
81 inline void SetAccountAggregationSources(Aws::Vector<AccountAggregationSource>&& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources = std::move(value); }
84 inline ConfigurationAggregator& AddAccountAggregationSources(const AccountAggregationSource& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources.push_back(value); return *this; }
85 inline ConfigurationAggregator& AddAccountAggregationSources(AccountAggregationSource&& value) { m_accountAggregationSourcesHasBeenSet = true; m_accountAggregationSources.push_back(std::move(value)); return *this; }
87
89
92 inline const OrganizationAggregationSource& GetOrganizationAggregationSource() const{ return m_organizationAggregationSource; }
93 inline bool OrganizationAggregationSourceHasBeenSet() const { return m_organizationAggregationSourceHasBeenSet; }
94 inline void SetOrganizationAggregationSource(const OrganizationAggregationSource& value) { m_organizationAggregationSourceHasBeenSet = true; m_organizationAggregationSource = value; }
95 inline void SetOrganizationAggregationSource(OrganizationAggregationSource&& value) { m_organizationAggregationSourceHasBeenSet = true; m_organizationAggregationSource = std::move(value); }
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline ConfigurationAggregator& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
117 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
118 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
119 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
121 inline ConfigurationAggregator& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
129 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
130 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
131 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
132 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
133 inline ConfigurationAggregator& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
134 inline ConfigurationAggregator& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
135 inline ConfigurationAggregator& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
137 private:
138
139 Aws::String m_configurationAggregatorName;
140 bool m_configurationAggregatorNameHasBeenSet = false;
141
142 Aws::String m_configurationAggregatorArn;
143 bool m_configurationAggregatorArnHasBeenSet = false;
144
145 Aws::Vector<AccountAggregationSource> m_accountAggregationSources;
146 bool m_accountAggregationSourcesHasBeenSet = false;
147
148 OrganizationAggregationSource m_organizationAggregationSource;
149 bool m_organizationAggregationSourceHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime;
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdatedTime;
155 bool m_lastUpdatedTimeHasBeenSet = false;
156
157 Aws::String m_createdBy;
158 bool m_createdByHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ConfigService
163} // namespace Aws
void SetAccountAggregationSources(Aws::Vector< AccountAggregationSource > &&value)
ConfigurationAggregator & AddAccountAggregationSources(const AccountAggregationSource &value)
ConfigurationAggregator & WithCreationTime(Aws::Utils::DateTime &&value)
ConfigurationAggregator & WithConfigurationAggregatorName(const Aws::String &value)
ConfigurationAggregator & WithOrganizationAggregationSource(OrganizationAggregationSource &&value)
ConfigurationAggregator & WithCreatedBy(Aws::String &&value)
const Aws::Vector< AccountAggregationSource > & GetAccountAggregationSources() const
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ConfigurationAggregator & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ConfigurationAggregator(Aws::Utils::Json::JsonView jsonValue)
ConfigurationAggregator & WithAccountAggregationSources(const Aws::Vector< AccountAggregationSource > &value)
ConfigurationAggregator & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ConfigurationAggregator & WithConfigurationAggregatorName(const char *value)
AWS_CONFIGSERVICE_API ConfigurationAggregator & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationAggregator & WithConfigurationAggregatorArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetOrganizationAggregationSource(OrganizationAggregationSource &&value)
ConfigurationAggregator & WithOrganizationAggregationSource(const OrganizationAggregationSource &value)
ConfigurationAggregator & WithConfigurationAggregatorArn(const char *value)
ConfigurationAggregator & WithConfigurationAggregatorArn(Aws::String &&value)
ConfigurationAggregator & WithCreationTime(const Aws::Utils::DateTime &value)
ConfigurationAggregator & WithConfigurationAggregatorName(Aws::String &&value)
const OrganizationAggregationSource & GetOrganizationAggregationSource() const
ConfigurationAggregator & WithAccountAggregationSources(Aws::Vector< AccountAggregationSource > &&value)
void SetAccountAggregationSources(const Aws::Vector< AccountAggregationSource > &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationAggregator & WithCreatedBy(const Aws::String &value)
ConfigurationAggregator & WithCreatedBy(const char *value)
void SetOrganizationAggregationSource(const OrganizationAggregationSource &value)
ConfigurationAggregator & AddAccountAggregationSources(AccountAggregationSource &&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