AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Body.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/OversizeHandling.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
33 class Body
34 {
35 public:
36 AWS_WAFV2_API Body();
37 AWS_WAFV2_API Body(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WAFV2_API Body& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
64 inline const OversizeHandling& GetOversizeHandling() const{ return m_oversizeHandling; }
65 inline bool OversizeHandlingHasBeenSet() const { return m_oversizeHandlingHasBeenSet; }
66 inline void SetOversizeHandling(const OversizeHandling& value) { m_oversizeHandlingHasBeenSet = true; m_oversizeHandling = value; }
67 inline void SetOversizeHandling(OversizeHandling&& value) { m_oversizeHandlingHasBeenSet = true; m_oversizeHandling = std::move(value); }
68 inline Body& WithOversizeHandling(const OversizeHandling& value) { SetOversizeHandling(value); return *this;}
69 inline Body& WithOversizeHandling(OversizeHandling&& value) { SetOversizeHandling(std::move(value)); return *this;}
71 private:
72
73 OversizeHandling m_oversizeHandling;
74 bool m_oversizeHandlingHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WAFV2
79} // namespace Aws
bool OversizeHandlingHasBeenSet() const
Definition Body.h:65
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
Body & WithOversizeHandling(OversizeHandling &&value)
Definition Body.h:69
Body & WithOversizeHandling(const OversizeHandling &value)
Definition Body.h:68
AWS_WAFV2_API Body(Aws::Utils::Json::JsonView jsonValue)
void SetOversizeHandling(OversizeHandling &&value)
Definition Body.h:67
AWS_WAFV2_API Body & operator=(Aws::Utils::Json::JsonView jsonValue)
const OversizeHandling & GetOversizeHandling() const
Definition Body.h:64
AWS_WAFV2_API Body()
void SetOversizeHandling(const OversizeHandling &value)
Definition Body.h:66
Aws::Utils::Json::JsonValue JsonValue