7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/Action.h>
12#include <aws/elasticloadbalancingv2/model/RuleCondition.h>
13#include <aws/elasticloadbalancingv2/model/RuleTransform.h>
18namespace ElasticLoadBalancingv2 {
45 template <
typename RuleArnT = Aws::String>
47 m_ruleArnHasBeenSet =
true;
48 m_ruleArn = std::forward<RuleArnT>(value);
50 template <
typename RuleArnT = Aws::String>
63 template <
typename ConditionsT = Aws::Vector<RuleCondition>>
65 m_conditionsHasBeenSet =
true;
66 m_conditions = std::forward<ConditionsT>(value);
68 template <
typename ConditionsT = Aws::Vector<RuleCondition>>
73 template <
typename ConditionsT = RuleCondition>
75 m_conditionsHasBeenSet =
true;
76 m_conditions.emplace_back(std::forward<ConditionsT>(value));
87 template <
typename ActionsT = Aws::Vector<Action>>
89 m_actionsHasBeenSet =
true;
90 m_actions = std::forward<ActionsT>(value);
92 template <
typename ActionsT = Aws::Vector<Action>>
97 template <
typename ActionsT = Action>
99 m_actionsHasBeenSet =
true;
100 m_actions.emplace_back(std::forward<ActionsT>(value));
113 template <
typename TransformsT = Aws::Vector<RuleTransform>>
115 m_transformsHasBeenSet =
true;
116 m_transforms = std::forward<TransformsT>(value);
118 template <
typename TransformsT = Aws::Vector<RuleTransform>>
123 template <
typename TransformsT = RuleTransform>
125 m_transformsHasBeenSet =
true;
126 m_transforms.emplace_back(std::forward<TransformsT>(value));
139 m_resetTransformsHasBeenSet =
true;
140 m_resetTransforms = value;
156 bool m_resetTransforms{
false};
157 bool m_ruleArnHasBeenSet =
false;
158 bool m_conditionsHasBeenSet =
false;
159 bool m_actionsHasBeenSet =
false;
160 bool m_transformsHasBeenSet =
false;
161 bool m_resetTransformsHasBeenSet =
false;
void SetTransforms(TransformsT &&value)
ModifyRuleRequest & AddActions(ActionsT &&value)
ModifyRuleRequest & WithResetTransforms(bool value)
ModifyRuleRequest & WithActions(ActionsT &&value)
bool RuleArnHasBeenSet() const
bool ConditionsHasBeenSet() const
ModifyRuleRequest & WithTransforms(TransformsT &&value)
const Aws::Vector< RuleCondition > & GetConditions() const
bool ResetTransformsHasBeenSet() 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)
bool GetResetTransforms() const
const Aws::Vector< RuleTransform > & GetTransforms() const
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyRuleRequest & WithRuleArn(RuleArnT &&value)
void SetActions(ActionsT &&value)
bool TransformsHasBeenSet() const
void SetConditions(ConditionsT &&value)
void SetResetTransforms(bool value)
virtual const char * GetServiceRequestName() const override
void SetRuleArn(RuleArnT &&value)
ModifyRuleRequest & AddTransforms(TransformsT &&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