AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IPSetUpdate.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/IPSetDescriptor.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
42 {
43 public:
44 AWS_WAFREGIONAL_API IPSetUpdate();
45 AWS_WAFREGIONAL_API IPSetUpdate(Aws::Utils::Json::JsonView jsonValue);
46 AWS_WAFREGIONAL_API IPSetUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const ChangeAction& GetAction() const{ return m_action; }
56 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
58 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
59 inline IPSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
60 inline IPSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
62
64
68 inline const IPSetDescriptor& GetIPSetDescriptor() const{ return m_iPSetDescriptor; }
69 inline bool IPSetDescriptorHasBeenSet() const { return m_iPSetDescriptorHasBeenSet; }
70 inline void SetIPSetDescriptor(const IPSetDescriptor& value) { m_iPSetDescriptorHasBeenSet = true; m_iPSetDescriptor = value; }
71 inline void SetIPSetDescriptor(IPSetDescriptor&& value) { m_iPSetDescriptorHasBeenSet = true; m_iPSetDescriptor = std::move(value); }
72 inline IPSetUpdate& WithIPSetDescriptor(const IPSetDescriptor& value) { SetIPSetDescriptor(value); return *this;}
73 inline IPSetUpdate& WithIPSetDescriptor(IPSetDescriptor&& value) { SetIPSetDescriptor(std::move(value)); return *this;}
75 private:
76
77 ChangeAction m_action;
78 bool m_actionHasBeenSet = false;
79
80 IPSetDescriptor m_iPSetDescriptor;
81 bool m_iPSetDescriptorHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace WAFRegional
86} // namespace Aws
const ChangeAction & GetAction() const
Definition IPSetUpdate.h:55
IPSetUpdate & WithIPSetDescriptor(const IPSetDescriptor &value)
Definition IPSetUpdate.h:72
const IPSetDescriptor & GetIPSetDescriptor() const
Definition IPSetUpdate.h:68
void SetIPSetDescriptor(IPSetDescriptor &&value)
Definition IPSetUpdate.h:71
void SetAction(const ChangeAction &value)
Definition IPSetUpdate.h:57
void SetIPSetDescriptor(const IPSetDescriptor &value)
Definition IPSetUpdate.h:70
AWS_WAFREGIONAL_API IPSetUpdate()
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
IPSetUpdate & WithAction(ChangeAction &&value)
Definition IPSetUpdate.h:60
IPSetUpdate & WithIPSetDescriptor(IPSetDescriptor &&value)
Definition IPSetUpdate.h:73
AWS_WAFREGIONAL_API IPSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ChangeAction &&value)
Definition IPSetUpdate.h:58
AWS_WAFREGIONAL_API IPSetUpdate(Aws::Utils::Json::JsonView jsonValue)
IPSetUpdate & WithAction(const ChangeAction &value)
Definition IPSetUpdate.h:59
Aws::Utils::Json::JsonValue JsonValue