7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/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;
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool RequestHasBeenSet() const
AWS_WAFREGIONAL_API SampledHTTPRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTimestamp() const
bool ActionHasBeenSet() const
AWS_WAFREGIONAL_API SampledHTTPRequest()
void SetRuleWithinRuleGroup(const Aws::String &value)
bool TimestampHasBeenSet() const
void SetRuleWithinRuleGroup(Aws::String &&value)
SampledHTTPRequest & WithRuleWithinRuleGroup(const Aws::String &value)
SampledHTTPRequest & WithTimestamp(Aws::Utils::DateTime &&value)
SampledHTTPRequest & WithTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetAction() const
void SetRequest(const HTTPRequest &value)
SampledHTTPRequest & WithAction(Aws::String &&value)
long long GetWeight() const
void SetWeight(long long value)
AWS_WAFREGIONAL_API SampledHTTPRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SampledHTTPRequest & WithAction(const char *value)
void SetAction(const char *value)
SampledHTTPRequest & WithWeight(long long value)
SampledHTTPRequest & WithRuleWithinRuleGroup(Aws::String &&value)
void SetTimestamp(Aws::Utils::DateTime &&value)
SampledHTTPRequest & WithRequest(const HTTPRequest &value)
SampledHTTPRequest & WithRuleWithinRuleGroup(const char *value)
void SetTimestamp(const Aws::Utils::DateTime &value)
bool RuleWithinRuleGroupHasBeenSet() const
SampledHTTPRequest & WithAction(const Aws::String &value)
SampledHTTPRequest & WithRequest(HTTPRequest &&value)
const HTTPRequest & GetRequest() const
const Aws::String & GetRuleWithinRuleGroup() const
bool WeightHasBeenSet() const
void SetRuleWithinRuleGroup(const char *value)
void SetAction(Aws::String &&value)
void SetRequest(HTTPRequest &&value)
void SetAction(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue