AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
VpcOptions.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace NetworkManager {
17namespace Model {
18
25 public:
26 AWS_NETWORKMANAGER_API VpcOptions() = default;
27 AWS_NETWORKMANAGER_API VpcOptions(Aws::Utils::Json::JsonView jsonValue);
28 AWS_NETWORKMANAGER_API VpcOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline bool GetIpv6Support() const { return m_ipv6Support; }
36 inline bool Ipv6SupportHasBeenSet() const { return m_ipv6SupportHasBeenSet; }
37 inline void SetIpv6Support(bool value) {
38 m_ipv6SupportHasBeenSet = true;
39 m_ipv6Support = value;
40 }
41 inline VpcOptions& WithIpv6Support(bool value) {
42 SetIpv6Support(value);
43 return *this;
44 }
46
48
54 inline bool GetApplianceModeSupport() const { return m_applianceModeSupport; }
55 inline bool ApplianceModeSupportHasBeenSet() const { return m_applianceModeSupportHasBeenSet; }
56 inline void SetApplianceModeSupport(bool value) {
57 m_applianceModeSupportHasBeenSet = true;
58 m_applianceModeSupport = value;
59 }
62 return *this;
63 }
65
67
70 inline bool GetDnsSupport() const { return m_dnsSupport; }
71 inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
72 inline void SetDnsSupport(bool value) {
73 m_dnsSupportHasBeenSet = true;
74 m_dnsSupport = value;
75 }
76 inline VpcOptions& WithDnsSupport(bool value) {
77 SetDnsSupport(value);
78 return *this;
79 }
81
83
88 inline bool GetSecurityGroupReferencingSupport() const { return m_securityGroupReferencingSupport; }
89 inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
90 inline void SetSecurityGroupReferencingSupport(bool value) {
91 m_securityGroupReferencingSupportHasBeenSet = true;
92 m_securityGroupReferencingSupport = value;
93 }
96 return *this;
97 }
99 private:
100 bool m_ipv6Support{false};
101
102 bool m_applianceModeSupport{false};
103
104 bool m_dnsSupport{false};
105
106 bool m_securityGroupReferencingSupport{false};
107 bool m_ipv6SupportHasBeenSet = false;
108 bool m_applianceModeSupportHasBeenSet = false;
109 bool m_dnsSupportHasBeenSet = false;
110 bool m_securityGroupReferencingSupportHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace NetworkManager
115} // namespace Aws
VpcOptions & WithSecurityGroupReferencingSupport(bool value)
Definition VpcOptions.h:94
AWS_NETWORKMANAGER_API VpcOptions()=default
VpcOptions & WithApplianceModeSupport(bool value)
Definition VpcOptions.h:60
VpcOptions & WithIpv6Support(bool value)
Definition VpcOptions.h:41
AWS_NETWORKMANAGER_API VpcOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecurityGroupReferencingSupportHasBeenSet() const
Definition VpcOptions.h:89
void SetSecurityGroupReferencingSupport(bool value)
Definition VpcOptions.h:90
VpcOptions & WithDnsSupport(bool value)
Definition VpcOptions.h:76
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API VpcOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue