AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectorId(const Aws::String& value) { m_connectorIdHasBeenSet = true; m_connectorId = value; }
52 inline void SetConnectorId(Aws::String&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::move(value); }
53 inline void SetConnectorId(const char* value) { m_connectorIdHasBeenSet = true; m_connectorId.assign(value); }
54 inline Connector& WithConnectorId(const Aws::String& value) { SetConnectorId(value); return *this;}
55 inline Connector& WithConnectorId(Aws::String&& value) { SetConnectorId(std::move(value)); return *this;}
56 inline Connector& WithConnectorId(const char* value) { SetConnectorId(value); return *this;}
58
60
63 inline const Aws::String& GetVersion() const{ return m_version; }
64 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
65 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
66 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
67 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
68 inline Connector& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
69 inline Connector& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
70 inline Connector& WithVersion(const char* value) { SetVersion(value); return *this;}
72
74
77 inline const ConnectorStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const ConnectorStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(ConnectorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline Connector& WithStatus(const ConnectorStatus& value) { SetStatus(value); return *this;}
82 inline Connector& WithStatus(ConnectorStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Vector<ConnectorCapability>& GetCapabilityList() const{ return m_capabilityList; }
90 inline bool CapabilityListHasBeenSet() const { return m_capabilityListHasBeenSet; }
91 inline void SetCapabilityList(const Aws::Vector<ConnectorCapability>& value) { m_capabilityListHasBeenSet = true; m_capabilityList = value; }
92 inline void SetCapabilityList(Aws::Vector<ConnectorCapability>&& value) { m_capabilityListHasBeenSet = true; m_capabilityList = std::move(value); }
94 inline Connector& WithCapabilityList(Aws::Vector<ConnectorCapability>&& value) { SetCapabilityList(std::move(value)); return *this;}
95 inline Connector& AddCapabilityList(const ConnectorCapability& value) { m_capabilityListHasBeenSet = true; m_capabilityList.push_back(value); return *this; }
96 inline Connector& AddCapabilityList(ConnectorCapability&& value) { m_capabilityListHasBeenSet = true; m_capabilityList.push_back(std::move(value)); return *this; }
98
100
103 inline const Aws::String& GetVmManagerName() const{ return m_vmManagerName; }
104 inline bool VmManagerNameHasBeenSet() const { return m_vmManagerNameHasBeenSet; }
105 inline void SetVmManagerName(const Aws::String& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = value; }
106 inline void SetVmManagerName(Aws::String&& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = std::move(value); }
107 inline void SetVmManagerName(const char* value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName.assign(value); }
108 inline Connector& WithVmManagerName(const Aws::String& value) { SetVmManagerName(value); return *this;}
109 inline Connector& WithVmManagerName(Aws::String&& value) { SetVmManagerName(std::move(value)); return *this;}
110 inline Connector& WithVmManagerName(const char* value) { SetVmManagerName(value); return *this;}
112
114
117 inline const VmManagerType& GetVmManagerType() const{ return m_vmManagerType; }
118 inline bool VmManagerTypeHasBeenSet() const { return m_vmManagerTypeHasBeenSet; }
119 inline void SetVmManagerType(const VmManagerType& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = value; }
120 inline void SetVmManagerType(VmManagerType&& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = std::move(value); }
121 inline Connector& WithVmManagerType(const VmManagerType& value) { SetVmManagerType(value); return *this;}
122 inline Connector& WithVmManagerType(VmManagerType&& value) { SetVmManagerType(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetVmManagerId() const{ return m_vmManagerId; }
130 inline bool VmManagerIdHasBeenSet() const { return m_vmManagerIdHasBeenSet; }
131 inline void SetVmManagerId(const Aws::String& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = value; }
132 inline void SetVmManagerId(Aws::String&& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = std::move(value); }
133 inline void SetVmManagerId(const char* value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId.assign(value); }
134 inline Connector& WithVmManagerId(const Aws::String& value) { SetVmManagerId(value); return *this;}
135 inline Connector& WithVmManagerId(Aws::String&& value) { SetVmManagerId(std::move(value)); return *this;}
136 inline Connector& WithVmManagerId(const char* value) { SetVmManagerId(value); return *this;}
138
140
143 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
144 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
145 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
146 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
147 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
148 inline Connector& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
149 inline Connector& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
150 inline Connector& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
152
154
157 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
158 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
159 inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
160 inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
161 inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
162 inline Connector& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
163 inline Connector& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
164 inline Connector& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetAssociatedOn() const{ return m_associatedOn; }
172 inline bool AssociatedOnHasBeenSet() const { return m_associatedOnHasBeenSet; }
173 inline void SetAssociatedOn(const Aws::Utils::DateTime& value) { m_associatedOnHasBeenSet = true; m_associatedOn = value; }
174 inline void SetAssociatedOn(Aws::Utils::DateTime&& value) { m_associatedOnHasBeenSet = true; m_associatedOn = std::move(value); }
175 inline Connector& WithAssociatedOn(const Aws::Utils::DateTime& value) { SetAssociatedOn(value); return *this;}
176 inline Connector& WithAssociatedOn(Aws::Utils::DateTime&& value) { SetAssociatedOn(std::move(value)); return *this;}
178 private:
179
180 Aws::String m_connectorId;
181 bool m_connectorIdHasBeenSet = false;
182
183 Aws::String m_version;
184 bool m_versionHasBeenSet = false;
185
186 ConnectorStatus m_status;
187 bool m_statusHasBeenSet = false;
188
189 Aws::Vector<ConnectorCapability> m_capabilityList;
190 bool m_capabilityListHasBeenSet = false;
191
192 Aws::String m_vmManagerName;
193 bool m_vmManagerNameHasBeenSet = false;
194
195 VmManagerType m_vmManagerType;
196 bool m_vmManagerTypeHasBeenSet = false;
197
198 Aws::String m_vmManagerId;
199 bool m_vmManagerIdHasBeenSet = false;
200
201 Aws::String m_ipAddress;
202 bool m_ipAddressHasBeenSet = false;
203
204 Aws::String m_macAddress;
205 bool m_macAddressHasBeenSet = false;
206
207 Aws::Utils::DateTime m_associatedOn;
208 bool m_associatedOnHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace SMS
213} // namespace Aws
Connector & WithVersion(Aws::String &&value)
Definition Connector.h:69
void SetVmManagerType(VmManagerType &&value)
Definition Connector.h:120
Connector & WithCapabilityList(const Aws::Vector< ConnectorCapability > &value)
Definition Connector.h:93
Connector & WithVmManagerName(const char *value)
Definition Connector.h:110
void SetVmManagerName(const Aws::String &value)
Definition Connector.h:105
void SetCapabilityList(Aws::Vector< ConnectorCapability > &&value)
Definition Connector.h:92
const Aws::String & GetVersion() const
Definition Connector.h:63
void SetConnectorId(const char *value)
Definition Connector.h:53
void SetVersion(const Aws::String &value)
Definition Connector.h:65
Connector & WithMacAddress(Aws::String &&value)
Definition Connector.h:163
bool VmManagerNameHasBeenSet() const
Definition Connector.h:104
bool StatusHasBeenSet() const
Definition Connector.h:78
AWS_SMS_API Connector(Aws::Utils::Json::JsonView jsonValue)
bool VmManagerTypeHasBeenSet() const
Definition Connector.h:118
bool CapabilityListHasBeenSet() const
Definition Connector.h:90
const Aws::String & GetMacAddress() const
Definition Connector.h:157
void SetConnectorId(const Aws::String &value)
Definition Connector.h:51
void SetAssociatedOn(Aws::Utils::DateTime &&value)
Definition Connector.h:174
bool AssociatedOnHasBeenSet() const
Definition Connector.h:172
Connector & WithVmManagerName(Aws::String &&value)
Definition Connector.h:109
Connector & WithAssociatedOn(const Aws::Utils::DateTime &value)
Definition Connector.h:175
void SetIpAddress(const Aws::String &value)
Definition Connector.h:145
bool ConnectorIdHasBeenSet() const
Definition Connector.h:50
AWS_SMS_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
Connector & WithVmManagerName(const Aws::String &value)
Definition Connector.h:108
bool IpAddressHasBeenSet() const
Definition Connector.h:144
void SetMacAddress(Aws::String &&value)
Definition Connector.h:160
Connector & WithAssociatedOn(Aws::Utils::DateTime &&value)
Definition Connector.h:176
void SetStatus(ConnectorStatus &&value)
Definition Connector.h:80
Connector & WithIpAddress(const char *value)
Definition Connector.h:150
void SetVmManagerId(const Aws::String &value)
Definition Connector.h:131
Connector & WithMacAddress(const char *value)
Definition Connector.h:164
void SetVmManagerName(const char *value)
Definition Connector.h:107
Connector & WithConnectorId(const Aws::String &value)
Definition Connector.h:54
const Aws::String & GetVmManagerName() const
Definition Connector.h:103
Connector & WithConnectorId(const char *value)
Definition Connector.h:56
void SetIpAddress(const char *value)
Definition Connector.h:147
const Aws::String & GetIpAddress() const
Definition Connector.h:143
bool MacAddressHasBeenSet() const
Definition Connector.h:158
Connector & WithConnectorId(Aws::String &&value)
Definition Connector.h:55
const Aws::Vector< ConnectorCapability > & GetCapabilityList() const
Definition Connector.h:89
bool VmManagerIdHasBeenSet() const
Definition Connector.h:130
Connector & WithVmManagerId(const Aws::String &value)
Definition Connector.h:134
Connector & WithStatus(ConnectorStatus &&value)
Definition Connector.h:82
Connector & WithVersion(const Aws::String &value)
Definition Connector.h:68
bool VersionHasBeenSet() const
Definition Connector.h:64
Connector & AddCapabilityList(const ConnectorCapability &value)
Definition Connector.h:95
Connector & WithIpAddress(Aws::String &&value)
Definition Connector.h:149
void SetVersion(const char *value)
Definition Connector.h:67
void SetVmManagerName(Aws::String &&value)
Definition Connector.h:106
Connector & WithVmManagerType(const VmManagerType &value)
Definition Connector.h:121
Connector & WithMacAddress(const Aws::String &value)
Definition Connector.h:162
void SetVmManagerId(Aws::String &&value)
Definition Connector.h:132
Connector & WithVmManagerType(VmManagerType &&value)
Definition Connector.h:122
void SetMacAddress(const char *value)
Definition Connector.h:161
void SetVmManagerId(const char *value)
Definition Connector.h:133
Connector & WithVmManagerId(Aws::String &&value)
Definition Connector.h:135
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
Connector & WithStatus(const ConnectorStatus &value)
Definition Connector.h:81
void SetIpAddress(Aws::String &&value)
Definition Connector.h:146
const Aws::Utils::DateTime & GetAssociatedOn() const
Definition Connector.h:171
Connector & WithVmManagerId(const char *value)
Definition Connector.h:136
const Aws::String & GetConnectorId() const
Definition Connector.h:49
Connector & WithVersion(const char *value)
Definition Connector.h:70
void SetVmManagerType(const VmManagerType &value)
Definition Connector.h:119
void SetVersion(Aws::String &&value)
Definition Connector.h:66
Connector & WithIpAddress(const Aws::String &value)
Definition Connector.h:148
void SetConnectorId(Aws::String &&value)
Definition Connector.h:52
void SetMacAddress(const Aws::String &value)
Definition Connector.h:159
Connector & WithCapabilityList(Aws::Vector< ConnectorCapability > &&value)
Definition Connector.h:94
const Aws::String & GetVmManagerId() const
Definition Connector.h:129
void SetStatus(const ConnectorStatus &value)
Definition Connector.h:79
void SetAssociatedOn(const Aws::Utils::DateTime &value)
Definition Connector.h:173
const VmManagerType & GetVmManagerType() const
Definition Connector.h:117
Connector & AddCapabilityList(ConnectorCapability &&value)
Definition Connector.h:96
const ConnectorStatus & GetStatus() const
Definition Connector.h:77
void SetCapabilityList(const Aws::Vector< ConnectorCapability > &value)
Definition Connector.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue