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/robomaker/RoboMaker_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 RoboMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ROBOMAKER_API NetworkInterface();
35 AWS_ROBOMAKER_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
45 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
46 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
47 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
48 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
49 inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
50 inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
51 inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
53
55
58 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
59 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
60 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
61 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
62 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
63 inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
64 inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
65 inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
67
69
72 inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; }
73 inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
74 inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; }
75 inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); }
76 inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); }
77 inline NetworkInterface& WithPublicIpAddress(const Aws::String& value) { SetPublicIpAddress(value); return *this;}
78 inline NetworkInterface& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;}
79 inline NetworkInterface& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;}
81 private:
82
83 Aws::String m_networkInterfaceId;
84 bool m_networkInterfaceIdHasBeenSet = false;
85
86 Aws::String m_privateIpAddress;
87 bool m_privateIpAddressHasBeenSet = false;
88
89 Aws::String m_publicIpAddress;
90 bool m_publicIpAddressHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace RoboMaker
95} // namespace Aws
const Aws::String & GetNetworkInterfaceId() const
void SetPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
void SetNetworkInterfaceId(Aws::String &&value)
AWS_ROBOMAKER_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrivateIpAddress(const Aws::String &value)
void SetPrivateIpAddress(const char *value)
void SetNetworkInterfaceId(const char *value)
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetPublicIpAddress(Aws::String &&value)
NetworkInterface & WithPrivateIpAddress(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
AWS_ROBOMAKER_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithPublicIpAddress(const Aws::String &value)
NetworkInterface & WithPublicIpAddress(Aws::String &&value)
const Aws::String & GetPrivateIpAddress() const
const Aws::String & GetPublicIpAddress() const
NetworkInterface & WithPublicIpAddress(const char *value)
void SetPublicIpAddress(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue