7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/waf/WAF_EXPORTS.h>
10#include <aws/waf/model/HTTPHeader.h>
58 template <
typename ClientIPT = Aws::String>
60 m_clientIPHasBeenSet =
true;
61 m_clientIP = std::forward<ClientIPT>(value);
63 template <
typename ClientIPT = Aws::String>
79 template <
typename CountryT = Aws::String>
81 m_countryHasBeenSet =
true;
82 m_country = std::forward<CountryT>(value);
84 template <
typename CountryT = Aws::String>
98 template <
typename URIT = Aws::String>
100 m_uRIHasBeenSet =
true;
101 m_uRI = std::forward<URIT>(value);
103 template <
typename URIT = Aws::String>
105 SetURI(std::forward<URIT>(value));
119 template <
typename MethodT = Aws::String>
121 m_methodHasBeenSet =
true;
122 m_method = std::forward<MethodT>(value);
124 template <
typename MethodT = Aws::String>
138 template <
typename HTTPVersionT = Aws::String>
140 m_hTTPVersionHasBeenSet =
true;
141 m_hTTPVersion = std::forward<HTTPVersionT>(value);
143 template <
typename HTTPVersionT = Aws::String>
157 template <
typename HeadersT = Aws::Vector<HTTPHeader>>
159 m_headersHasBeenSet =
true;
160 m_headers = std::forward<HeadersT>(value);
162 template <
typename HeadersT = Aws::Vector<HTTPHeader>>
167 template <
typename HeadersT = HTTPHeader>
169 m_headersHasBeenSet =
true;
170 m_headers.emplace_back(std::forward<HeadersT>(value));
186 bool m_clientIPHasBeenSet =
false;
187 bool m_countryHasBeenSet =
false;
188 bool m_uRIHasBeenSet =
false;
189 bool m_methodHasBeenSet =
false;
190 bool m_hTTPVersionHasBeenSet =
false;
191 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