7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf-regional/model/HTTPHeader.h>
66 inline void SetClientIP(
const char* value) { m_clientIPHasBeenSet =
true; m_clientIP.assign(value); }
83 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
97 inline void SetURI(
Aws::String&& value) { m_uRIHasBeenSet =
true; m_uRI = std::move(value); }
98 inline void SetURI(
const char* value) { m_uRIHasBeenSet =
true; m_uRI.assign(value); }
115 inline void SetMethod(
const char* value) { m_methodHasBeenSet =
true; m_method.assign(value); }
130 inline void SetHTTPVersion(
const char* value) { m_hTTPVersionHasBeenSet =
true; m_hTTPVersion.assign(value); }
153 bool m_clientIPHasBeenSet =
false;
156 bool m_countryHasBeenSet =
false;
159 bool m_uRIHasBeenSet =
false;
162 bool m_methodHasBeenSet =
false;
165 bool m_hTTPVersionHasBeenSet =
false;
168 bool m_headersHasBeenSet =
false;
bool CountryHasBeenSet() const
HTTPRequest & WithMethod(const char *value)
void SetCountry(Aws::String &&value)
void SetURI(const Aws::String &value)
bool HeadersHasBeenSet() const
void SetHeaders(Aws::Vector< HTTPHeader > &&value)
HTTPRequest & AddHeaders(const HTTPHeader &value)
void SetClientIP(const char *value)
void SetMethod(const char *value)
HTTPRequest & WithURI(const Aws::String &value)
const Aws::String & GetMethod() const
HTTPRequest & WithMethod(Aws::String &&value)
void SetHTTPVersion(const char *value)
void SetCountry(const Aws::String &value)
bool ClientIPHasBeenSet() const
AWS_WAFREGIONAL_API HTTPRequest(Aws::Utils::Json::JsonView jsonValue)
HTTPRequest & WithCountry(const char *value)
void SetClientIP(const Aws::String &value)
void SetURI(Aws::String &&value)
HTTPRequest & WithURI(Aws::String &&value)
HTTPRequest & WithHTTPVersion(const char *value)
HTTPRequest & WithMethod(const Aws::String &value)
const Aws::Vector< HTTPHeader > & GetHeaders() const
HTTPRequest & WithClientIP(const char *value)
bool HTTPVersionHasBeenSet() const
void SetCountry(const char *value)
HTTPRequest & WithHeaders(const Aws::Vector< HTTPHeader > &value)
AWS_WAFREGIONAL_API HTTPRequest()
void SetMethod(const Aws::String &value)
HTTPRequest & WithHTTPVersion(const Aws::String &value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetURI(const char *value)
const Aws::String & GetClientIP() const
void SetHeaders(const Aws::Vector< HTTPHeader > &value)
HTTPRequest & WithClientIP(Aws::String &&value)
bool MethodHasBeenSet() const
HTTPRequest & WithCountry(const Aws::String &value)
HTTPRequest & WithURI(const char *value)
HTTPRequest & AddHeaders(HTTPHeader &&value)
HTTPRequest & WithClientIP(const Aws::String &value)
const Aws::String & GetHTTPVersion() const
HTTPRequest & WithCountry(Aws::String &&value)
HTTPRequest & WithHTTPVersion(Aws::String &&value)
bool URIHasBeenSet() const
HTTPRequest & WithHeaders(Aws::Vector< HTTPHeader > &&value)
AWS_WAFREGIONAL_API HTTPRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCountry() const
const Aws::String & GetURI() const
void SetMethod(Aws::String &&value)
void SetHTTPVersion(const Aws::String &value)
void SetHTTPVersion(Aws::String &&value)
void SetClientIP(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue