AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Policy.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/SecurityServicePolicyData.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/fms/model/CustomerPolicyStatus.h>
13#include <aws/fms/model/ResourceTag.h>
14#include <aws/fms/model/CustomerPolicyScopeIdType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace FMS
28{
29namespace Model
30{
31
37 class Policy
38 {
39 public:
40 AWS_FMS_API Policy();
41 AWS_FMS_API Policy(Aws::Utils::Json::JsonView jsonValue);
44
45
47
50 inline const Aws::String& GetPolicyId() const{ return m_policyId; }
51 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
52 inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; }
53 inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); }
54 inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); }
55 inline Policy& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;}
56 inline Policy& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;}
57 inline Policy& WithPolicyId(const char* value) { SetPolicyId(value); return *this;}
59
61
64 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
65 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
66 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
67 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
68 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
69 inline Policy& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
70 inline Policy& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
71 inline Policy& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
73
75
82 inline const Aws::String& GetPolicyUpdateToken() const{ return m_policyUpdateToken; }
83 inline bool PolicyUpdateTokenHasBeenSet() const { return m_policyUpdateTokenHasBeenSet; }
84 inline void SetPolicyUpdateToken(const Aws::String& value) { m_policyUpdateTokenHasBeenSet = true; m_policyUpdateToken = value; }
85 inline void SetPolicyUpdateToken(Aws::String&& value) { m_policyUpdateTokenHasBeenSet = true; m_policyUpdateToken = std::move(value); }
86 inline void SetPolicyUpdateToken(const char* value) { m_policyUpdateTokenHasBeenSet = true; m_policyUpdateToken.assign(value); }
87 inline Policy& WithPolicyUpdateToken(const Aws::String& value) { SetPolicyUpdateToken(value); return *this;}
88 inline Policy& WithPolicyUpdateToken(Aws::String&& value) { SetPolicyUpdateToken(std::move(value)); return *this;}
89 inline Policy& WithPolicyUpdateToken(const char* value) { SetPolicyUpdateToken(value); return *this;}
91
93
97 inline const SecurityServicePolicyData& GetSecurityServicePolicyData() const{ return m_securityServicePolicyData; }
98 inline bool SecurityServicePolicyDataHasBeenSet() const { return m_securityServicePolicyDataHasBeenSet; }
99 inline void SetSecurityServicePolicyData(const SecurityServicePolicyData& value) { m_securityServicePolicyDataHasBeenSet = true; m_securityServicePolicyData = value; }
100 inline void SetSecurityServicePolicyData(SecurityServicePolicyData&& value) { m_securityServicePolicyDataHasBeenSet = true; m_securityServicePolicyData = std::move(value); }
104
106
130 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
131 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
132 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
133 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
134 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
135 inline Policy& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
136 inline Policy& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
137 inline Policy& WithResourceType(const char* value) { SetResourceType(value); return *this;}
139
141
146 inline const Aws::Vector<Aws::String>& GetResourceTypeList() const{ return m_resourceTypeList; }
147 inline bool ResourceTypeListHasBeenSet() const { return m_resourceTypeListHasBeenSet; }
148 inline void SetResourceTypeList(const Aws::Vector<Aws::String>& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList = value; }
149 inline void SetResourceTypeList(Aws::Vector<Aws::String>&& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList = std::move(value); }
150 inline Policy& WithResourceTypeList(const Aws::Vector<Aws::String>& value) { SetResourceTypeList(value); return *this;}
151 inline Policy& WithResourceTypeList(Aws::Vector<Aws::String>&& value) { SetResourceTypeList(std::move(value)); return *this;}
152 inline Policy& AddResourceTypeList(const Aws::String& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; }
153 inline Policy& AddResourceTypeList(Aws::String&& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(std::move(value)); return *this; }
154 inline Policy& AddResourceTypeList(const char* value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; }
156
158
161 inline const Aws::Vector<ResourceTag>& GetResourceTags() const{ return m_resourceTags; }
162 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
163 inline void SetResourceTags(const Aws::Vector<ResourceTag>& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
164 inline void SetResourceTags(Aws::Vector<ResourceTag>&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
165 inline Policy& WithResourceTags(const Aws::Vector<ResourceTag>& value) { SetResourceTags(value); return *this;}
166 inline Policy& WithResourceTags(Aws::Vector<ResourceTag>&& value) { SetResourceTags(std::move(value)); return *this;}
167 inline Policy& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; }
168 inline Policy& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; }
170
172
178 inline bool GetExcludeResourceTags() const{ return m_excludeResourceTags; }
179 inline bool ExcludeResourceTagsHasBeenSet() const { return m_excludeResourceTagsHasBeenSet; }
180 inline void SetExcludeResourceTags(bool value) { m_excludeResourceTagsHasBeenSet = true; m_excludeResourceTags = value; }
181 inline Policy& WithExcludeResourceTags(bool value) { SetExcludeResourceTags(value); return *this;}
183
185
188 inline bool GetRemediationEnabled() const{ return m_remediationEnabled; }
189 inline bool RemediationEnabledHasBeenSet() const { return m_remediationEnabledHasBeenSet; }
190 inline void SetRemediationEnabled(bool value) { m_remediationEnabledHasBeenSet = true; m_remediationEnabled = value; }
191 inline Policy& WithRemediationEnabled(bool value) { SetRemediationEnabled(value); return *this;}
193
195
205 inline bool GetDeleteUnusedFMManagedResources() const{ return m_deleteUnusedFMManagedResources; }
206 inline bool DeleteUnusedFMManagedResourcesHasBeenSet() const { return m_deleteUnusedFMManagedResourcesHasBeenSet; }
207 inline void SetDeleteUnusedFMManagedResources(bool value) { m_deleteUnusedFMManagedResourcesHasBeenSet = true; m_deleteUnusedFMManagedResources = value; }
210
212
234 inline bool IncludeMapHasBeenSet() const { return m_includeMapHasBeenSet; }
235 inline void SetIncludeMap(const Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>& value) { m_includeMapHasBeenSet = true; m_includeMap = value; }
236 inline void SetIncludeMap(Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>&& value) { m_includeMapHasBeenSet = true; m_includeMap = std::move(value); }
239 inline Policy& AddIncludeMap(const CustomerPolicyScopeIdType& key, const Aws::Vector<Aws::String>& value) { m_includeMapHasBeenSet = true; m_includeMap.emplace(key, value); return *this; }
240 inline Policy& AddIncludeMap(CustomerPolicyScopeIdType&& key, const Aws::Vector<Aws::String>& value) { m_includeMapHasBeenSet = true; m_includeMap.emplace(std::move(key), value); return *this; }
241 inline Policy& AddIncludeMap(const CustomerPolicyScopeIdType& key, Aws::Vector<Aws::String>&& value) { m_includeMapHasBeenSet = true; m_includeMap.emplace(key, std::move(value)); return *this; }
242 inline Policy& AddIncludeMap(CustomerPolicyScopeIdType&& key, Aws::Vector<Aws::String>&& value) { m_includeMapHasBeenSet = true; m_includeMap.emplace(std::move(key), std::move(value)); return *this; }
244
246
268 inline bool ExcludeMapHasBeenSet() const { return m_excludeMapHasBeenSet; }
269 inline void SetExcludeMap(const Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>& value) { m_excludeMapHasBeenSet = true; m_excludeMap = value; }
270 inline void SetExcludeMap(Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>&& value) { m_excludeMapHasBeenSet = true; m_excludeMap = std::move(value); }
273 inline Policy& AddExcludeMap(const CustomerPolicyScopeIdType& key, const Aws::Vector<Aws::String>& value) { m_excludeMapHasBeenSet = true; m_excludeMap.emplace(key, value); return *this; }
274 inline Policy& AddExcludeMap(CustomerPolicyScopeIdType&& key, const Aws::Vector<Aws::String>& value) { m_excludeMapHasBeenSet = true; m_excludeMap.emplace(std::move(key), value); return *this; }
275 inline Policy& AddExcludeMap(const CustomerPolicyScopeIdType& key, Aws::Vector<Aws::String>&& value) { m_excludeMapHasBeenSet = true; m_excludeMap.emplace(key, std::move(value)); return *this; }
276 inline Policy& AddExcludeMap(CustomerPolicyScopeIdType&& key, Aws::Vector<Aws::String>&& value) { m_excludeMapHasBeenSet = true; m_excludeMap.emplace(std::move(key), std::move(value)); return *this; }
278
280
283 inline const Aws::Vector<Aws::String>& GetResourceSetIds() const{ return m_resourceSetIds; }
284 inline bool ResourceSetIdsHasBeenSet() const { return m_resourceSetIdsHasBeenSet; }
285 inline void SetResourceSetIds(const Aws::Vector<Aws::String>& value) { m_resourceSetIdsHasBeenSet = true; m_resourceSetIds = value; }
286 inline void SetResourceSetIds(Aws::Vector<Aws::String>&& value) { m_resourceSetIdsHasBeenSet = true; m_resourceSetIds = std::move(value); }
287 inline Policy& WithResourceSetIds(const Aws::Vector<Aws::String>& value) { SetResourceSetIds(value); return *this;}
288 inline Policy& WithResourceSetIds(Aws::Vector<Aws::String>&& value) { SetResourceSetIds(std::move(value)); return *this;}
289 inline Policy& AddResourceSetIds(const Aws::String& value) { m_resourceSetIdsHasBeenSet = true; m_resourceSetIds.push_back(value); return *this; }
290 inline Policy& AddResourceSetIds(Aws::String&& value) { m_resourceSetIdsHasBeenSet = true; m_resourceSetIds.push_back(std::move(value)); return *this; }
291 inline Policy& AddResourceSetIds(const char* value) { m_resourceSetIdsHasBeenSet = true; m_resourceSetIds.push_back(value); return *this; }
293
295
298 inline const Aws::String& GetPolicyDescription() const{ return m_policyDescription; }
299 inline bool PolicyDescriptionHasBeenSet() const { return m_policyDescriptionHasBeenSet; }
300 inline void SetPolicyDescription(const Aws::String& value) { m_policyDescriptionHasBeenSet = true; m_policyDescription = value; }
301 inline void SetPolicyDescription(Aws::String&& value) { m_policyDescriptionHasBeenSet = true; m_policyDescription = std::move(value); }
302 inline void SetPolicyDescription(const char* value) { m_policyDescriptionHasBeenSet = true; m_policyDescription.assign(value); }
303 inline Policy& WithPolicyDescription(const Aws::String& value) { SetPolicyDescription(value); return *this;}
304 inline Policy& WithPolicyDescription(Aws::String&& value) { SetPolicyDescription(std::move(value)); return *this;}
305 inline Policy& WithPolicyDescription(const char* value) { SetPolicyDescription(value); return *this;}
307
309
317 inline const CustomerPolicyStatus& GetPolicyStatus() const{ return m_policyStatus; }
318 inline bool PolicyStatusHasBeenSet() const { return m_policyStatusHasBeenSet; }
319 inline void SetPolicyStatus(const CustomerPolicyStatus& value) { m_policyStatusHasBeenSet = true; m_policyStatus = value; }
320 inline void SetPolicyStatus(CustomerPolicyStatus&& value) { m_policyStatusHasBeenSet = true; m_policyStatus = std::move(value); }
321 inline Policy& WithPolicyStatus(const CustomerPolicyStatus& value) { SetPolicyStatus(value); return *this;}
322 inline Policy& WithPolicyStatus(CustomerPolicyStatus&& value) { SetPolicyStatus(std::move(value)); return *this;}
324 private:
325
326 Aws::String m_policyId;
327 bool m_policyIdHasBeenSet = false;
328
329 Aws::String m_policyName;
330 bool m_policyNameHasBeenSet = false;
331
332 Aws::String m_policyUpdateToken;
333 bool m_policyUpdateTokenHasBeenSet = false;
334
335 SecurityServicePolicyData m_securityServicePolicyData;
336 bool m_securityServicePolicyDataHasBeenSet = false;
337
338 Aws::String m_resourceType;
339 bool m_resourceTypeHasBeenSet = false;
340
341 Aws::Vector<Aws::String> m_resourceTypeList;
342 bool m_resourceTypeListHasBeenSet = false;
343
344 Aws::Vector<ResourceTag> m_resourceTags;
345 bool m_resourceTagsHasBeenSet = false;
346
347 bool m_excludeResourceTags;
348 bool m_excludeResourceTagsHasBeenSet = false;
349
350 bool m_remediationEnabled;
351 bool m_remediationEnabledHasBeenSet = false;
352
353 bool m_deleteUnusedFMManagedResources;
354 bool m_deleteUnusedFMManagedResourcesHasBeenSet = false;
355
357 bool m_includeMapHasBeenSet = false;
358
360 bool m_excludeMapHasBeenSet = false;
361
362 Aws::Vector<Aws::String> m_resourceSetIds;
363 bool m_resourceSetIdsHasBeenSet = false;
364
365 Aws::String m_policyDescription;
366 bool m_policyDescriptionHasBeenSet = false;
367
368 CustomerPolicyStatus m_policyStatus;
369 bool m_policyStatusHasBeenSet = false;
370 };
371
372} // namespace Model
373} // namespace FMS
374} // namespace Aws
Policy & WithRemediationEnabled(bool value)
Definition Policy.h:191
void SetSecurityServicePolicyData(const SecurityServicePolicyData &value)
Definition Policy.h:99
bool ExcludeMapHasBeenSet() const
Definition Policy.h:268
bool GetDeleteUnusedFMManagedResources() const
Definition Policy.h:205
bool ResourceTypeListHasBeenSet() const
Definition Policy.h:147
void SetPolicyUpdateToken(Aws::String &&value)
Definition Policy.h:85
void SetExcludeResourceTags(bool value)
Definition Policy.h:180
Policy & WithResourceTags(const Aws::Vector< ResourceTag > &value)
Definition Policy.h:165
Policy & AddExcludeMap(CustomerPolicyScopeIdType &&key, Aws::Vector< Aws::String > &&value)
Definition Policy.h:276
const Aws::Vector< Aws::String > & GetResourceSetIds() const
Definition Policy.h:283
const Aws::String & GetResourceType() const
Definition Policy.h:130
Policy & WithPolicyDescription(Aws::String &&value)
Definition Policy.h:304
void SetPolicyId(Aws::String &&value)
Definition Policy.h:53
Policy & WithResourceType(Aws::String &&value)
Definition Policy.h:136
AWS_FMS_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExcludeResourceTagsHasBeenSet() const
Definition Policy.h:179
const Aws::String & GetPolicyDescription() const
Definition Policy.h:298
Policy & WithDeleteUnusedFMManagedResources(bool value)
Definition Policy.h:208
const Aws::Vector< Aws::String > & GetResourceTypeList() const
Definition Policy.h:146
bool ResourceTypeHasBeenSet() const
Definition Policy.h:131
Policy & AddIncludeMap(CustomerPolicyScopeIdType &&key, Aws::Vector< Aws::String > &&value)
Definition Policy.h:242
Policy & WithPolicyId(const Aws::String &value)
Definition Policy.h:55
Policy & AddResourceSetIds(const char *value)
Definition Policy.h:291
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetExcludeMap() const
Definition Policy.h:267
const Aws::String & GetPolicyName() const
Definition Policy.h:64
bool PolicyStatusHasBeenSet() const
Definition Policy.h:318
void SetIncludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Definition Policy.h:236
Policy & WithSecurityServicePolicyData(SecurityServicePolicyData &&value)
Definition Policy.h:102
Policy & AddIncludeMap(const CustomerPolicyScopeIdType &key, Aws::Vector< Aws::String > &&value)
Definition Policy.h:241
Policy & AddResourceTypeList(Aws::String &&value)
Definition Policy.h:153
Policy & WithExcludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Definition Policy.h:271
Policy & WithSecurityServicePolicyData(const SecurityServicePolicyData &value)
Definition Policy.h:101
const Aws::Vector< ResourceTag > & GetResourceTags() const
Definition Policy.h:161
Policy & WithPolicyUpdateToken(const char *value)
Definition Policy.h:89
void SetPolicyUpdateToken(const char *value)
Definition Policy.h:86
AWS_FMS_API Policy(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyDescription(const Aws::String &value)
Definition Policy.h:300
Policy & WithPolicyStatus(const CustomerPolicyStatus &value)
Definition Policy.h:321
const Aws::String & GetPolicyId() const
Definition Policy.h:50
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetIncludeMap() const
Definition Policy.h:233
Policy & AddExcludeMap(CustomerPolicyScopeIdType &&key, const Aws::Vector< Aws::String > &value)
Definition Policy.h:274
void SetExcludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Definition Policy.h:270
void SetResourceType(const char *value)
Definition Policy.h:134
void SetIncludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Definition Policy.h:235
const Aws::String & GetPolicyUpdateToken() const
Definition Policy.h:82
void SetExcludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Definition Policy.h:269
Policy & AddIncludeMap(CustomerPolicyScopeIdType &&key, const Aws::Vector< Aws::String > &value)
Definition Policy.h:240
bool SecurityServicePolicyDataHasBeenSet() const
Definition Policy.h:98
Policy & WithPolicyStatus(CustomerPolicyStatus &&value)
Definition Policy.h:322
bool DeleteUnusedFMManagedResourcesHasBeenSet() const
Definition Policy.h:206
bool GetExcludeResourceTags() const
Definition Policy.h:178
Policy & WithResourceSetIds(Aws::Vector< Aws::String > &&value)
Definition Policy.h:288
Policy & WithPolicyUpdateToken(const Aws::String &value)
Definition Policy.h:87
void SetResourceType(const Aws::String &value)
Definition Policy.h:132
Policy & AddResourceTypeList(const Aws::String &value)
Definition Policy.h:152
Policy & WithResourceTypeList(Aws::Vector< Aws::String > &&value)
Definition Policy.h:151
void SetResourceSetIds(Aws::Vector< Aws::String > &&value)
Definition Policy.h:286
void SetPolicyName(const Aws::String &value)
Definition Policy.h:66
void SetRemediationEnabled(bool value)
Definition Policy.h:190
void SetPolicyName(Aws::String &&value)
Definition Policy.h:67
Policy & WithExcludeResourceTags(bool value)
Definition Policy.h:181
Policy & AddResourceTypeList(const char *value)
Definition Policy.h:154
Policy & WithResourceType(const char *value)
Definition Policy.h:137
bool GetRemediationEnabled() const
Definition Policy.h:188
Policy & AddExcludeMap(const CustomerPolicyScopeIdType &key, Aws::Vector< Aws::String > &&value)
Definition Policy.h:275
void SetResourceSetIds(const Aws::Vector< Aws::String > &value)
Definition Policy.h:285
const SecurityServicePolicyData & GetSecurityServicePolicyData() const
Definition Policy.h:97
Policy & AddIncludeMap(const CustomerPolicyScopeIdType &key, const Aws::Vector< Aws::String > &value)
Definition Policy.h:239
bool ResourceTagsHasBeenSet() const
Definition Policy.h:162
Policy & AddResourceTags(const ResourceTag &value)
Definition Policy.h:167
void SetDeleteUnusedFMManagedResources(bool value)
Definition Policy.h:207
void SetPolicyStatus(const CustomerPolicyStatus &value)
Definition Policy.h:319
bool PolicyIdHasBeenSet() const
Definition Policy.h:51
Policy & AddResourceSetIds(const Aws::String &value)
Definition Policy.h:289
void SetResourceTypeList(const Aws::Vector< Aws::String > &value)
Definition Policy.h:148
Policy & WithPolicyDescription(const char *value)
Definition Policy.h:305
bool ResourceSetIdsHasBeenSet() const
Definition Policy.h:284
bool PolicyUpdateTokenHasBeenSet() const
Definition Policy.h:83
Policy & WithResourceSetIds(const Aws::Vector< Aws::String > &value)
Definition Policy.h:287
void SetResourceTags(const Aws::Vector< ResourceTag > &value)
Definition Policy.h:163
bool PolicyNameHasBeenSet() const
Definition Policy.h:65
void SetResourceTags(Aws::Vector< ResourceTag > &&value)
Definition Policy.h:164
void SetPolicyUpdateToken(const Aws::String &value)
Definition Policy.h:84
void SetPolicyDescription(Aws::String &&value)
Definition Policy.h:301
Policy & WithExcludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Definition Policy.h:272
Policy & WithPolicyId(Aws::String &&value)
Definition Policy.h:56
Policy & WithResourceTags(Aws::Vector< ResourceTag > &&value)
Definition Policy.h:166
void SetPolicyId(const char *value)
Definition Policy.h:54
bool PolicyDescriptionHasBeenSet() const
Definition Policy.h:299
Policy & WithPolicyDescription(const Aws::String &value)
Definition Policy.h:303
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyName(const char *value)
Definition Policy.h:68
void SetResourceType(Aws::String &&value)
Definition Policy.h:133
void SetPolicyId(const Aws::String &value)
Definition Policy.h:52
Policy & AddExcludeMap(const CustomerPolicyScopeIdType &key, const Aws::Vector< Aws::String > &value)
Definition Policy.h:273
Policy & WithPolicyName(const Aws::String &value)
Definition Policy.h:69
bool IncludeMapHasBeenSet() const
Definition Policy.h:234
Policy & WithIncludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Definition Policy.h:237
Policy & WithPolicyName(const char *value)
Definition Policy.h:71
Policy & WithPolicyName(Aws::String &&value)
Definition Policy.h:70
void SetPolicyDescription(const char *value)
Definition Policy.h:302
const CustomerPolicyStatus & GetPolicyStatus() const
Definition Policy.h:317
Policy & WithResourceType(const Aws::String &value)
Definition Policy.h:135
bool RemediationEnabledHasBeenSet() const
Definition Policy.h:189
Policy & WithPolicyId(const char *value)
Definition Policy.h:57
Policy & WithResourceTypeList(const Aws::Vector< Aws::String > &value)
Definition Policy.h:150
Policy & WithIncludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Definition Policy.h:238
void SetSecurityServicePolicyData(SecurityServicePolicyData &&value)
Definition Policy.h:100
Policy & AddResourceTags(ResourceTag &&value)
Definition Policy.h:168
Policy & WithPolicyUpdateToken(Aws::String &&value)
Definition Policy.h:88
void SetPolicyStatus(CustomerPolicyStatus &&value)
Definition Policy.h:320
void SetResourceTypeList(Aws::Vector< Aws::String > &&value)
Definition Policy.h:149
Policy & AddResourceSetIds(Aws::String &&value)
Definition Policy.h:290
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue