AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Connector.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/ConnectorStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sms/model/VmManagerType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sms/model/ConnectorCapability.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SMS
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SMS_API Connector() = default;
40 AWS_SMS_API Connector(Aws::Utils::Json::JsonView jsonValue);
43
44
46
49 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
50 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
51 template<typename ConnectorIdT = Aws::String>
52 void SetConnectorId(ConnectorIdT&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::forward<ConnectorIdT>(value); }
53 template<typename ConnectorIdT = Aws::String>
54 Connector& WithConnectorId(ConnectorIdT&& value) { SetConnectorId(std::forward<ConnectorIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetVersion() const { return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 template<typename VersionT = Aws::String>
64 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
65 template<typename VersionT = Aws::String>
66 Connector& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
68
70
73 inline ConnectorStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(ConnectorStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline Connector& WithStatus(ConnectorStatus value) { SetStatus(value); return *this;}
78
80
83 inline const Aws::Vector<ConnectorCapability>& GetCapabilityList() const { return m_capabilityList; }
84 inline bool CapabilityListHasBeenSet() const { return m_capabilityListHasBeenSet; }
85 template<typename CapabilityListT = Aws::Vector<ConnectorCapability>>
86 void SetCapabilityList(CapabilityListT&& value) { m_capabilityListHasBeenSet = true; m_capabilityList = std::forward<CapabilityListT>(value); }
87 template<typename CapabilityListT = Aws::Vector<ConnectorCapability>>
88 Connector& WithCapabilityList(CapabilityListT&& value) { SetCapabilityList(std::forward<CapabilityListT>(value)); return *this;}
89 inline Connector& AddCapabilityList(ConnectorCapability value) { m_capabilityListHasBeenSet = true; m_capabilityList.push_back(value); return *this; }
91
93
96 inline const Aws::String& GetVmManagerName() const { return m_vmManagerName; }
97 inline bool VmManagerNameHasBeenSet() const { return m_vmManagerNameHasBeenSet; }
98 template<typename VmManagerNameT = Aws::String>
99 void SetVmManagerName(VmManagerNameT&& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = std::forward<VmManagerNameT>(value); }
100 template<typename VmManagerNameT = Aws::String>
101 Connector& WithVmManagerName(VmManagerNameT&& value) { SetVmManagerName(std::forward<VmManagerNameT>(value)); return *this;}
103
105
108 inline VmManagerType GetVmManagerType() const { return m_vmManagerType; }
109 inline bool VmManagerTypeHasBeenSet() const { return m_vmManagerTypeHasBeenSet; }
110 inline void SetVmManagerType(VmManagerType value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = value; }
111 inline Connector& WithVmManagerType(VmManagerType value) { SetVmManagerType(value); return *this;}
113
115
118 inline const Aws::String& GetVmManagerId() const { return m_vmManagerId; }
119 inline bool VmManagerIdHasBeenSet() const { return m_vmManagerIdHasBeenSet; }
120 template<typename VmManagerIdT = Aws::String>
121 void SetVmManagerId(VmManagerIdT&& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = std::forward<VmManagerIdT>(value); }
122 template<typename VmManagerIdT = Aws::String>
123 Connector& WithVmManagerId(VmManagerIdT&& value) { SetVmManagerId(std::forward<VmManagerIdT>(value)); return *this;}
125
127
130 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
131 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
132 template<typename IpAddressT = Aws::String>
133 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
134 template<typename IpAddressT = Aws::String>
135 Connector& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
137
139
142 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
143 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
144 template<typename MacAddressT = Aws::String>
145 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::forward<MacAddressT>(value); }
146 template<typename MacAddressT = Aws::String>
147 Connector& WithMacAddress(MacAddressT&& value) { SetMacAddress(std::forward<MacAddressT>(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetAssociatedOn() const { return m_associatedOn; }
155 inline bool AssociatedOnHasBeenSet() const { return m_associatedOnHasBeenSet; }
156 template<typename AssociatedOnT = Aws::Utils::DateTime>
157 void SetAssociatedOn(AssociatedOnT&& value) { m_associatedOnHasBeenSet = true; m_associatedOn = std::forward<AssociatedOnT>(value); }
158 template<typename AssociatedOnT = Aws::Utils::DateTime>
159 Connector& WithAssociatedOn(AssociatedOnT&& value) { SetAssociatedOn(std::forward<AssociatedOnT>(value)); return *this;}
161 private:
162
163 Aws::String m_connectorId;
164 bool m_connectorIdHasBeenSet = false;
165
166 Aws::String m_version;
167 bool m_versionHasBeenSet = false;
168
170 bool m_statusHasBeenSet = false;
171
172 Aws::Vector<ConnectorCapability> m_capabilityList;
173 bool m_capabilityListHasBeenSet = false;
174
175 Aws::String m_vmManagerName;
176 bool m_vmManagerNameHasBeenSet = false;
177
178 VmManagerType m_vmManagerType{VmManagerType::NOT_SET};
179 bool m_vmManagerTypeHasBeenSet = false;
180
181 Aws::String m_vmManagerId;
182 bool m_vmManagerIdHasBeenSet = false;
183
184 Aws::String m_ipAddress;
185 bool m_ipAddressHasBeenSet = false;
186
187 Aws::String m_macAddress;
188 bool m_macAddressHasBeenSet = false;
189
190 Aws::Utils::DateTime m_associatedOn{};
191 bool m_associatedOnHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace SMS
196} // namespace Aws
Connector & AddCapabilityList(ConnectorCapability value)
Definition Connector.h:89
Connector & WithMacAddress(MacAddressT &&value)
Definition Connector.h:147
void SetMacAddress(MacAddressT &&value)
Definition Connector.h:145
void SetCapabilityList(CapabilityListT &&value)
Definition Connector.h:86
const Aws::String & GetVersion() const
Definition Connector.h:61
bool VmManagerNameHasBeenSet() const
Definition Connector.h:97
void SetConnectorId(ConnectorIdT &&value)
Definition Connector.h:52
bool StatusHasBeenSet() const
Definition Connector.h:74
AWS_SMS_API Connector(Aws::Utils::Json::JsonView jsonValue)
bool VmManagerTypeHasBeenSet() const
Definition Connector.h:109
Connector & WithVmManagerName(VmManagerNameT &&value)
Definition Connector.h:101
bool CapabilityListHasBeenSet() const
Definition Connector.h:84
const Aws::String & GetMacAddress() const
Definition Connector.h:142
AWS_SMS_API Connector()=default
bool AssociatedOnHasBeenSet() const
Definition Connector.h:155
bool ConnectorIdHasBeenSet() const
Definition Connector.h:50
void SetIpAddress(IpAddressT &&value)
Definition Connector.h:133
void SetVmManagerName(VmManagerNameT &&value)
Definition Connector.h:99
void SetVmManagerId(VmManagerIdT &&value)
Definition Connector.h:121
void SetVersion(VersionT &&value)
Definition Connector.h:64
Connector & WithConnectorId(ConnectorIdT &&value)
Definition Connector.h:54
AWS_SMS_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociatedOn(AssociatedOnT &&value)
Definition Connector.h:157
bool IpAddressHasBeenSet() const
Definition Connector.h:131
Connector & WithVmManagerId(VmManagerIdT &&value)
Definition Connector.h:123
Connector & WithCapabilityList(CapabilityListT &&value)
Definition Connector.h:88
Connector & WithIpAddress(IpAddressT &&value)
Definition Connector.h:135
Connector & WithVmManagerType(VmManagerType value)
Definition Connector.h:111
Connector & WithVersion(VersionT &&value)
Definition Connector.h:66
const Aws::String & GetVmManagerName() const
Definition Connector.h:96
void SetVmManagerType(VmManagerType value)
Definition Connector.h:110
const Aws::String & GetIpAddress() const
Definition Connector.h:130
bool MacAddressHasBeenSet() const
Definition Connector.h:143
const Aws::Vector< ConnectorCapability > & GetCapabilityList() const
Definition Connector.h:83
void SetStatus(ConnectorStatus value)
Definition Connector.h:75
bool VmManagerIdHasBeenSet() const
Definition Connector.h:119
bool VersionHasBeenSet() const
Definition Connector.h:62
ConnectorStatus GetStatus() const
Definition Connector.h:73
VmManagerType GetVmManagerType() const
Definition Connector.h:108
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
Connector & WithAssociatedOn(AssociatedOnT &&value)
Definition Connector.h:159
const Aws::Utils::DateTime & GetAssociatedOn() const
Definition Connector.h:154
Connector & WithStatus(ConnectorStatus value)
Definition Connector.h:76
const Aws::String & GetConnectorId() const
Definition Connector.h:49
const Aws::String & GetVmManagerId() const
Definition Connector.h:118
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue