7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/HTTPHeader.h>
56 template<
typename ClientIPT = Aws::String>
57 void SetClientIP(ClientIPT&& value) { m_clientIPHasBeenSet =
true; m_clientIP = std::forward<ClientIPT>(value); }
58 template<
typename ClientIPT = Aws::String>
71 template<
typename CountryT = Aws::String>
72 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
73 template<
typename CountryT = Aws::String>
84 template<
typename URIT = Aws::String>
85 void SetURI(URIT&& value) { m_uRIHasBeenSet =
true; m_uRI = std::forward<URIT>(value); }
86 template<
typename URIT = Aws::String>
96 template<
typename MethodT = Aws::String>
97 void SetMethod(MethodT&& value) { m_methodHasBeenSet =
true; m_method = std::forward<MethodT>(value); }
98 template<
typename MethodT = Aws::String>
109 template<
typename HTTPVersionT = Aws::String>
110 void SetHTTPVersion(HTTPVersionT&& value) { m_hTTPVersionHasBeenSet =
true; m_hTTPVersion = std::forward<HTTPVersionT>(value); }
111 template<
typename HTTPVersionT = Aws::String>
122 template<
typename HeadersT = Aws::Vector<HTTPHeader>>
123 void SetHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers = std::forward<HeadersT>(value); }
124 template<
typename HeadersT = Aws::Vector<HTTPHeader>>
126 template<
typename HeadersT = HTTPHeader>
127 HTTPRequest&
AddHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers.emplace_back(std::forward<HeadersT>(value));
return *
this; }
132 bool m_clientIPHasBeenSet =
false;
135 bool m_countryHasBeenSet =
false;
138 bool m_uRIHasBeenSet =
false;
141 bool m_methodHasBeenSet =
false;
144 bool m_hTTPVersionHasBeenSet =
false;
147 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