AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NetworkInfo.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_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 MigrationHubStrategyRecommendations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo() = default;
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetInterfaceName() const { return m_interfaceName; }
47 inline bool InterfaceNameHasBeenSet() const { return m_interfaceNameHasBeenSet; }
48 template<typename InterfaceNameT = Aws::String>
49 void SetInterfaceName(InterfaceNameT&& value) { m_interfaceNameHasBeenSet = true; m_interfaceName = std::forward<InterfaceNameT>(value); }
50 template<typename InterfaceNameT = Aws::String>
51 NetworkInfo& WithInterfaceName(InterfaceNameT&& value) { SetInterfaceName(std::forward<InterfaceNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
60 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
61 template<typename IpAddressT = Aws::String>
62 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
63 template<typename IpAddressT = Aws::String>
64 NetworkInfo& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
66
68
72 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
73 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
74 template<typename MacAddressT = Aws::String>
75 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::forward<MacAddressT>(value); }
76 template<typename MacAddressT = Aws::String>
77 NetworkInfo& WithMacAddress(MacAddressT&& value) { SetMacAddress(std::forward<MacAddressT>(value)); return *this;}
79
81
85 inline const Aws::String& GetNetMask() const { return m_netMask; }
86 inline bool NetMaskHasBeenSet() const { return m_netMaskHasBeenSet; }
87 template<typename NetMaskT = Aws::String>
88 void SetNetMask(NetMaskT&& value) { m_netMaskHasBeenSet = true; m_netMask = std::forward<NetMaskT>(value); }
89 template<typename NetMaskT = Aws::String>
90 NetworkInfo& WithNetMask(NetMaskT&& value) { SetNetMask(std::forward<NetMaskT>(value)); return *this;}
92 private:
93
94 Aws::String m_interfaceName;
95 bool m_interfaceNameHasBeenSet = false;
96
97 Aws::String m_ipAddress;
98 bool m_ipAddressHasBeenSet = false;
99
100 Aws::String m_macAddress;
101 bool m_macAddressHasBeenSet = false;
102
103 Aws::String m_netMask;
104 bool m_netMaskHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace MigrationHubStrategyRecommendations
109} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo(Aws::Utils::Json::JsonView jsonValue)
NetworkInfo & WithInterfaceName(InterfaceNameT &&value)
Definition NetworkInfo.h:51
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NetworkInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue