AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyOption.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/NetworkFirewallPolicy.h>
9#include <aws/fms/model/ThirdPartyFirewallPolicy.h>
10#include <aws/fms/model/NetworkAclCommonPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_FMS_API PolicyOption();
42
43
45
48 inline const NetworkFirewallPolicy& GetNetworkFirewallPolicy() const{ return m_networkFirewallPolicy; }
49 inline bool NetworkFirewallPolicyHasBeenSet() const { return m_networkFirewallPolicyHasBeenSet; }
50 inline void SetNetworkFirewallPolicy(const NetworkFirewallPolicy& value) { m_networkFirewallPolicyHasBeenSet = true; m_networkFirewallPolicy = value; }
51 inline void SetNetworkFirewallPolicy(NetworkFirewallPolicy&& value) { m_networkFirewallPolicyHasBeenSet = true; m_networkFirewallPolicy = std::move(value); }
53 inline PolicyOption& WithNetworkFirewallPolicy(NetworkFirewallPolicy&& value) { SetNetworkFirewallPolicy(std::move(value)); return *this;}
55
57
60 inline const ThirdPartyFirewallPolicy& GetThirdPartyFirewallPolicy() const{ return m_thirdPartyFirewallPolicy; }
61 inline bool ThirdPartyFirewallPolicyHasBeenSet() const { return m_thirdPartyFirewallPolicyHasBeenSet; }
62 inline void SetThirdPartyFirewallPolicy(const ThirdPartyFirewallPolicy& value) { m_thirdPartyFirewallPolicyHasBeenSet = true; m_thirdPartyFirewallPolicy = value; }
63 inline void SetThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy&& value) { m_thirdPartyFirewallPolicyHasBeenSet = true; m_thirdPartyFirewallPolicy = std::move(value); }
67
69
72 inline const NetworkAclCommonPolicy& GetNetworkAclCommonPolicy() const{ return m_networkAclCommonPolicy; }
73 inline bool NetworkAclCommonPolicyHasBeenSet() const { return m_networkAclCommonPolicyHasBeenSet; }
74 inline void SetNetworkAclCommonPolicy(const NetworkAclCommonPolicy& value) { m_networkAclCommonPolicyHasBeenSet = true; m_networkAclCommonPolicy = value; }
75 inline void SetNetworkAclCommonPolicy(NetworkAclCommonPolicy&& value) { m_networkAclCommonPolicyHasBeenSet = true; m_networkAclCommonPolicy = std::move(value); }
79 private:
80
81 NetworkFirewallPolicy m_networkFirewallPolicy;
82 bool m_networkFirewallPolicyHasBeenSet = false;
83
84 ThirdPartyFirewallPolicy m_thirdPartyFirewallPolicy;
85 bool m_thirdPartyFirewallPolicyHasBeenSet = false;
86
87 NetworkAclCommonPolicy m_networkAclCommonPolicy;
88 bool m_networkAclCommonPolicyHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace FMS
93} // namespace Aws
void SetNetworkAclCommonPolicy(NetworkAclCommonPolicy &&value)
void SetNetworkFirewallPolicy(NetworkFirewallPolicy &&value)
const NetworkFirewallPolicy & GetNetworkFirewallPolicy() const
AWS_FMS_API PolicyOption & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyOption & WithNetworkAclCommonPolicy(const NetworkAclCommonPolicy &value)
PolicyOption & WithThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy &&value)
bool NetworkAclCommonPolicyHasBeenSet() const
const ThirdPartyFirewallPolicy & GetThirdPartyFirewallPolicy() const
void SetThirdPartyFirewallPolicy(const ThirdPartyFirewallPolicy &value)
PolicyOption & WithNetworkFirewallPolicy(const NetworkFirewallPolicy &value)
void SetThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy &&value)
PolicyOption & WithNetworkAclCommonPolicy(NetworkAclCommonPolicy &&value)
PolicyOption & WithThirdPartyFirewallPolicy(const ThirdPartyFirewallPolicy &value)
bool ThirdPartyFirewallPolicyHasBeenSet() const
const NetworkAclCommonPolicy & GetNetworkAclCommonPolicy() const
bool NetworkFirewallPolicyHasBeenSet() const
AWS_FMS_API PolicyOption(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkFirewallPolicy(const NetworkFirewallPolicy &value)
void SetNetworkAclCommonPolicy(const NetworkAclCommonPolicy &value)
PolicyOption & WithNetworkFirewallPolicy(NetworkFirewallPolicy &&value)
Aws::Utils::Json::JsonValue JsonValue