7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/model/RuleAction.h>
9#include <aws/vpc-lattice/model/RuleMatch.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetMatch(
RuleMatch&& value) { m_matchHasBeenSet =
true; m_match = std::move(value); }
73 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
85 inline void SetRuleIdentifier(
const char* value) { m_ruleIdentifierHasBeenSet =
true; m_ruleIdentifier.assign(value); }
93 bool m_actionHasBeenSet =
false;
96 bool m_matchHasBeenSet =
false;
99 bool m_priorityHasBeenSet =
false;
102 bool m_ruleIdentifierHasBeenSet =
false;
bool ActionHasBeenSet() const
RuleUpdate & WithMatch(RuleMatch &&value)
RuleUpdate & WithMatch(const RuleMatch &value)
const RuleMatch & GetMatch() const
RuleUpdate & WithAction(const RuleAction &value)
RuleUpdate & WithRuleIdentifier(const char *value)
void SetMatch(RuleMatch &&value)
AWS_VPCLATTICE_API RuleUpdate()
void SetRuleIdentifier(const Aws::String &value)
AWS_VPCLATTICE_API RuleUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API RuleUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetMatch(const RuleMatch &value)
void SetAction(RuleAction &&value)
bool PriorityHasBeenSet() const
bool MatchHasBeenSet() const
void SetAction(const RuleAction &value)
const RuleAction & GetAction() const
RuleUpdate & WithAction(RuleAction &&value)
void SetRuleIdentifier(Aws::String &&value)
RuleUpdate & WithPriority(int value)
void SetPriority(int value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuleIdentifier(const char *value)
bool RuleIdentifierHasBeenSet() const
RuleUpdate & WithRuleIdentifier(const Aws::String &value)
RuleUpdate & WithRuleIdentifier(Aws::String &&value)
const Aws::String & GetRuleIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue