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>
43 template<
typename ActionT = RuleAction>
44 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
45 template<
typename ActionT = RuleAction>
55 template<
typename ListenerIdentifierT = Aws::String>
56 void SetListenerIdentifier(ListenerIdentifierT&& value) { m_listenerIdentifierHasBeenSet =
true; m_listenerIdentifier = std::forward<ListenerIdentifierT>(value); }
57 template<
typename ListenerIdentifierT = Aws::String>
67 template<
typename MatchT = RuleMatch>
68 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
69 template<
typename MatchT = RuleMatch>
80 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
90 template<
typename RuleIdentifierT = Aws::String>
91 void SetRuleIdentifier(RuleIdentifierT&& value) { m_ruleIdentifierHasBeenSet =
true; m_ruleIdentifier = std::forward<RuleIdentifierT>(value); }
92 template<
typename RuleIdentifierT = Aws::String>
102 template<
typename ServiceIdentifierT = Aws::String>
103 void SetServiceIdentifier(ServiceIdentifierT&& value) { m_serviceIdentifierHasBeenSet =
true; m_serviceIdentifier = std::forward<ServiceIdentifierT>(value); }
104 template<
typename ServiceIdentifierT = Aws::String>
110 bool m_actionHasBeenSet =
false;
113 bool m_listenerIdentifierHasBeenSet =
false;
116 bool m_matchHasBeenSet =
false;
119 bool m_priorityHasBeenSet =
false;
122 bool m_ruleIdentifierHasBeenSet =
false;
125 bool m_serviceIdentifierHasBeenSet =
false;
const RuleMatch & GetMatch() const
UpdateRuleRequest & WithServiceIdentifier(ServiceIdentifierT &&value)
const RuleAction & GetAction() const
void SetListenerIdentifier(ListenerIdentifierT &&value)
void SetAction(ActionT &&value)
bool PriorityHasBeenSet() const
UpdateRuleRequest & WithListenerIdentifier(ListenerIdentifierT &&value)
AWS_VPCLATTICE_API UpdateRuleRequest()=default
void SetMatch(MatchT &&value)
void SetRuleIdentifier(RuleIdentifierT &&value)
bool RuleIdentifierHasBeenSet() const
bool MatchHasBeenSet() const
const Aws::String & GetListenerIdentifier() const
void SetPriority(int value)
UpdateRuleRequest & WithRuleIdentifier(RuleIdentifierT &&value)
bool ListenerIdentifierHasBeenSet() const
UpdateRuleRequest & WithAction(ActionT &&value)
UpdateRuleRequest & WithMatch(MatchT &&value)
bool ActionHasBeenSet() const
bool ServiceIdentifierHasBeenSet() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const Aws::String & GetServiceIdentifier() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRuleIdentifier() const
void SetServiceIdentifier(ServiceIdentifierT &&value)
UpdateRuleRequest & WithPriority(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String