/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The reference rule that partially matches the ViolationTarget
* rule and violation reason.See Also:
AWS
* API Reference
The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline const Aws::String& GetReference() const{ return m_reference; } /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; } /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline void SetReference(const Aws::String& value) { m_referenceHasBeenSet = true; m_reference = value; } /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline void SetReference(Aws::String&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); } /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline void SetReference(const char* value) { m_referenceHasBeenSet = true; m_reference.assign(value); } /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline PartialMatch& WithReference(const Aws::String& value) { SetReference(value); return *this;} /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline PartialMatch& WithReference(Aws::String&& value) { SetReference(std::move(value)); return *this;} /** *The reference rule from the primary security group of the Firewall Manager * policy.
*/ inline PartialMatch& WithReference(const char* value) { SetReference(value); return *this;} /** *The violation reason.
*/ inline const Aws::VectorThe violation reason.
*/ inline bool TargetViolationReasonsHasBeenSet() const { return m_targetViolationReasonsHasBeenSet; } /** *The violation reason.
*/ inline void SetTargetViolationReasons(const Aws::VectorThe violation reason.
*/ inline void SetTargetViolationReasons(Aws::VectorThe violation reason.
*/ inline PartialMatch& WithTargetViolationReasons(const Aws::VectorThe violation reason.
*/ inline PartialMatch& WithTargetViolationReasons(Aws::VectorThe violation reason.
*/ inline PartialMatch& AddTargetViolationReasons(const Aws::String& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(value); return *this; } /** *The violation reason.
*/ inline PartialMatch& AddTargetViolationReasons(Aws::String&& value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(std::move(value)); return *this; } /** *The violation reason.
*/ inline PartialMatch& AddTargetViolationReasons(const char* value) { m_targetViolationReasonsHasBeenSet = true; m_targetViolationReasons.push_back(value); return *this; } private: Aws::String m_reference; bool m_referenceHasBeenSet = false; Aws::Vector