7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/RuleCondition.h>
12#include <aws/elasticloadbalancingv2/model/Action.h>
17namespace ElasticLoadBalancingv2
48 template<
typename RuleArnT = Aws::String>
49 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
50 template<
typename RuleArnT = Aws::String>
60 template<
typename ConditionsT = Aws::Vector<RuleCondition>>
61 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions = std::forward<ConditionsT>(value); }
62 template<
typename ConditionsT = Aws::Vector<RuleCondition>>
64 template<
typename ConditionsT = RuleCondition>
65 ModifyRuleRequest&
AddConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions.emplace_back(std::forward<ConditionsT>(value));
return *
this; }
74 template<
typename ActionsT = Aws::Vector<Action>>
75 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
76 template<
typename ActionsT = Aws::Vector<Action>>
78 template<
typename ActionsT = Action>
79 ModifyRuleRequest&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
84 bool m_ruleArnHasBeenSet =
false;
87 bool m_conditionsHasBeenSet =
false;
90 bool m_actionsHasBeenSet =
false;
ModifyRuleRequest & AddActions(ActionsT &&value)
ModifyRuleRequest & WithActions(ActionsT &&value)
bool RuleArnHasBeenSet() const
bool ConditionsHasBeenSet() const
const Aws::Vector< RuleCondition > & GetConditions() const
bool ActionsHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API ModifyRuleRequest()=default
const Aws::Vector< Action > & GetActions() const
ModifyRuleRequest & WithConditions(ConditionsT &&value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
ModifyRuleRequest & AddConditions(ConditionsT &&value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyRuleRequest & WithRuleArn(RuleArnT &&value)
void SetActions(ActionsT &&value)
void SetConditions(ConditionsT &&value)
virtual const char * GetServiceRequestName() const override
void SetRuleArn(RuleArnT &&value)
const Aws::String & GetRuleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector