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/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECS_API NetworkInterface();
39
40
42
45 inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; }
46 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
47 inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; }
48 inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); }
49 inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); }
50 inline NetworkInterface& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;}
51 inline NetworkInterface& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
52 inline NetworkInterface& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
54
56
59 inline const Aws::String& GetPrivateIpv4Address() const{ return m_privateIpv4Address; }
60 inline bool PrivateIpv4AddressHasBeenSet() const { return m_privateIpv4AddressHasBeenSet; }
61 inline void SetPrivateIpv4Address(const Aws::String& value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address = value; }
62 inline void SetPrivateIpv4Address(Aws::String&& value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address = std::move(value); }
63 inline void SetPrivateIpv4Address(const char* value) { m_privateIpv4AddressHasBeenSet = true; m_privateIpv4Address.assign(value); }
64 inline NetworkInterface& WithPrivateIpv4Address(const Aws::String& value) { SetPrivateIpv4Address(value); return *this;}
65 inline NetworkInterface& WithPrivateIpv4Address(Aws::String&& value) { SetPrivateIpv4Address(std::move(value)); return *this;}
66 inline NetworkInterface& WithPrivateIpv4Address(const char* value) { SetPrivateIpv4Address(value); return *this;}
68
70
73 inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; }
74 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
75 inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; }
76 inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); }
77 inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); }
78 inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;}
79 inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;}
80 inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;}
82 private:
83
84 Aws::String m_attachmentId;
85 bool m_attachmentIdHasBeenSet = false;
86
87 Aws::String m_privateIpv4Address;
88 bool m_privateIpv4AddressHasBeenSet = false;
89
90 Aws::String m_ipv6Address;
91 bool m_ipv6AddressHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ECS
96} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue