AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NetworkInterface.h
Go to the documentation of this file.
1
6#pragma once
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 ECS
22{
23namespace Model
24{
25
33 {
34 public:
39
40
44 inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; }
45
49 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
50
54 inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; }
55
59 inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); }
60
64 inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); }
65
69 inline NetworkInterface& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;}
70
74 inline NetworkInterface& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
75
79 inline NetworkInterface& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
80
81
85 inline const Aws::String& GetPrivateIpv4Address() const{ return m_privateIpv4Address; }
86
90 inline bool PrivateIpv4AddressHasBeenSet() const { return m_privateIpv4AddressHasBeenSet; }
91
95 inline void SetPrivateIpv4Address(const Aws::String& value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address = value; }
96
100 inline void SetPrivateIpv4Address(Aws::String&& value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address = std::move(value); }
101
105 inline void SetPrivateIpv4Address(const char* value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address.assign(value); }
106
110 inline NetworkInterface& WithPrivateIpv4Address(const Aws::String& value) { SetPrivateIpv4Address(value); return *this;}
111
115 inline NetworkInterface& WithPrivateIpv4Address(Aws::String&& value) { SetPrivateIpv4Address(std::move(value)); return *this;}
116
120 inline NetworkInterface& WithPrivateIpv4Address(const char* value) { SetPrivateIpv4Address(value); return *this;}
121
122
126 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
127
131 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
132
136 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
137
141 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
142
146 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
147
151 inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
152
156 inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
157
161 inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
162
163 private:
164
165 Aws::String m_attachmentId;
166 bool m_attachmentIdHasBeenSet = false;
167
168 Aws::String m_privateIpv4Address;
169 bool m_privateIpv4AddressHasBeenSet = false;
170
171 Aws::String m_ipv6Address;
172 bool m_ipv6AddressHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace ECS
177} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetIpv6Address(Aws::String &&value)
const Aws::String & GetPrivateIpv4Address() const
void SetAttachmentId(const char *value)
NetworkInterface & WithIpv6Address(Aws::String &&value)
void SetPrivateIpv4Address(const char *value)
NetworkInterface & WithPrivateIpv4Address(Aws::String &&value)
NetworkInterface & WithPrivateIpv4Address(const Aws::String &value)
void SetIpv6Address(const char *value)
NetworkInterface & WithPrivateIpv4Address(const char *value)
void SetAttachmentId(const Aws::String &value)
void SetIpv6Address(const Aws::String &value)
const Aws::String & GetIpv6Address() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttachmentId(Aws::String &&value)
const Aws::String & GetAttachmentId() const
NetworkInterface & WithIpv6Address(const Aws::String &value)
NetworkInterface & WithAttachmentId(const char *value)
AWS_ECS_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithAttachmentId(const Aws::String &value)
NetworkInterface & WithIpv6Address(const char *value)
AWS_ECS_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithAttachmentId(Aws::String &&value)
void SetPrivateIpv4Address(Aws::String &&value)
void SetPrivateIpv4Address(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String