AWS SDK for C++  1.9.124
AWS SDK for C++
AgentNetworkInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ApplicationDiscoveryService
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
45 
49  inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
50 
54  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
55 
59  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
60 
64  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
65 
69  inline AgentNetworkInfo& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
70 
74  inline AgentNetworkInfo& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
75 
79  inline AgentNetworkInfo& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
80 
81 
85  inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
86 
90  inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
91 
95  inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
96 
100  inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
101 
105  inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
106 
110  inline AgentNetworkInfo& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
111 
115  inline AgentNetworkInfo& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
116 
120  inline AgentNetworkInfo& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
121 
122  private:
123 
124  Aws::String m_ipAddress;
125  bool m_ipAddressHasBeenSet;
126 
127  Aws::String m_macAddress;
128  bool m_macAddressHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace ApplicationDiscoveryService
133 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetMacAddress
void SetMacAddress(const Aws::String &value)
Definition: AgentNetworkInfo.h:95
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithMacAddress
AgentNetworkInfo & WithMacAddress(const char *value)
Definition: AgentNetworkInfo.h:120
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithMacAddress
AgentNetworkInfo & WithMacAddress(Aws::String &&value)
Definition: AgentNetworkInfo.h:115
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::AgentNetworkInfo
AgentNetworkInfo(Aws::Utils::Json::JsonView jsonValue)
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithMacAddress
AgentNetworkInfo & WithMacAddress(const Aws::String &value)
Definition: AgentNetworkInfo.h:110
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetIpAddress
void SetIpAddress(const Aws::String &value)
Definition: AgentNetworkInfo.h:54
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::GetIpAddress
const Aws::String & GetIpAddress() const
Definition: AgentNetworkInfo.h:44
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::MacAddressHasBeenSet
bool MacAddressHasBeenSet() const
Definition: AgentNetworkInfo.h:90
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetIpAddress
void SetIpAddress(Aws::String &&value)
Definition: AgentNetworkInfo.h:59
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithIpAddress
AgentNetworkInfo & WithIpAddress(const Aws::String &value)
Definition: AgentNetworkInfo.h:69
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo
Definition: AgentNetworkInfo.h:33
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithIpAddress
AgentNetworkInfo & WithIpAddress(Aws::String &&value)
Definition: AgentNetworkInfo.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::AgentNetworkInfo
AgentNetworkInfo()
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::GetMacAddress
const Aws::String & GetMacAddress() const
Definition: AgentNetworkInfo.h:85
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::IpAddressHasBeenSet
bool IpAddressHasBeenSet() const
Definition: AgentNetworkInfo.h:49
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetMacAddress
void SetMacAddress(const char *value)
Definition: AgentNetworkInfo.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetIpAddress
void SetIpAddress(const char *value)
Definition: AgentNetworkInfo.h:64
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::SetMacAddress
void SetMacAddress(Aws::String &&value)
Definition: AgentNetworkInfo.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::operator=
AgentNetworkInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::AgentNetworkInfo::WithIpAddress
AgentNetworkInfo & WithIpAddress(const char *value)
Definition: AgentNetworkInfo.h:79
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28