/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the priorities for the rules for a listener.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the rule.
*/ inline const Aws::String& GetRuleArn() const{ return m_ruleArn; } /** *The Amazon Resource Name (ARN) of the rule.
*/ inline bool RuleArnHasBeenSet() const { return m_ruleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the rule.
*/ inline void SetRuleArn(const Aws::String& value) { m_ruleArnHasBeenSet = true; m_ruleArn = value; } /** *The Amazon Resource Name (ARN) of the rule.
*/ inline void SetRuleArn(Aws::String&& value) { m_ruleArnHasBeenSet = true; m_ruleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the rule.
*/ inline void SetRuleArn(const char* value) { m_ruleArnHasBeenSet = true; m_ruleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the rule.
*/ inline RulePriorityPair& WithRuleArn(const Aws::String& value) { SetRuleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the rule.
*/ inline RulePriorityPair& WithRuleArn(Aws::String&& value) { SetRuleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the rule.
*/ inline RulePriorityPair& WithRuleArn(const char* value) { SetRuleArn(value); return *this;} /** *The rule priority.
*/ inline int GetPriority() const{ return m_priority; } /** *The rule priority.
*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *The rule priority.
*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *The rule priority.
*/ inline RulePriorityPair& WithPriority(int value) { SetPriority(value); return *this;} private: Aws::String m_ruleArn; bool m_ruleArnHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws