AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterface.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_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 RedshiftServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFTSERVERLESS_API NetworkInterface();
36 AWS_REDSHIFTSERVERLESS_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REDSHIFTSERVERLESS_API NetworkInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
46 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
47 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
48 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
49 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
50 inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
51 inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
52 inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
54
56
59 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
60 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
61 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
62 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
63 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
64 inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
65 inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
66 inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
68
70
73 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
74 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
75 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
76 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
77 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
78 inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
79 inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
80 inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
82
84
87 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
88 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
89 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
90 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
91 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
92 inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
93 inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
94 inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
96
98
101 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
102 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
103 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
104 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
105 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
106 inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
107 inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
108 inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
110 private:
111
112 Aws::String m_availabilityZone;
113 bool m_availabilityZoneHasBeenSet = false;
114
115 Aws::String m_ipv6Address;
116 bool m_ipv6AddressHasBeenSet = false;
117
118 Aws::String m_networkInterfaceId;
119 bool m_networkInterfaceIdHasBeenSet = false;
120
121 Aws::String m_privateIpAddress;
122 bool m_privateIpAddressHasBeenSet = false;
123
124 Aws::String m_subnetId;
125 bool m_subnetIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace RedshiftServerless
130} // namespace Aws
NetworkInterface & WithAvailabilityZone(Aws::String &&value)
NetworkInterface & WithAvailabilityZone(const Aws::String &value)
void SetPrivateIpAddress(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithAvailabilityZone(const char *value)
NetworkInterface & WithSubnetId(const Aws::String &value)
NetworkInterface & WithIpv6Address(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(const char *value)
NetworkInterface & WithIpv6Address(const char *value)
NetworkInterface & WithSubnetId(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithIpv6Address(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API NetworkInterface()
NetworkInterface & WithSubnetId(const char *value)
void SetAvailabilityZone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue