7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsWafv2CustomHttpHeader.h>
52 template<
typename CustomResponseBodyKeyT = Aws::String>
53 void SetCustomResponseBodyKey(CustomResponseBodyKeyT&& value) { m_customResponseBodyKeyHasBeenSet =
true; m_customResponseBodyKey = std::forward<CustomResponseBodyKeyT>(value); }
54 template<
typename CustomResponseBodyKeyT = Aws::String>
67 inline void SetResponseCode(
int value) { m_responseCodeHasBeenSet =
true; m_responseCode = value; }
77 template<
typename ResponseHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
78 void SetResponseHeaders(ResponseHeadersT&& value) { m_responseHeadersHasBeenSet =
true; m_responseHeaders = std::forward<ResponseHeadersT>(value); }
79 template<
typename ResponseHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
81 template<
typename ResponseHeadersT = AwsWafv2CustomHttpHeader>
87 bool m_customResponseBodyKeyHasBeenSet =
false;
89 int m_responseCode{0};
90 bool m_responseCodeHasBeenSet =
false;
93 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