AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartyFirewallFirewallPolicy.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 FMS
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetFirewallPolicyId() const{ return m_firewallPolicyId; }
46 inline bool FirewallPolicyIdHasBeenSet() const { return m_firewallPolicyIdHasBeenSet; }
47 inline void SetFirewallPolicyId(const Aws::String& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = value; }
48 inline void SetFirewallPolicyId(Aws::String&& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = std::move(value); }
49 inline void SetFirewallPolicyId(const char* value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId.assign(value); }
51 inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyId(Aws::String&& value) { SetFirewallPolicyId(std::move(value)); return *this;}
52 inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyId(const char* value) { SetFirewallPolicyId(value); return *this;}
54
56
59 inline const Aws::String& GetFirewallPolicyName() const{ return m_firewallPolicyName; }
60 inline bool FirewallPolicyNameHasBeenSet() const { return m_firewallPolicyNameHasBeenSet; }
61 inline void SetFirewallPolicyName(const Aws::String& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = value; }
62 inline void SetFirewallPolicyName(Aws::String&& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = std::move(value); }
63 inline void SetFirewallPolicyName(const char* value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName.assign(value); }
66 inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;}
68 private:
69
70 Aws::String m_firewallPolicyId;
71 bool m_firewallPolicyIdHasBeenSet = false;
72
73 Aws::String m_firewallPolicyName;
74 bool m_firewallPolicyNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace FMS
79} // namespace Aws
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyId(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyId(const Aws::String &value)
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyName(Aws::String &&value)
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyId(const char *value)
AWS_FMS_API ThirdPartyFirewallFirewallPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyName(const Aws::String &value)
AWS_FMS_API ThirdPartyFirewallFirewallPolicy(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyFirewallFirewallPolicy & WithFirewallPolicyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue