AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StaticIpConnectionInfo.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API StaticIpConnectionInfo();
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDefaultGateway() const{ return m_defaultGateway; }
46 inline bool DefaultGatewayHasBeenSet() const { return m_defaultGatewayHasBeenSet; }
47 inline void SetDefaultGateway(const Aws::String& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = value; }
48 inline void SetDefaultGateway(Aws::String&& value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway = std::move(value); }
49 inline void SetDefaultGateway(const char* value) { m_defaultGatewayHasBeenSet = true; m_defaultGateway.assign(value); }
50 inline StaticIpConnectionInfo& WithDefaultGateway(const Aws::String& value) { SetDefaultGateway(value); return *this;}
51 inline StaticIpConnectionInfo& WithDefaultGateway(Aws::String&& value) { SetDefaultGateway(std::move(value)); return *this;}
52 inline StaticIpConnectionInfo& WithDefaultGateway(const char* value) { SetDefaultGateway(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetDns() const{ return m_dns; }
60 inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; }
61 inline void SetDns(const Aws::Vector<Aws::String>& value) { m_dnsHasBeenSet = true; m_dns = value; }
62 inline void SetDns(Aws::Vector<Aws::String>&& value) { m_dnsHasBeenSet = true; m_dns = std::move(value); }
63 inline StaticIpConnectionInfo& WithDns(const Aws::Vector<Aws::String>& value) { SetDns(value); return *this;}
64 inline StaticIpConnectionInfo& WithDns(Aws::Vector<Aws::String>&& value) { SetDns(std::move(value)); return *this;}
65 inline StaticIpConnectionInfo& AddDns(const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.push_back(value); return *this; }
66 inline StaticIpConnectionInfo& AddDns(Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.push_back(std::move(value)); return *this; }
67 inline StaticIpConnectionInfo& AddDns(const char* value) { m_dnsHasBeenSet = true; m_dns.push_back(value); return *this; }
69
71
74 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
75 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
76 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
77 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
78 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
79 inline StaticIpConnectionInfo& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
80 inline StaticIpConnectionInfo& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
81 inline StaticIpConnectionInfo& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
83
85
88 inline const Aws::String& GetMask() const{ return m_mask; }
89 inline bool MaskHasBeenSet() const { return m_maskHasBeenSet; }
90 inline void SetMask(const Aws::String& value) { m_maskHasBeenSet = true; m_mask = value; }
91 inline void SetMask(Aws::String&& value) { m_maskHasBeenSet = true; m_mask = std::move(value); }
92 inline void SetMask(const char* value) { m_maskHasBeenSet = true; m_mask.assign(value); }
93 inline StaticIpConnectionInfo& WithMask(const Aws::String& value) { SetMask(value); return *this;}
94 inline StaticIpConnectionInfo& WithMask(Aws::String&& value) { SetMask(std::move(value)); return *this;}
95 inline StaticIpConnectionInfo& WithMask(const char* value) { SetMask(value); return *this;}
97 private:
98
99 Aws::String m_defaultGateway;
100 bool m_defaultGatewayHasBeenSet = false;
101
103 bool m_dnsHasBeenSet = false;
104
105 Aws::String m_ipAddress;
106 bool m_ipAddressHasBeenSet = false;
107
108 Aws::String m_mask;
109 bool m_maskHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Panorama
114} // namespace Aws
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)
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
Aws::Utils::Json::JsonValue JsonValue