7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsWafv2CustomHttpHeader.h>
46 template <
typename CustomResponseBodyKeyT = Aws::String>
48 m_customResponseBodyKeyHasBeenSet =
true;
49 m_customResponseBodyKey = std::forward<CustomResponseBodyKeyT>(value);
51 template <
typename CustomResponseBodyKeyT = Aws::String>
68 m_responseCodeHasBeenSet =
true;
69 m_responseCode = value;
83 template <
typename ResponseHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
85 m_responseHeadersHasBeenSet =
true;
86 m_responseHeaders = std::forward<ResponseHeadersT>(value);
88 template <
typename ResponseHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
93 template <
typename ResponseHeadersT = AwsWafv2CustomHttpHeader>
95 m_responseHeadersHasBeenSet =
true;
96 m_responseHeaders.emplace_back(std::forward<ResponseHeadersT>(value));
103 int m_responseCode{0};
106 bool m_customResponseBodyKeyHasBeenSet =
false;
107 bool m_responseCodeHasBeenSet =
false;
108 bool m_responseHeadersHasBeenSet =
false;
void SetCustomResponseBodyKey(CustomResponseBodyKeyT &&value)
const Aws::String & GetCustomResponseBodyKey() const
AWS_SECURITYHUB_API AwsWafv2CustomResponseDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2CustomResponseDetails & AddResponseHeaders(ResponseHeadersT &&value)
bool ResponseCodeHasBeenSet() const
void SetResponseCode(int value)
AWS_SECURITYHUB_API AwsWafv2CustomResponseDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomResponseBodyKeyHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafv2CustomResponseDetails & WithCustomResponseBodyKey(CustomResponseBodyKeyT &&value)
const Aws::Vector< AwsWafv2CustomHttpHeader > & GetResponseHeaders() const
bool ResponseHeadersHasBeenSet() const
AWS_SECURITYHUB_API AwsWafv2CustomResponseDetails()=default
AwsWafv2CustomResponseDetails & WithResponseCode(int value)
int GetResponseCode() const
AwsWafv2CustomResponseDetails & WithResponseHeaders(ResponseHeadersT &&value)
void SetResponseHeaders(ResponseHeadersT &&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