7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/vpc-lattice/model/RuleAction.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/vpc-lattice/model/RuleMatch.h>
57 inline void SetListenerIdentifier(
const char* value) { m_listenerIdentifierHasBeenSet =
true; m_listenerIdentifier.assign(value); }
70 inline void SetMatch(
RuleMatch&& value) { m_matchHasBeenSet =
true; m_match = std::move(value); }
82 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
94 inline void SetRuleIdentifier(
const char* value) { m_ruleIdentifierHasBeenSet =
true; m_ruleIdentifier.assign(value); }
108 inline void SetServiceIdentifier(
const char* value) { m_serviceIdentifierHasBeenSet =
true; m_serviceIdentifier.assign(value); }
116 bool m_actionHasBeenSet =
false;
119 bool m_listenerIdentifierHasBeenSet =
false;
122 bool m_matchHasBeenSet =
false;
125 bool m_priorityHasBeenSet =
false;
128 bool m_ruleIdentifierHasBeenSet =
false;
131 bool m_serviceIdentifierHasBeenSet =
false;
const RuleMatch & GetMatch() const
AWS_VPCLATTICE_API UpdateRuleRequest()
UpdateRuleRequest & WithServiceIdentifier(Aws::String &&value)
void SetAction(RuleAction &&value)
const RuleAction & GetAction() const
UpdateRuleRequest & WithAction(const RuleAction &value)
void SetMatch(RuleMatch &&value)
UpdateRuleRequest & WithListenerIdentifier(Aws::String &&value)
UpdateRuleRequest & WithListenerIdentifier(const Aws::String &value)
void SetAction(const RuleAction &value)
bool PriorityHasBeenSet() const
UpdateRuleRequest & WithMatch(const RuleMatch &value)
UpdateRuleRequest & WithRuleIdentifier(Aws::String &&value)
void SetServiceIdentifier(const Aws::String &value)
void SetRuleIdentifier(const char *value)
void SetListenerIdentifier(Aws::String &&value)
void SetListenerIdentifier(const Aws::String &value)
bool RuleIdentifierHasBeenSet() const
bool MatchHasBeenSet() const
const Aws::String & GetListenerIdentifier() const
void SetPriority(int value)
UpdateRuleRequest & WithRuleIdentifier(const char *value)
UpdateRuleRequest & WithMatch(RuleMatch &&value)
void SetRuleIdentifier(Aws::String &&value)
UpdateRuleRequest & WithAction(RuleAction &&value)
bool ListenerIdentifierHasBeenSet() const
UpdateRuleRequest & WithRuleIdentifier(const Aws::String &value)
void SetMatch(const RuleMatch &value)
void SetListenerIdentifier(const char *value)
bool ActionHasBeenSet() const
bool ServiceIdentifierHasBeenSet() const
void SetServiceIdentifier(const char *value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
void SetRuleIdentifier(const Aws::String &value)
const Aws::String & GetServiceIdentifier() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRuleIdentifier() const
UpdateRuleRequest & WithServiceIdentifier(const char *value)
UpdateRuleRequest & WithListenerIdentifier(const char *value)
void SetServiceIdentifier(Aws::String &&value)
UpdateRuleRequest & WithPriority(int value)
UpdateRuleRequest & WithServiceIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String