7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/HTTPRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
73 inline long long GetWeight()
const{
return m_weight; }
75 inline void SetWeight(
long long value) { m_weightHasBeenSet =
true; m_weight = value; }
101 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
118 inline void SetRuleWithinRuleGroup(
const char* value) { m_ruleWithinRuleGroupHasBeenSet =
true; m_ruleWithinRuleGroup.assign(value); }
126 bool m_requestHasBeenSet =
false;
129 bool m_weightHasBeenSet =
false;
132 bool m_timestampHasBeenSet =
false;
135 bool m_actionHasBeenSet =
false;
138 bool m_ruleWithinRuleGroupHasBeenSet =
false;
bool RequestHasBeenSet() const
void SetRequest(HTTPRequest &&value)
SampledHTTPRequest & WithAction(const char *value)
bool TimestampHasBeenSet() const
void SetRuleWithinRuleGroup(Aws::String &&value)
const Aws::String & GetRuleWithinRuleGroup() const
SampledHTTPRequest & WithAction(const Aws::String &value)
void SetRuleWithinRuleGroup(const Aws::String &value)
SampledHTTPRequest & WithRuleWithinRuleGroup(const Aws::String &value)
SampledHTTPRequest & WithRuleWithinRuleGroup(const char *value)
void SetAction(const char *value)
AWS_WAF_API SampledHTTPRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API SampledHTTPRequest()
bool WeightHasBeenSet() const
SampledHTTPRequest & WithTimestamp(const Aws::Utils::DateTime &value)
SampledHTTPRequest & WithTimestamp(Aws::Utils::DateTime &&value)
SampledHTTPRequest & WithRuleWithinRuleGroup(Aws::String &&value)
void SetRuleWithinRuleGroup(const char *value)
void SetTimestamp(Aws::Utils::DateTime &&value)
long long GetWeight() const
SampledHTTPRequest & WithRequest(HTTPRequest &&value)
const Aws::Utils::DateTime & GetTimestamp() const
SampledHTTPRequest & WithAction(Aws::String &&value)
void SetWeight(long long value)
bool ActionHasBeenSet() const
void SetRequest(const HTTPRequest &value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_WAF_API SampledHTTPRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SampledHTTPRequest & WithWeight(long long value)
const HTTPRequest & GetRequest() const
SampledHTTPRequest & WithRequest(const HTTPRequest &value)
bool RuleWithinRuleGroupHasBeenSet() const
void SetAction(Aws::String &&value)
void SetAction(const Aws::String &value)
const Aws::String & GetAction() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue