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/storagegateway/StorageGateway_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 StorageGateway
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_STORAGEGATEWAY_API NetworkInterface();
35 AWS_STORAGEGATEWAY_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
36 AWS_STORAGEGATEWAY_API NetworkInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetIpv4Address() const{ return m_ipv4Address; }
45 inline bool Ipv4AddressHasBeenSet() const { return m_ipv4AddressHasBeenSet; }
46 inline void SetIpv4Address(const Aws::String& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = value; }
47 inline void SetIpv4Address(Aws::String&& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = std::move(value); }
48 inline void SetIpv4Address(const char* value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address.assign(value); }
49 inline NetworkInterface& WithIpv4Address(const Aws::String& value) { SetIpv4Address(value); return *this;}
50 inline NetworkInterface& WithIpv4Address(Aws::String&& value) { SetIpv4Address(std::move(value)); return *this;}
51 inline NetworkInterface& WithIpv4Address(const char* value) { SetIpv4Address(value); return *this;}
53
55
59 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
60 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
61 inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
62 inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
63 inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
64 inline NetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
65 inline NetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
66 inline NetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
68
70
74 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
75 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
76 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
77 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
78 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
79 inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
80 inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
81 inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
83 private:
84
85 Aws::String m_ipv4Address;
86 bool m_ipv4AddressHasBeenSet = false;
87
88 Aws::String m_macAddress;
89 bool m_macAddressHasBeenSet = false;
90
91 Aws::String m_ipv6Address;
92 bool m_ipv6AddressHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace StorageGateway
97} // namespace Aws
NetworkInterface & WithIpv6Address(const char *value)
NetworkInterface & WithIpv4Address(Aws::String &&value)
AWS_STORAGEGATEWAY_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
void SetMacAddress(const Aws::String &value)
void SetIpv4Address(const Aws::String &value)
NetworkInterface & WithMacAddress(Aws::String &&value)
void SetIpv6Address(const Aws::String &value)
NetworkInterface & WithMacAddress(const Aws::String &value)
NetworkInterface & WithIpv4Address(const Aws::String &value)
NetworkInterface & WithIpv6Address(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & WithMacAddress(const char *value)
NetworkInterface & WithIpv6Address(const Aws::String &value)
NetworkInterface & WithIpv4Address(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue