7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/HTTPHeader.h>
50 template <
typename ClientIPT = Aws::String>
52 m_clientIPHasBeenSet =
true;
53 m_clientIP = std::forward<ClientIPT>(value);
55 template <
typename ClientIPT = Aws::String>
71 template <
typename CountryT = Aws::String>
73 m_countryHasBeenSet =
true;
74 m_country = std::forward<CountryT>(value);
76 template <
typename CountryT = Aws::String>
90 template <
typename URIT = Aws::String>
92 m_uRIHasBeenSet =
true;
93 m_uRI = std::forward<URIT>(value);
95 template <
typename URIT = Aws::String>
97 SetURI(std::forward<URIT>(value));
108 template <
typename MethodT = Aws::String>
110 m_methodHasBeenSet =
true;
111 m_method = std::forward<MethodT>(value);
113 template <
typename MethodT = Aws::String>
127 template <
typename HTTPVersionT = Aws::String>
129 m_hTTPVersionHasBeenSet =
true;
130 m_hTTPVersion = std::forward<HTTPVersionT>(value);
132 template <
typename HTTPVersionT = Aws::String>
146 template <
typename HeadersT = Aws::Vector<HTTPHeader>>
148 m_headersHasBeenSet =
true;
149 m_headers = std::forward<HeadersT>(value);
151 template <
typename HeadersT = Aws::Vector<HTTPHeader>>
156 template <
typename HeadersT = HTTPHeader>
158 m_headersHasBeenSet =
true;
159 m_headers.emplace_back(std::forward<HeadersT>(value));
175 bool m_clientIPHasBeenSet =
false;
176 bool m_countryHasBeenSet =
false;
177 bool m_uRIHasBeenSet =
false;
178 bool m_methodHasBeenSet =
false;
179 bool m_hTTPVersionHasBeenSet =
false;
180 bool m_headersHasBeenSet =
false;
bool HTTPVersionHasBeenSet() const
HTTPRequest & AddHeaders(HeadersT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
HTTPRequest & WithClientIP(ClientIPT &&value)
void SetClientIP(ClientIPT &&value)
HTTPRequest & WithCountry(CountryT &&value)
void SetCountry(CountryT &&value)
void SetHeaders(HeadersT &&value)
HTTPRequest & WithHTTPVersion(HTTPVersionT &&value)
const Aws::String & GetHTTPVersion() const
void SetHTTPVersion(HTTPVersionT &&value)
bool CountryHasBeenSet() const
HTTPRequest & WithURI(URIT &&value)
HTTPRequest & WithMethod(MethodT &&value)
AWS_WAFV2_API HTTPRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API HTTPRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< HTTPHeader > & GetHeaders() const
const Aws::String & GetMethod() const
void SetMethod(MethodT &&value)
bool HeadersHasBeenSet() const
const Aws::String & GetCountry() const
HTTPRequest & WithHeaders(HeadersT &&value)
void SetURI(URIT &&value)
bool MethodHasBeenSet() const
const Aws::String & GetURI() const
AWS_WAFV2_API HTTPRequest()=default
bool URIHasBeenSet() const
const Aws::String & GetClientIP() const
bool ClientIPHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue