AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsWafv2CustomRequestHandlingDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsWafv2CustomHttpHeader.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<AwsWafv2CustomHttpHeader>& GetInsertHeaders() const { return m_insertHeaders; }
48 inline bool InsertHeadersHasBeenSet() const { return m_insertHeadersHasBeenSet; }
49 template<typename InsertHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
50 void SetInsertHeaders(InsertHeadersT&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders = std::forward<InsertHeadersT>(value); }
51 template<typename InsertHeadersT = Aws::Vector<AwsWafv2CustomHttpHeader>>
52 AwsWafv2CustomRequestHandlingDetails& WithInsertHeaders(InsertHeadersT&& value) { SetInsertHeaders(std::forward<InsertHeadersT>(value)); return *this;}
53 template<typename InsertHeadersT = AwsWafv2CustomHttpHeader>
54 AwsWafv2CustomRequestHandlingDetails& AddInsertHeaders(InsertHeadersT&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders.emplace_back(std::forward<InsertHeadersT>(value)); return *this; }
56 private:
57
59 bool m_insertHeadersHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SecurityHub
64} // namespace Aws
const Aws::Vector< AwsWafv2CustomHttpHeader > & GetInsertHeaders() const
AwsWafv2CustomRequestHandlingDetails & AddInsertHeaders(InsertHeadersT &&value)
AwsWafv2CustomRequestHandlingDetails & WithInsertHeaders(InsertHeadersT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails()=default
AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue