AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
StaticIpConnectionInfo.h
Go to the documentation of this file.
1
6#pragma once
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 Panorama
23{
24namespace Model
25{
26
33 {
34 public:
39
40
44 inline const Aws::String& GetDefaultGateway() const{ return m_defaultGateway; }
45
49 inline bool DefaultGatewayHasBeenSet() const { return m_defaultGatewayHasBeenSet; }
50
54 inline void SetDefaultGateway(const Aws::String& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = value; }
55
59 inline void SetDefaultGateway(Aws::String&& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = std::move(value); }
60
64 inline void SetDefaultGateway(const char* value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway.assign(value); }
65
69 inline StaticIpConnectionInfo& WithDefaultGateway(const Aws::String& value) { SetDefaultGateway(value); return *this;}
70
74 inline StaticIpConnectionInfo& WithDefaultGateway(Aws::String&& value) { SetDefaultGateway(std::move(value)); return *this;}
75
79 inline StaticIpConnectionInfo& WithDefaultGateway(const char* value) { SetDefaultGateway(value); return *this;}
80
81
85 inline const Aws::Vector<Aws::String>& GetDns() const{ return m_dns; }
86
90 inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; }
91
95 inline void SetDns(const Aws::Vector<Aws::String>& value) { m_dnsHasBeenSet = true; m_dns = value; }
96
100 inline void SetDns(Aws::Vector<Aws::String>&& value) { m_dnsHasBeenSet = true; m_dns = std::move(value); }
101
105 inline StaticIpConnectionInfo& WithDns(const Aws::Vector<Aws::String>& value) { SetDns(value); return *this;}
106
110 inline StaticIpConnectionInfo& WithDns(Aws::Vector<Aws::String>&& value) { SetDns(std::move(value)); return *this;}
111
115 inline StaticIpConnectionInfo& AddDns(const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.push_back(value); return *this; }
116
120 inline StaticIpConnectionInfo& AddDns(Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.push_back(std::move(value)); return *this; }
121
125 inline StaticIpConnectionInfo& AddDns(const char* value) { m_dnsHasBeenSet = true; m_dns.push_back(value); return *this; }
126
127
131 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
132
136 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
137
141 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
142
146 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
147
151 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
152
156 inline StaticIpConnectionInfo& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
157
161 inline StaticIpConnectionInfo& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
162
166 inline StaticIpConnectionInfo& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
167
168
172 inline const Aws::String& GetMask() const{ return m_mask; }
173
177 inline bool MaskHasBeenSet() const { return m_maskHasBeenSet; }
178
182 inline void SetMask(const Aws::String& value) { m_maskHasBeenSet = true; m_mask = value; }
183
187 inline void SetMask(Aws::String&& value) { m_maskHasBeenSet = true; m_mask = std::move(value); }
188
192 inline void SetMask(const char* value) { m_maskHasBeenSet = true; m_mask.assign(value); }
193
197 inline StaticIpConnectionInfo& WithMask(const Aws::String& value) { SetMask(value); return *this;}
198
202 inline StaticIpConnectionInfo& WithMask(Aws::String&& value) { SetMask(std::move(value)); return *this;}
203
207 inline StaticIpConnectionInfo& WithMask(const char* value) { SetMask(value); return *this;}
208
209 private:
210
211 Aws::String m_defaultGateway;
212 bool m_defaultGatewayHasBeenSet = false;
213
215 bool m_dnsHasBeenSet = false;
216
217 Aws::String m_ipAddress;
218 bool m_ipAddressHasBeenSet = false;
219
220 Aws::String m_mask;
221 bool m_maskHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace Panorama
226} // namespace Aws
#define AWS_PANORAMA_API
StaticIpConnectionInfo & WithMask(Aws::String &&value)
StaticIpConnectionInfo & AddDns(const Aws::String &value)
StaticIpConnectionInfo & AddDns(const char *value)
StaticIpConnectionInfo & WithMask(const char *value)
StaticIpConnectionInfo & WithIpAddress(const char *value)
void SetDns(Aws::Vector< Aws::String > &&value)
void SetDefaultGateway(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetDns() const
StaticIpConnectionInfo & WithDns(const Aws::Vector< Aws::String > &value)
StaticIpConnectionInfo & AddDns(Aws::String &&value)
void SetDns(const Aws::Vector< Aws::String > &value)
StaticIpConnectionInfo & WithIpAddress(const Aws::String &value)
StaticIpConnectionInfo & WithDefaultGateway(const char *value)
StaticIpConnectionInfo & WithMask(const Aws::String &value)
StaticIpConnectionInfo & WithDefaultGateway(Aws::String &&value)
StaticIpConnectionInfo & WithDns(Aws::Vector< Aws::String > &&value)
StaticIpConnectionInfo & WithIpAddress(Aws::String &&value)
StaticIpConnectionInfo & WithDefaultGateway(const Aws::String &value)
AWS_PANORAMA_API StaticIpConnectionInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API StaticIpConnectionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector