/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates whether the account is compliant with the specified policy. An
* account is considered noncompliant if it includes resources that are not
* protected by the policy, for AWS WAF and Shield Advanced policies, or that are
* noncompliant with the policy, for security group policies.See
* Also:
AWS
* API Reference
The AWS account that created the AWS Firewall Manager policy.
*/ inline const Aws::String& GetPolicyOwner() const{ return m_policyOwner; } /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline bool PolicyOwnerHasBeenSet() const { return m_policyOwnerHasBeenSet; } /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline void SetPolicyOwner(const Aws::String& value) { m_policyOwnerHasBeenSet = true; m_policyOwner = value; } /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline void SetPolicyOwner(Aws::String&& value) { m_policyOwnerHasBeenSet = true; m_policyOwner = std::move(value); } /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline void SetPolicyOwner(const char* value) { m_policyOwnerHasBeenSet = true; m_policyOwner.assign(value); } /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyOwner(const Aws::String& value) { SetPolicyOwner(value); return *this;} /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyOwner(Aws::String&& value) { SetPolicyOwner(std::move(value)); return *this;} /** *The AWS account that created the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyOwner(const char* value) { SetPolicyOwner(value); return *this;} /** *The ID of the AWS Firewall Manager policy.
*/ inline const Aws::String& GetPolicyId() const{ return m_policyId; } /** *The ID of the AWS Firewall Manager policy.
*/ inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; } /** *The ID of the AWS Firewall Manager policy.
*/ inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; } /** *The ID of the AWS Firewall Manager policy.
*/ inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); } /** *The ID of the AWS Firewall Manager policy.
*/ inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); } /** *The ID of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;} /** *The ID of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;} /** *The ID of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyId(const char* value) { SetPolicyId(value); return *this;} /** *The name of the AWS Firewall Manager policy.
*/ inline const Aws::String& GetPolicyName() const{ return m_policyName; } /** *The name of the AWS Firewall Manager policy.
*/ inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; } /** *The name of the AWS Firewall Manager policy.
*/ inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; } /** *The name of the AWS Firewall Manager policy.
*/ inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); } /** *The name of the AWS Firewall Manager policy.
*/ inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); } /** *The name of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;} /** *The name of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;} /** *The name of the AWS Firewall Manager policy.
*/ inline PolicyComplianceStatus& WithPolicyName(const char* value) { SetPolicyName(value); return *this;} /** *The member account ID.
*/ inline const Aws::String& GetMemberAccount() const{ return m_memberAccount; } /** *The member account ID.
*/ inline bool MemberAccountHasBeenSet() const { return m_memberAccountHasBeenSet; } /** *The member account ID.
*/ inline void SetMemberAccount(const Aws::String& value) { m_memberAccountHasBeenSet = true; m_memberAccount = value; } /** *The member account ID.
*/ inline void SetMemberAccount(Aws::String&& value) { m_memberAccountHasBeenSet = true; m_memberAccount = std::move(value); } /** *The member account ID.
*/ inline void SetMemberAccount(const char* value) { m_memberAccountHasBeenSet = true; m_memberAccount.assign(value); } /** *The member account ID.
*/ inline PolicyComplianceStatus& WithMemberAccount(const Aws::String& value) { SetMemberAccount(value); return *this;} /** *The member account ID.
*/ inline PolicyComplianceStatus& WithMemberAccount(Aws::String&& value) { SetMemberAccount(std::move(value)); return *this;} /** *The member account ID.
*/ inline PolicyComplianceStatus& WithMemberAccount(const char* value) { SetMemberAccount(value); return *this;} /** *An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
An array of EvaluationResult objects.
Timestamp of the last update to the EvaluationResult
* objects.
Timestamp of the last update to the EvaluationResult
* objects.
Timestamp of the last update to the EvaluationResult
* objects.
Timestamp of the last update to the EvaluationResult
* objects.
Timestamp of the last update to the EvaluationResult
* objects.
Timestamp of the last update to the EvaluationResult
* objects.
Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline const Aws::MapDetails about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline bool IssueInfoMapHasBeenSet() const { return m_issueInfoMapHasBeenSet; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline void SetIssueInfoMap(const Aws::MapDetails about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline void SetIssueInfoMap(Aws::MapDetails about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& WithIssueInfoMap(const Aws::MapDetails about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& WithIssueInfoMap(Aws::MapDetails about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, const Aws::String& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, value); return *this; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, const Aws::String& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), value); return *this; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, Aws::String&& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, std::move(value)); return *this; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, Aws::String&& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), std::move(value)); return *this; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, const char* value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), value); return *this; } /** *Details about problems with dependent services, such as AWS WAF or AWS * Config, that are causing a resource to be noncompliant. The details include the * name of the dependent service and the error message received that indicates the * problem with the service.
*/ inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, const char* value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, value); return *this; } private: Aws::String m_policyOwner; bool m_policyOwnerHasBeenSet; Aws::String m_policyId; bool m_policyIdHasBeenSet; Aws::String m_policyName; bool m_policyNameHasBeenSet; Aws::String m_memberAccount; bool m_memberAccountHasBeenSet; Aws::Vector