7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/WAFRegionalRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf-regional/model/Tag.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
80 inline void SetChangeToken(
const char* value) { m_changeTokenHasBeenSet =
true; m_changeToken.assign(value); }
102 bool m_nameHasBeenSet =
false;
105 bool m_metricNameHasBeenSet =
false;
108 bool m_changeTokenHasBeenSet =
false;
111 bool m_tagsHasBeenSet =
false;
CreateRuleRequest & WithTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
CreateRuleRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_WAFREGIONAL_API CreateRuleRequest()
AWS_WAFREGIONAL_API Aws::String SerializePayload() const override
CreateRuleRequest & WithName(const Aws::String &value)
void SetChangeToken(Aws::String &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetName(const char *value)
void SetMetricName(const Aws::String &value)
CreateRuleRequest & WithChangeToken(const char *value)
void SetName(Aws::String &&value)
bool MetricNameHasBeenSet() const
AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMetricName(const char *value)
bool TagsHasBeenSet() const
CreateRuleRequest & AddTags(Tag &&value)
CreateRuleRequest & WithMetricName(const Aws::String &value)
const Aws::String & GetMetricName() const
CreateRuleRequest & WithMetricName(Aws::String &&value)
bool ChangeTokenHasBeenSet() const
CreateRuleRequest & WithName(Aws::String &&value)
CreateRuleRequest & WithName(const char *value)
void SetChangeToken(const Aws::String &value)
void SetChangeToken(const char *value)
CreateRuleRequest & WithMetricName(const char *value)
void SetMetricName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetChangeToken() const
CreateRuleRequest & WithChangeToken(Aws::String &&value)
CreateRuleRequest & WithChangeToken(const Aws::String &value)
CreateRuleRequest & AddTags(const Tag &value)
void SetName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector