/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Violation detail for an expected route missing in Network
* Firewall.See Also:
AWS
* API Reference
The target of the violation.
*/ inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; } /** *The target of the violation.
*/ inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; } /** *The target of the violation.
*/ inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; } /** *The target of the violation.
*/ inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); } /** *The target of the violation.
*/ inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); } /** *The target of the violation.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithViolationTarget(const Aws::String& value) { SetViolationTarget(value); return *this;} /** *The target of the violation.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;} /** *The target of the violation.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;} /** *The expected routes.
*/ inline const Aws::VectorThe expected routes.
*/ inline bool ExpectedRoutesHasBeenSet() const { return m_expectedRoutesHasBeenSet; } /** *The expected routes.
*/ inline void SetExpectedRoutes(const Aws::VectorThe expected routes.
*/ inline void SetExpectedRoutes(Aws::VectorThe expected routes.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithExpectedRoutes(const Aws::VectorThe expected routes.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithExpectedRoutes(Aws::VectorThe expected routes.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& AddExpectedRoutes(const ExpectedRoute& value) { m_expectedRoutesHasBeenSet = true; m_expectedRoutes.push_back(value); return *this; } /** *The expected routes.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& AddExpectedRoutes(ExpectedRoute&& value) { m_expectedRoutesHasBeenSet = true; m_expectedRoutes.push_back(std::move(value)); return *this; } /** *Information about the VPC ID.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *Information about the VPC ID.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *Information about the VPC ID.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *Information about the VPC ID.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *Information about the VPC ID.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *Information about the VPC ID.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallMissingExpectedRoutesViolation& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_violationTarget; bool m_violationTargetHasBeenSet = false; Aws::Vector