7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/SecurityServiceType.h>
10#include <aws/fms/model/CustomerPolicyStatus.h>
48 template<
typename PolicyArnT = Aws::String>
49 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
50 template<
typename PolicyArnT = Aws::String>
60 template<
typename PolicyIdT = Aws::String>
61 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
62 template<
typename PolicyIdT = Aws::String>
72 template<
typename PolicyNameT = Aws::String>
73 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
74 template<
typename PolicyNameT = Aws::String>
87 template<
typename ResourceTypeT = Aws::String>
88 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
89 template<
typename ResourceTypeT = Aws::String>
111 inline void SetRemediationEnabled(
bool value) { m_remediationEnabledHasBeenSet =
true; m_remediationEnabled = value; }
149 bool m_policyArnHasBeenSet =
false;
152 bool m_policyIdHasBeenSet =
false;
155 bool m_policyNameHasBeenSet =
false;
158 bool m_resourceTypeHasBeenSet =
false;
161 bool m_securityServiceTypeHasBeenSet =
false;
163 bool m_remediationEnabled{
false};
164 bool m_remediationEnabledHasBeenSet =
false;
166 bool m_deleteUnusedFMManagedResources{
false};
167 bool m_deleteUnusedFMManagedResourcesHasBeenSet =
false;
170 bool m_policyStatusHasBeenSet =
false;
void SetSecurityServiceType(SecurityServiceType value)
PolicySummary & WithPolicyId(PolicyIdT &&value)
const Aws::String & GetResourceType() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API PolicySummary(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyName(PolicyNameT &&value)
bool PolicyNameHasBeenSet() const
bool PolicyIdHasBeenSet() const
PolicySummary & WithPolicyArn(PolicyArnT &&value)
void SetRemediationEnabled(bool value)
CustomerPolicyStatus GetPolicyStatus() const
bool GetRemediationEnabled() const
const Aws::String & GetPolicyName() const
SecurityServiceType GetSecurityServiceType() const
bool RemediationEnabledHasBeenSet() const
const Aws::String & GetPolicyArn() const
PolicySummary & WithPolicyName(PolicyNameT &&value)
bool GetDeleteUnusedFMManagedResources() const
PolicySummary & WithPolicyStatus(CustomerPolicyStatus value)
bool DeleteUnusedFMManagedResourcesHasBeenSet() const
void SetPolicyId(PolicyIdT &&value)
PolicySummary & WithRemediationEnabled(bool value)
PolicySummary & WithSecurityServiceType(SecurityServiceType value)
bool PolicyArnHasBeenSet() const
bool PolicyStatusHasBeenSet() const
void SetDeleteUnusedFMManagedResources(bool value)
AWS_FMS_API PolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicySummary & WithResourceType(ResourceTypeT &&value)
PolicySummary & WithDeleteUnusedFMManagedResources(bool value)
void SetPolicyArn(PolicyArnT &&value)
void SetPolicyStatus(CustomerPolicyStatus value)
const Aws::String & GetPolicyId() const
void SetResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
AWS_FMS_API PolicySummary()=default
bool SecurityServiceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue