AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SizeConstraintSetUpdate.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/ChangeAction.h>
9#include <aws/waf-regional/model/SizeConstraint.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 WAFRegional
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAFREGIONAL_API SizeConstraintSetUpdate();
48 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const ChangeAction& GetAction() const{ return m_action; }
58 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
59 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
60 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
61 inline SizeConstraintSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
62 inline SizeConstraintSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
64
66
74 inline const SizeConstraint& GetSizeConstraint() const{ return m_sizeConstraint; }
75 inline bool SizeConstraintHasBeenSet() const { return m_sizeConstraintHasBeenSet; }
76 inline void SetSizeConstraint(const SizeConstraint& value) { m_sizeConstraintHasBeenSet = true; m_sizeConstraint = value; }
77 inline void SetSizeConstraint(SizeConstraint&& value) { m_sizeConstraintHasBeenSet = true; m_sizeConstraint = std::move(value); }
78 inline SizeConstraintSetUpdate& WithSizeConstraint(const SizeConstraint& value) { SetSizeConstraint(value); return *this;}
79 inline SizeConstraintSetUpdate& WithSizeConstraint(SizeConstraint&& value) { SetSizeConstraint(std::move(value)); return *this;}
81 private:
82
83 ChangeAction m_action;
84 bool m_actionHasBeenSet = false;
85
86 SizeConstraint m_sizeConstraint;
87 bool m_sizeConstraintHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace WAFRegional
92} // namespace Aws
SizeConstraintSetUpdate & WithAction(const ChangeAction &value)
SizeConstraintSetUpdate & WithAction(ChangeAction &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API SizeConstraintSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
SizeConstraintSetUpdate & WithSizeConstraint(SizeConstraint &&value)
AWS_WAFREGIONAL_API SizeConstraintSetUpdate(Aws::Utils::Json::JsonView jsonValue)
SizeConstraintSetUpdate & WithSizeConstraint(const SizeConstraint &value)
Aws::Utils::Json::JsonValue JsonValue