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>
13#include <aws/elasticloadbalancingv2/model/Tag.h>
18namespace ElasticLoadBalancingv2
51 inline void SetListenerArn(
const char* value) { m_listenerArnHasBeenSet =
true; m_listenerArn.assign(value); }
78 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
112 bool m_listenerArnHasBeenSet =
false;
115 bool m_conditionsHasBeenSet =
false;
118 bool m_priorityHasBeenSet =
false;
121 bool m_actionsHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
CreateRuleRequest & WithListenerArn(const Aws::String &value)
CreateRuleRequest & WithTags(Aws::Vector< Tag > &&value)
CreateRuleRequest & WithTags(const Aws::Vector< Tag > &value)
CreateRuleRequest & WithPriority(int value)
const Aws::Vector< RuleCondition > & GetConditions() const
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
void SetTags(const Aws::Vector< Tag > &value)
void SetListenerArn(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API CreateRuleRequest()
CreateRuleRequest & WithConditions(Aws::Vector< RuleCondition > &&value)
void SetActions(Aws::Vector< Action > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetPriority(int value)
bool PriorityHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Action > & GetActions() const
const Aws::String & GetListenerArn() const
bool ListenerArnHasBeenSet() const
void SetListenerArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetActions(const Aws::Vector< Action > &value)
CreateRuleRequest & WithListenerArn(const char *value)
void SetListenerArn(const char *value)
CreateRuleRequest & WithListenerArn(Aws::String &&value)
CreateRuleRequest & WithConditions(const Aws::Vector< RuleCondition > &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateRuleRequest & AddTags(Tag &&value)
bool ConditionsHasBeenSet() const
CreateRuleRequest & AddConditions(RuleCondition &&value)
CreateRuleRequest & WithActions(Aws::Vector< Action > &&value)
CreateRuleRequest & AddActions(Action &&value)
CreateRuleRequest & WithActions(const Aws::Vector< Action > &value)
void SetConditions(const Aws::Vector< RuleCondition > &value)
CreateRuleRequest & AddActions(const Action &value)
CreateRuleRequest & AddTags(const Tag &value)
CreateRuleRequest & AddConditions(const RuleCondition &value)
bool ActionsHasBeenSet() const
void SetConditions(Aws::Vector< RuleCondition > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector