AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
OrganizationConformancePack.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConformancePackInputParameter.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService {
23namespace Model {
24
32 public:
33 AWS_CONFIGSERVICE_API OrganizationConformancePack() = default;
36 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetOrganizationConformancePackName() const { return m_organizationConformancePackName; }
43 inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; }
44 template <typename OrganizationConformancePackNameT = Aws::String>
45 void SetOrganizationConformancePackName(OrganizationConformancePackNameT&& value) {
46 m_organizationConformancePackNameHasBeenSet = true;
47 m_organizationConformancePackName = std::forward<OrganizationConformancePackNameT>(value);
48 }
49 template <typename OrganizationConformancePackNameT = Aws::String>
50 OrganizationConformancePack& WithOrganizationConformancePackName(OrganizationConformancePackNameT&& value) {
51 SetOrganizationConformancePackName(std::forward<OrganizationConformancePackNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetOrganizationConformancePackArn() const { return m_organizationConformancePackArn; }
61 inline bool OrganizationConformancePackArnHasBeenSet() const { return m_organizationConformancePackArnHasBeenSet; }
62 template <typename OrganizationConformancePackArnT = Aws::String>
63 void SetOrganizationConformancePackArn(OrganizationConformancePackArnT&& value) {
64 m_organizationConformancePackArnHasBeenSet = true;
65 m_organizationConformancePackArn = std::forward<OrganizationConformancePackArnT>(value);
66 }
67 template <typename OrganizationConformancePackArnT = Aws::String>
68 OrganizationConformancePack& WithOrganizationConformancePackArn(OrganizationConformancePackArnT&& value) {
69 SetOrganizationConformancePackArn(std::forward<OrganizationConformancePackArnT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetDeliveryS3Bucket() const { return m_deliveryS3Bucket; }
80 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
81 template <typename DeliveryS3BucketT = Aws::String>
82 void SetDeliveryS3Bucket(DeliveryS3BucketT&& value) {
83 m_deliveryS3BucketHasBeenSet = true;
84 m_deliveryS3Bucket = std::forward<DeliveryS3BucketT>(value);
85 }
86 template <typename DeliveryS3BucketT = Aws::String>
88 SetDeliveryS3Bucket(std::forward<DeliveryS3BucketT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetDeliveryS3KeyPrefix() const { return m_deliveryS3KeyPrefix; }
99 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
100 template <typename DeliveryS3KeyPrefixT = Aws::String>
101 void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) {
102 m_deliveryS3KeyPrefixHasBeenSet = true;
103 m_deliveryS3KeyPrefix = std::forward<DeliveryS3KeyPrefixT>(value);
104 }
105 template <typename DeliveryS3KeyPrefixT = Aws::String>
107 SetDeliveryS3KeyPrefix(std::forward<DeliveryS3KeyPrefixT>(value));
108 return *this;
109 }
111
113
117 return m_conformancePackInputParameters;
118 }
119 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
120 template <typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
121 void SetConformancePackInputParameters(ConformancePackInputParametersT&& value) {
122 m_conformancePackInputParametersHasBeenSet = true;
123 m_conformancePackInputParameters = std::forward<ConformancePackInputParametersT>(value);
124 }
125 template <typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
126 OrganizationConformancePack& WithConformancePackInputParameters(ConformancePackInputParametersT&& value) {
127 SetConformancePackInputParameters(std::forward<ConformancePackInputParametersT>(value));
128 return *this;
129 }
130 template <typename ConformancePackInputParametersT = ConformancePackInputParameter>
131 OrganizationConformancePack& AddConformancePackInputParameters(ConformancePackInputParametersT&& value) {
132 m_conformancePackInputParametersHasBeenSet = true;
133 m_conformancePackInputParameters.emplace_back(std::forward<ConformancePackInputParametersT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Vector<Aws::String>& GetExcludedAccounts() const { return m_excludedAccounts; }
144 inline bool ExcludedAccountsHasBeenSet() const { return m_excludedAccountsHasBeenSet; }
145 template <typename ExcludedAccountsT = Aws::Vector<Aws::String>>
146 void SetExcludedAccounts(ExcludedAccountsT&& value) {
147 m_excludedAccountsHasBeenSet = true;
148 m_excludedAccounts = std::forward<ExcludedAccountsT>(value);
149 }
150 template <typename ExcludedAccountsT = Aws::Vector<Aws::String>>
152 SetExcludedAccounts(std::forward<ExcludedAccountsT>(value));
153 return *this;
154 }
155 template <typename ExcludedAccountsT = Aws::String>
157 m_excludedAccountsHasBeenSet = true;
158 m_excludedAccounts.emplace_back(std::forward<ExcludedAccountsT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
168 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
169 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
170 void SetLastUpdateTime(LastUpdateTimeT&& value) {
171 m_lastUpdateTimeHasBeenSet = true;
172 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
173 }
174 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
176 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_organizationConformancePackName;
182
183 Aws::String m_organizationConformancePackArn;
184
185 Aws::String m_deliveryS3Bucket;
186
187 Aws::String m_deliveryS3KeyPrefix;
188
189 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
190
191 Aws::Vector<Aws::String> m_excludedAccounts;
192
193 Aws::Utils::DateTime m_lastUpdateTime{};
194 bool m_organizationConformancePackNameHasBeenSet = false;
195 bool m_organizationConformancePackArnHasBeenSet = false;
196 bool m_deliveryS3BucketHasBeenSet = false;
197 bool m_deliveryS3KeyPrefixHasBeenSet = false;
198 bool m_conformancePackInputParametersHasBeenSet = false;
199 bool m_excludedAccountsHasBeenSet = false;
200 bool m_lastUpdateTimeHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace ConfigService
205} // namespace Aws
OrganizationConformancePack & AddConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithExcludedAccounts(ExcludedAccountsT &&value)
OrganizationConformancePack & WithOrganizationConformancePackArn(OrganizationConformancePackArnT &&value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
void SetOrganizationConformancePackArn(OrganizationConformancePackArnT &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePack & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API OrganizationConformancePack()=default
void SetConformancePackInputParameters(ConformancePackInputParametersT &&value)
OrganizationConformancePack & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Vector< Aws::String > & GetExcludedAccounts() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationConformancePack & AddExcludedAccounts(ExcludedAccountsT &&value)
OrganizationConformancePack & WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT &&value)
OrganizationConformancePack & WithOrganizationConformancePackName(OrganizationConformancePackNameT &&value)
OrganizationConformancePack & WithDeliveryS3Bucket(DeliveryS3BucketT &&value)
void SetOrganizationConformancePackName(OrganizationConformancePackNameT &&value)
AWS_CONFIGSERVICE_API OrganizationConformancePack(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