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/CustomHTTPHeader.h>
56 inline void SetResponseCode(
int value) { m_responseCodeHasBeenSet =
true; m_responseCode = value; }
74 inline void SetCustomResponseBodyKey(
const char* value) { m_customResponseBodyKeyHasBeenSet =
true; m_customResponseBodyKey.assign(value); }
101 bool m_responseCodeHasBeenSet =
false;
104 bool m_customResponseBodyKeyHasBeenSet =
false;
107 bool m_responseHeadersHasBeenSet =
false;
CustomResponse & AddResponseHeaders(const CustomHTTPHeader &value)
const Aws::String & GetCustomResponseBodyKey() const
int GetResponseCode() const
CustomResponse & WithResponseHeaders(const Aws::Vector< CustomHTTPHeader > &value)
CustomResponse & WithCustomResponseBodyKey(const char *value)
void SetCustomResponseBodyKey(const Aws::String &value)
void SetCustomResponseBodyKey(const char *value)
void SetResponseHeaders(const Aws::Vector< CustomHTTPHeader > &value)
CustomResponse & WithCustomResponseBodyKey(Aws::String &&value)
AWS_WAFV2_API CustomResponse()
const Aws::Vector< CustomHTTPHeader > & GetResponseHeaders() const
void SetResponseHeaders(Aws::Vector< CustomHTTPHeader > &&value)
CustomResponse & WithResponseHeaders(Aws::Vector< CustomHTTPHeader > &&value)
CustomResponse & WithCustomResponseBodyKey(const Aws::String &value)
AWS_WAFV2_API CustomResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomResponse & AddResponseHeaders(CustomHTTPHeader &&value)
bool ResponseCodeHasBeenSet() const
bool ResponseHeadersHasBeenSet() const
void SetCustomResponseBodyKey(Aws::String &&value)
bool CustomResponseBodyKeyHasBeenSet() const
void SetResponseCode(int value)
CustomResponse & WithResponseCode(int value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API CustomResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue