7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf/model/HTTPHeader.h>
64 template<
typename ClientIPT = Aws::String>
65 void SetClientIP(ClientIPT&& value) { m_clientIPHasBeenSet =
true; m_clientIP = std::forward<ClientIPT>(value); }
66 template<
typename ClientIPT = Aws::String>
79 template<
typename CountryT = Aws::String>
80 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
81 template<
typename CountryT = Aws::String>
92 template<
typename URIT = Aws::String>
93 void SetURI(URIT&& value) { m_uRIHasBeenSet =
true; m_uRI = std::forward<URIT>(value); }
94 template<
typename URIT = Aws::String>
107 template<
typename MethodT = Aws::String>
108 void SetMethod(MethodT&& value) { m_methodHasBeenSet =
true; m_method = std::forward<MethodT>(value); }
109 template<
typename MethodT = Aws::String>
120 template<
typename HTTPVersionT = Aws::String>
121 void SetHTTPVersion(HTTPVersionT&& value) { m_hTTPVersionHasBeenSet =
true; m_hTTPVersion = std::forward<HTTPVersionT>(value); }
122 template<
typename HTTPVersionT = Aws::String>
133 template<
typename HeadersT = Aws::Vector<HTTPHeader>>
134 void SetHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers = std::forward<HeadersT>(value); }
135 template<
typename HeadersT = Aws::Vector<HTTPHeader>>
137 template<
typename HeadersT = HTTPHeader>
138 HTTPRequest&
AddHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers.emplace_back(std::forward<HeadersT>(value));
return *
this; }
143 bool m_clientIPHasBeenSet =
false;
146 bool m_countryHasBeenSet =
false;
149 bool m_uRIHasBeenSet =
false;
152 bool m_methodHasBeenSet =
false;
155 bool m_hTTPVersionHasBeenSet =
false;
158 bool m_headersHasBeenSet =
false;
HTTPRequest & WithHTTPVersion(HTTPVersionT &&value)
const Aws::String & GetCountry() const
HTTPRequest & WithHeaders(HeadersT &&value)
void SetHeaders(HeadersT &&value)
HTTPRequest & WithURI(URIT &&value)
void SetCountry(CountryT &&value)
const Aws::String & GetClientIP() const
bool ClientIPHasBeenSet() const
HTTPRequest & WithMethod(MethodT &&value)
void SetHTTPVersion(HTTPVersionT &&value)
AWS_WAF_API HTTPRequest()=default
AWS_WAF_API HTTPRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API HTTPRequest(Aws::Utils::Json::JsonView jsonValue)
void SetMethod(MethodT &&value)
HTTPRequest & WithCountry(CountryT &&value)
const Aws::String & GetMethod() const
HTTPRequest & WithClientIP(ClientIPT &&value)
bool HeadersHasBeenSet() const
bool MethodHasBeenSet() const
const Aws::String & GetURI() const
bool URIHasBeenSet() const
void SetClientIP(ClientIPT &&value)
HTTPRequest & AddHeaders(HeadersT &&value)
const Aws::String & GetHTTPVersion() const
bool CountryHasBeenSet() const
const Aws::Vector< HTTPHeader > & GetHeaders() const
bool HTTPVersionHasBeenSet() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetURI(URIT &&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