7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/HostHeaderConditionConfig.h>
12#include <aws/elasticloadbalancingv2/model/PathPatternConditionConfig.h>
13#include <aws/elasticloadbalancingv2/model/HttpHeaderConditionConfig.h>
14#include <aws/elasticloadbalancingv2/model/QueryStringConditionConfig.h>
15#include <aws/elasticloadbalancingv2/model/HttpRequestMethodConditionConfig.h>
16#include <aws/elasticloadbalancingv2/model/SourceIpConditionConfig.h>
28namespace ElasticLoadBalancingv2
53 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
70 inline void SetField(
const char* value) { m_fieldHasBeenSet =
true; m_field.assign(value); }
105 inline RuleCondition&
AddValues(
const char* value) { m_valuesHasBeenSet =
true; m_values.push_back(value);
return *
this; }
188 bool m_fieldHasBeenSet =
false;
191 bool m_valuesHasBeenSet =
false;
194 bool m_hostHeaderConfigHasBeenSet =
false;
197 bool m_pathPatternConfigHasBeenSet =
false;
200 bool m_httpHeaderConfigHasBeenSet =
false;
203 bool m_queryStringConfigHasBeenSet =
false;
206 bool m_httpRequestMethodConfigHasBeenSet =
false;
209 bool m_sourceIpConfigHasBeenSet =
false;
void SetHttpHeaderConfig(const HttpHeaderConditionConfig &value)
RuleCondition & WithField(Aws::String &&value)
void SetHttpRequestMethodConfig(HttpRequestMethodConditionConfig &&value)
const QueryStringConditionConfig & GetQueryStringConfig() const
const HttpRequestMethodConditionConfig & GetHttpRequestMethodConfig() const
RuleCondition & WithHttpRequestMethodConfig(const HttpRequestMethodConditionConfig &value)
bool HostHeaderConfigHasBeenSet() const
const SourceIpConditionConfig & GetSourceIpConfig() const
bool FieldHasBeenSet() const
void SetPathPatternConfig(PathPatternConditionConfig &&value)
void SetQueryStringConfig(const QueryStringConditionConfig &value)
bool HttpRequestMethodConfigHasBeenSet() const
const Aws::String & GetField() const
RuleCondition & WithPathPatternConfig(const PathPatternConditionConfig &value)
RuleCondition & AddValues(const Aws::String &value)
const HttpHeaderConditionConfig & GetHttpHeaderConfig() const
RuleCondition & WithField(const char *value)
AWS_ELASTICLOADBALANCINGV2_API RuleCondition()
bool SourceIpConfigHasBeenSet() const
bool PathPatternConfigHasBeenSet() const
void SetField(const char *value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RuleCondition & WithHttpHeaderConfig(HttpHeaderConditionConfig &&value)
void SetValues(Aws::Vector< Aws::String > &&value)
void SetPathPatternConfig(const PathPatternConditionConfig &value)
RuleCondition & WithSourceIpConfig(const SourceIpConditionConfig &value)
const PathPatternConditionConfig & GetPathPatternConfig() const
bool HttpHeaderConfigHasBeenSet() const
RuleCondition & WithPathPatternConfig(PathPatternConditionConfig &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool QueryStringConfigHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API RuleCondition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RuleCondition & WithQueryStringConfig(const QueryStringConditionConfig &value)
void SetHttpHeaderConfig(HttpHeaderConditionConfig &&value)
void SetHttpRequestMethodConfig(const HttpRequestMethodConditionConfig &value)
RuleCondition & WithQueryStringConfig(QueryStringConditionConfig &&value)
RuleCondition & WithHttpRequestMethodConfig(HttpRequestMethodConditionConfig &&value)
void SetQueryStringConfig(QueryStringConditionConfig &&value)
RuleCondition & AddValues(const char *value)
bool ValuesHasBeenSet() const
const HostHeaderConditionConfig & GetHostHeaderConfig() const
void SetField(const Aws::String &value)
RuleCondition & WithHttpHeaderConfig(const HttpHeaderConditionConfig &value)
void SetSourceIpConfig(const SourceIpConditionConfig &value)
RuleCondition & WithHostHeaderConfig(HostHeaderConditionConfig &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
RuleCondition & AddValues(Aws::String &&value)
RuleCondition & WithValues(Aws::Vector< Aws::String > &&value)
RuleCondition & WithValues(const Aws::Vector< Aws::String > &value)
RuleCondition & WithSourceIpConfig(SourceIpConditionConfig &&value)
RuleCondition & WithField(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API RuleCondition(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetField(Aws::String &&value)
const Aws::Vector< Aws::String > & GetValues() const
void SetSourceIpConfig(SourceIpConditionConfig &&value)
void SetHostHeaderConfig(const HostHeaderConditionConfig &value)
void SetHostHeaderConfig(HostHeaderConditionConfig &&value)
RuleCondition & WithHostHeaderConfig(const HostHeaderConditionConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream