AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentNetworkInfo.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_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 ApplicationDiscoveryService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo();
36 AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
46 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
47 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
48 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
49 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
50 inline AgentNetworkInfo& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
51 inline AgentNetworkInfo& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
52 inline AgentNetworkInfo& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
54
56
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 AgentNetworkInfo& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
65 inline AgentNetworkInfo& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
66 inline AgentNetworkInfo& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
68 private:
69
70 Aws::String m_ipAddress;
71 bool m_ipAddressHasBeenSet = false;
72
73 Aws::String m_macAddress;
74 bool m_macAddressHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ApplicationDiscoveryService
79} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo()
AgentNetworkInfo & WithIpAddress(const char *value)
AgentNetworkInfo & WithIpAddress(const Aws::String &value)
AgentNetworkInfo & WithMacAddress(const char *value)
AgentNetworkInfo & WithIpAddress(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentNetworkInfo(Aws::Utils::Json::JsonView jsonValue)
AgentNetworkInfo & WithMacAddress(Aws::String &&value)
AgentNetworkInfo & WithMacAddress(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue