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>
54 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
68 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
86 inline void SetPolicyUpdateToken(
const char* value) { m_policyUpdateTokenHasBeenSet =
true; m_policyUpdateToken.assign(value); }
134 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
154 inline Policy&
AddResourceTypeList(
const char* value) { m_resourceTypeListHasBeenSet =
true; m_resourceTypeList.push_back(value);
return *
this; }
180 inline void SetExcludeResourceTags(
bool value) { m_excludeResourceTagsHasBeenSet =
true; m_excludeResourceTags = value; }
190 inline void SetRemediationEnabled(
bool value) { m_remediationEnabledHasBeenSet =
true; m_remediationEnabled = value; }
291 inline Policy&
AddResourceSetIds(
const char* value) { m_resourceSetIdsHasBeenSet =
true; m_resourceSetIds.push_back(value);
return *
this; }
302 inline void SetPolicyDescription(
const char* value) { m_policyDescriptionHasBeenSet =
true; m_policyDescription.assign(value); }
327 bool m_policyIdHasBeenSet =
false;
330 bool m_policyNameHasBeenSet =
false;
333 bool m_policyUpdateTokenHasBeenSet =
false;
336 bool m_securityServicePolicyDataHasBeenSet =
false;
339 bool m_resourceTypeHasBeenSet =
false;
342 bool m_resourceTypeListHasBeenSet =
false;
345 bool m_resourceTagsHasBeenSet =
false;
347 bool m_excludeResourceTags;
348 bool m_excludeResourceTagsHasBeenSet =
false;
350 bool m_remediationEnabled;
351 bool m_remediationEnabledHasBeenSet =
false;
353 bool m_deleteUnusedFMManagedResources;
354 bool m_deleteUnusedFMManagedResourcesHasBeenSet =
false;
357 bool m_includeMapHasBeenSet =
false;
360 bool m_excludeMapHasBeenSet =
false;
363 bool m_resourceSetIdsHasBeenSet =
false;
366 bool m_policyDescriptionHasBeenSet =
false;
369 bool m_policyStatusHasBeenSet =
false;
Policy & WithRemediationEnabled(bool value)
void SetSecurityServicePolicyData(const SecurityServicePolicyData &value)
bool ExcludeMapHasBeenSet() const
bool GetDeleteUnusedFMManagedResources() const
bool ResourceTypeListHasBeenSet() const
void SetPolicyUpdateToken(Aws::String &&value)
void SetExcludeResourceTags(bool value)
Policy & WithResourceTags(const Aws::Vector< ResourceTag > &value)
Policy & AddExcludeMap(CustomerPolicyScopeIdType &&key, Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetResourceSetIds() const
const Aws::String & GetResourceType() const
Policy & WithPolicyDescription(Aws::String &&value)
void SetPolicyId(Aws::String &&value)
Policy & WithResourceType(Aws::String &&value)
AWS_FMS_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExcludeResourceTagsHasBeenSet() const
const Aws::String & GetPolicyDescription() const
Policy & WithDeleteUnusedFMManagedResources(bool value)
const Aws::Vector< Aws::String > & GetResourceTypeList() const
bool ResourceTypeHasBeenSet() const
Policy & AddIncludeMap(CustomerPolicyScopeIdType &&key, Aws::Vector< Aws::String > &&value)
Policy & WithPolicyId(const Aws::String &value)
Policy & AddResourceSetIds(const char *value)
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetExcludeMap() const
const Aws::String & GetPolicyName() const
bool PolicyStatusHasBeenSet() const
void SetIncludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Policy & WithSecurityServicePolicyData(SecurityServicePolicyData &&value)
Policy & AddIncludeMap(const CustomerPolicyScopeIdType &key, Aws::Vector< Aws::String > &&value)
Policy & AddResourceTypeList(Aws::String &&value)
Policy & WithExcludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Policy & WithSecurityServicePolicyData(const SecurityServicePolicyData &value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
Policy & WithPolicyUpdateToken(const char *value)
void SetPolicyUpdateToken(const char *value)
AWS_FMS_API Policy(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyDescription(const Aws::String &value)
Policy & WithPolicyStatus(const CustomerPolicyStatus &value)
const Aws::String & GetPolicyId() const
const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > & GetIncludeMap() const
Policy & AddExcludeMap(CustomerPolicyScopeIdType &&key, const Aws::Vector< Aws::String > &value)
void SetExcludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
void SetResourceType(const char *value)
void SetIncludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
const Aws::String & GetPolicyUpdateToken() const
void SetExcludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Policy & AddIncludeMap(CustomerPolicyScopeIdType &&key, const Aws::Vector< Aws::String > &value)
bool SecurityServicePolicyDataHasBeenSet() const
Policy & WithPolicyStatus(CustomerPolicyStatus &&value)
bool DeleteUnusedFMManagedResourcesHasBeenSet() const
bool GetExcludeResourceTags() const
Policy & WithResourceSetIds(Aws::Vector< Aws::String > &&value)
Policy & WithPolicyUpdateToken(const Aws::String &value)
void SetResourceType(const Aws::String &value)
Policy & AddResourceTypeList(const Aws::String &value)
Policy & WithResourceTypeList(Aws::Vector< Aws::String > &&value)
void SetResourceSetIds(Aws::Vector< Aws::String > &&value)
void SetPolicyName(const Aws::String &value)
void SetRemediationEnabled(bool value)
void SetPolicyName(Aws::String &&value)
Policy & WithExcludeResourceTags(bool value)
Policy & AddResourceTypeList(const char *value)
Policy & WithResourceType(const char *value)
bool GetRemediationEnabled() const
Policy & AddExcludeMap(const CustomerPolicyScopeIdType &key, Aws::Vector< Aws::String > &&value)
void SetResourceSetIds(const Aws::Vector< Aws::String > &value)
const SecurityServicePolicyData & GetSecurityServicePolicyData() const
Policy & AddIncludeMap(const CustomerPolicyScopeIdType &key, const Aws::Vector< Aws::String > &value)
bool ResourceTagsHasBeenSet() const
Policy & AddResourceTags(const ResourceTag &value)
void SetDeleteUnusedFMManagedResources(bool value)
void SetPolicyStatus(const CustomerPolicyStatus &value)
bool PolicyIdHasBeenSet() const
Policy & AddResourceSetIds(const Aws::String &value)
void SetResourceTypeList(const Aws::Vector< Aws::String > &value)
Policy & WithPolicyDescription(const char *value)
bool ResourceSetIdsHasBeenSet() const
bool PolicyUpdateTokenHasBeenSet() const
Policy & WithResourceSetIds(const Aws::Vector< Aws::String > &value)
void SetResourceTags(const Aws::Vector< ResourceTag > &value)
bool PolicyNameHasBeenSet() const
void SetResourceTags(Aws::Vector< ResourceTag > &&value)
void SetPolicyUpdateToken(const Aws::String &value)
void SetPolicyDescription(Aws::String &&value)
Policy & WithExcludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
Policy & WithPolicyId(Aws::String &&value)
Policy & WithResourceTags(Aws::Vector< ResourceTag > &&value)
void SetPolicyId(const char *value)
bool PolicyDescriptionHasBeenSet() const
Policy & WithPolicyDescription(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyName(const char *value)
void SetResourceType(Aws::String &&value)
void SetPolicyId(const Aws::String &value)
Policy & AddExcludeMap(const CustomerPolicyScopeIdType &key, const Aws::Vector< Aws::String > &value)
Policy & WithPolicyName(const Aws::String &value)
bool IncludeMapHasBeenSet() const
Policy & WithIncludeMap(const Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &value)
Policy & WithPolicyName(const char *value)
Policy & WithPolicyName(Aws::String &&value)
void SetPolicyDescription(const char *value)
const CustomerPolicyStatus & GetPolicyStatus() const
Policy & WithResourceType(const Aws::String &value)
bool RemediationEnabledHasBeenSet() const
Policy & WithPolicyId(const char *value)
Policy & WithResourceTypeList(const Aws::Vector< Aws::String > &value)
Policy & WithIncludeMap(Aws::Map< CustomerPolicyScopeIdType, Aws::Vector< Aws::String > > &&value)
void SetSecurityServicePolicyData(SecurityServicePolicyData &&value)
Policy & AddResourceTags(ResourceTag &&value)
Policy & WithPolicyUpdateToken(Aws::String &&value)
void SetPolicyStatus(CustomerPolicyStatus &&value)
void SetResourceTypeList(Aws::Vector< Aws::String > &&value)
Policy & AddResourceSetIds(Aws::String &&value)
CustomerPolicyScopeIdType
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