7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fms/FMS_EXPORTS.h>
11#include <aws/fms/model/CustomerPolicyScopeIdType.h>
12#include <aws/fms/model/CustomerPolicyStatus.h>
13#include <aws/fms/model/ResourceTag.h>
14#include <aws/fms/model/ResourceTagLogicalOperator.h>
15#include <aws/fms/model/SecurityServicePolicyData.h>
47 template <
typename PolicyIdT = Aws::String>
49 m_policyIdHasBeenSet =
true;
50 m_policyId = std::forward<PolicyIdT>(value);
52 template <
typename PolicyIdT = Aws::String>
65 template <
typename PolicyNameT = Aws::String>
67 m_policyNameHasBeenSet =
true;
68 m_policyName = std::forward<PolicyNameT>(value);
70 template <
typename PolicyNameT = Aws::String>
87 template <
typename PolicyUpdateTokenT = Aws::String>
89 m_policyUpdateTokenHasBeenSet =
true;
90 m_policyUpdateToken = std::forward<PolicyUpdateTokenT>(value);
92 template <
typename PolicyUpdateTokenT = Aws::String>
106 template <
typename SecurityServicePolicyDataT = SecurityServicePolicyData>
108 m_securityServicePolicyDataHasBeenSet =
true;
109 m_securityServicePolicyData = std::forward<SecurityServicePolicyDataT>(value);
111 template <
typename SecurityServicePolicyDataT = SecurityServicePolicyData>
145 template <
typename ResourceTypeT = Aws::String>
147 m_resourceTypeHasBeenSet =
true;
148 m_resourceType = std::forward<ResourceTypeT>(value);
150 template <
typename ResourceTypeT = Aws::String>
165 template <
typename ResourceTypeListT = Aws::Vector<Aws::String>>
167 m_resourceTypeListHasBeenSet =
true;
168 m_resourceTypeList = std::forward<ResourceTypeListT>(value);
170 template <
typename ResourceTypeListT = Aws::Vector<Aws::String>>
175 template <
typename ResourceTypeListT = Aws::String>
177 m_resourceTypeListHasBeenSet =
true;
178 m_resourceTypeList.emplace_back(std::forward<ResourceTypeListT>(value));
189 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
191 m_resourceTagsHasBeenSet =
true;
192 m_resourceTags = std::forward<ResourceTagsT>(value);
194 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
199 template <
typename ResourceTagsT = ResourceTag>
201 m_resourceTagsHasBeenSet =
true;
202 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
217 m_excludeResourceTagsHasBeenSet =
true;
218 m_excludeResourceTags = value;
233 m_remediationEnabledHasBeenSet =
true;
234 m_remediationEnabled = value;
256 m_deleteUnusedFMManagedResourcesHasBeenSet =
true;
257 m_deleteUnusedFMManagedResources = value;
289 template <
typename IncludeMapT = Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>>
291 m_includeMapHasBeenSet =
true;
292 m_includeMap = std::forward<IncludeMapT>(value);
294 template <
typename IncludeMapT = Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>>
300 m_includeMapHasBeenSet =
true;
301 m_includeMap.emplace(key, value);
330 template <
typename ExcludeMapT = Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>>
332 m_excludeMapHasBeenSet =
true;
333 m_excludeMap = std::forward<ExcludeMapT>(value);
335 template <
typename ExcludeMapT = Aws::Map<CustomerPolicyScopeIdType, Aws::Vector<Aws::String>>>
341 m_excludeMapHasBeenSet =
true;
342 m_excludeMap.emplace(key, value);
353 template <
typename ResourceSetIdsT = Aws::Vector<Aws::String>>
355 m_resourceSetIdsHasBeenSet =
true;
356 m_resourceSetIds = std::forward<ResourceSetIdsT>(value);
358 template <
typename ResourceSetIdsT = Aws::Vector<Aws::String>>
363 template <
typename ResourceSetIdsT = Aws::String>
365 m_resourceSetIdsHasBeenSet =
true;
366 m_resourceSetIds.emplace_back(std::forward<ResourceSetIdsT>(value));
377 template <
typename PolicyDescriptionT = Aws::String>
379 m_policyDescriptionHasBeenSet =
true;
380 m_policyDescription = std::forward<PolicyDescriptionT>(value);
382 template <
typename PolicyDescriptionT = Aws::String>
401 m_policyStatusHasBeenSet =
true;
402 m_policyStatus = value;
419 m_resourceTagLogicalOperatorHasBeenSet =
true;
420 m_resourceTagLogicalOperator = value;
442 bool m_excludeResourceTags{
false};
444 bool m_remediationEnabled{
false};
446 bool m_deleteUnusedFMManagedResources{
false};
459 bool m_policyIdHasBeenSet =
false;
460 bool m_policyNameHasBeenSet =
false;
461 bool m_policyUpdateTokenHasBeenSet =
false;
462 bool m_securityServicePolicyDataHasBeenSet =
false;
463 bool m_resourceTypeHasBeenSet =
false;
464 bool m_resourceTypeListHasBeenSet =
false;
465 bool m_resourceTagsHasBeenSet =
false;
466 bool m_excludeResourceTagsHasBeenSet =
false;
467 bool m_remediationEnabledHasBeenSet =
false;
468 bool m_deleteUnusedFMManagedResourcesHasBeenSet =
false;
469 bool m_includeMapHasBeenSet =
false;
470 bool m_excludeMapHasBeenSet =
false;
471 bool m_resourceSetIdsHasBeenSet =
false;
472 bool m_policyDescriptionHasBeenSet =
false;
473 bool m_policyStatusHasBeenSet =
false;
474 bool m_resourceTagLogicalOperatorHasBeenSet =
false;
Policy & WithRemediationEnabled(bool value)
bool ExcludeMapHasBeenSet() const
bool GetDeleteUnusedFMManagedResources() const
bool ResourceTypeListHasBeenSet() const
void SetExcludeResourceTags(bool value)
const Aws::Vector< Aws::String > & GetResourceSetIds() const
const Aws::String & GetResourceType() const
AWS_FMS_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExcludeResourceTagsHasBeenSet() const
bool ResourceTagLogicalOperatorHasBeenSet() const
const Aws::String & GetPolicyDescription() const
Policy & WithDeleteUnusedFMManagedResources(bool value)
Policy & AddIncludeMap(CustomerPolicyScopeIdType key, Aws::Vector< Aws::String > value)
const Aws::Vector< Aws::String > & GetResourceTypeList() const
Policy & WithPolicyName(PolicyNameT &&value)
bool ResourceTypeHasBeenSet() const
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetExcludeMap() const
const Aws::String & GetPolicyName() const
Policy & WithResourceTypeList(ResourceTypeListT &&value)
bool PolicyStatusHasBeenSet() const
Policy & WithResourceTagLogicalOperator(ResourceTagLogicalOperator value)
void SetPolicyStatus(CustomerPolicyStatus value)
void SetIncludeMap(IncludeMapT &&value)
void SetExcludeMap(ExcludeMapT &&value)
void SetPolicyUpdateToken(PolicyUpdateTokenT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetResourceTags(ResourceTagsT &&value)
Policy & WithResourceType(ResourceTypeT &&value)
AWS_FMS_API Policy(Aws::Utils::Json::JsonView jsonValue)
Policy & WithPolicyId(PolicyIdT &&value)
void SetPolicyName(PolicyNameT &&value)
Policy & WithSecurityServicePolicyData(SecurityServicePolicyDataT &&value)
Policy & WithExcludeMap(ExcludeMapT &&value)
const Aws::String & GetPolicyId() const
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetIncludeMap() const
void SetSecurityServicePolicyData(SecurityServicePolicyDataT &&value)
void SetResourceTagLogicalOperator(ResourceTagLogicalOperator value)
Policy & WithResourceSetIds(ResourceSetIdsT &&value)
const Aws::String & GetPolicyUpdateToken() const
bool SecurityServicePolicyDataHasBeenSet() const
bool DeleteUnusedFMManagedResourcesHasBeenSet() const
bool GetExcludeResourceTags() const
CustomerPolicyStatus GetPolicyStatus() const
void SetPolicyDescription(PolicyDescriptionT &&value)
void SetRemediationEnabled(bool value)
Policy & WithIncludeMap(IncludeMapT &&value)
Policy & WithExcludeResourceTags(bool value)
AWS_FMS_API Policy()=default
Policy & AddExcludeMap(CustomerPolicyScopeIdType key, Aws::Vector< Aws::String > value)
bool GetRemediationEnabled() const
const SecurityServicePolicyData & GetSecurityServicePolicyData() const
Policy & AddResourceSetIds(ResourceSetIdsT &&value)
bool ResourceTagsHasBeenSet() const
Policy & AddResourceTypeList(ResourceTypeListT &&value)
void SetDeleteUnusedFMManagedResources(bool value)
Policy & AddResourceTags(ResourceTagsT &&value)
Policy & WithPolicyDescription(PolicyDescriptionT &&value)
Policy & WithResourceTags(ResourceTagsT &&value)
void SetResourceTypeList(ResourceTypeListT &&value)
bool PolicyIdHasBeenSet() const
bool ResourceSetIdsHasBeenSet() const
bool PolicyUpdateTokenHasBeenSet() const
bool PolicyNameHasBeenSet() const
void SetPolicyId(PolicyIdT &&value)
bool PolicyDescriptionHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
Policy & WithPolicyUpdateToken(PolicyUpdateTokenT &&value)
bool IncludeMapHasBeenSet() const
Policy & WithPolicyStatus(CustomerPolicyStatus value)
void SetResourceSetIds(ResourceSetIdsT &&value)
bool RemediationEnabledHasBeenSet() const
ResourceTagLogicalOperator GetResourceTagLogicalOperator() const
CustomerPolicyScopeIdType
ResourceTagLogicalOperator
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