AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInsertHeaders(const Aws::Vector<AwsWafv2CustomHttpHeader>& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders = value; }
50 inline void SetInsertHeaders(Aws::Vector<AwsWafv2CustomHttpHeader>&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders = std::move(value); }
53 inline AwsWafv2CustomRequestHandlingDetails& AddInsertHeaders(const AwsWafv2CustomHttpHeader& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders.push_back(value); return *this; }
54 inline AwsWafv2CustomRequestHandlingDetails& AddInsertHeaders(AwsWafv2CustomHttpHeader&& value) { m_insertHeadersHasBeenSet = true; m_insertHeaders.push_back(std::move(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 & WithInsertHeaders(Aws::Vector< AwsWafv2CustomHttpHeader > &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInsertHeaders(const Aws::Vector< AwsWafv2CustomHttpHeader > &value)
AwsWafv2CustomRequestHandlingDetails & AddInsertHeaders(AwsWafv2CustomHttpHeader &&value)
AwsWafv2CustomRequestHandlingDetails & WithInsertHeaders(const Aws::Vector< AwsWafv2CustomHttpHeader > &value)
void SetInsertHeaders(Aws::Vector< AwsWafv2CustomHttpHeader > &&value)
AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2CustomRequestHandlingDetails & AddInsertHeaders(const AwsWafv2CustomHttpHeader &value)
AWS_SECURITYHUB_API AwsWafv2CustomRequestHandlingDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue