/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifier for a single stateless rule group, used in a firewall policy to
* refer to the rule group. See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline StatelessRuleGroupReference& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline StatelessRuleGroupReference& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the stateless rule group.
*/ inline StatelessRuleGroupReference& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *An integer setting that indicates the order in which to run the stateless * rule groups in a single FirewallPolicy. Network Firewall applies each * stateless rule group to a packet starting with the group that has the lowest * priority setting. You must ensure that the priority settings are unique within * each policy.
*/ inline int GetPriority() const{ return m_priority; } /** *An integer setting that indicates the order in which to run the stateless * rule groups in a single FirewallPolicy. Network Firewall applies each * stateless rule group to a packet starting with the group that has the lowest * priority setting. You must ensure that the priority settings are unique within * each policy.
*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *An integer setting that indicates the order in which to run the stateless * rule groups in a single FirewallPolicy. Network Firewall applies each * stateless rule group to a packet starting with the group that has the lowest * priority setting. You must ensure that the priority settings are unique within * each policy.
*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *An integer setting that indicates the order in which to run the stateless * rule groups in a single FirewallPolicy. Network Firewall applies each * stateless rule group to a packet starting with the group that has the lowest * priority setting. You must ensure that the priority settings are unique within * each policy.
*/ inline StatelessRuleGroupReference& WithPriority(int value) { SetPriority(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws