AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomRequestHandling.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/model/CustomHTTPHeader.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 WAFV2
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_WAFV2_API CustomRequestHandling();
45 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
56 inline const Aws::Vector<CustomHTTPHeader>& GetInsertHeaders() const{ return m_insertHeaders; }
57 inline bool InsertHeadersHasBeenSet() const { return m_insertHeadersHasBeenSet; }
58 inline void SetInsertHeaders(const Aws::Vector<CustomHTTPHeader>& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders = value; }
59 inline void SetInsertHeaders(Aws::Vector<CustomHTTPHeader>&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders = std::move(value); }
62 inline CustomRequestHandling& AddInsertHeaders(const CustomHTTPHeader& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders.push_back(value); return *this; }
63 inline CustomRequestHandling& AddInsertHeaders(CustomHTTPHeader&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders.push_back(std::move(value)); return *this; }
65 private:
66
67 Aws::Vector<CustomHTTPHeader> m_insertHeaders;
68 bool m_insertHeadersHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WAFV2
73} // namespace Aws
CustomRequestHandling & AddInsertHeaders(CustomHTTPHeader &&value)
const Aws::Vector< CustomHTTPHeader > & GetInsertHeaders() const
void SetInsertHeaders(const Aws::Vector< CustomHTTPHeader > &value)
AWS_WAFV2_API CustomRequestHandling(Aws::Utils::Json::JsonView jsonValue)
CustomRequestHandling & WithInsertHeaders(const Aws::Vector< CustomHTTPHeader > &value)
CustomRequestHandling & AddInsertHeaders(const CustomHTTPHeader &value)
CustomRequestHandling & WithInsertHeaders(Aws::Vector< CustomHTTPHeader > &&value)
void SetInsertHeaders(Aws::Vector< CustomHTTPHeader > &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API CustomRequestHandling & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue