7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/DisconnectReasonValue.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ThingNameT = Aws::String>
39 m_thingNameHasBeenSet =
true;
40 m_thingName = std::forward<ThingNameT>(value);
42 template <
typename ThingNameT = Aws::String>
55 m_connectedHasBeenSet =
true;
69 template <
typename TimestampT = Aws::Utils::DateTime>
71 m_timestampHasBeenSet =
true;
72 m_timestamp = std::forward<TimestampT>(value);
74 template <
typename TimestampT = Aws::Utils::DateTime>
87 m_disconnectReasonHasBeenSet =
true;
88 m_disconnectReason = value;
101 template <
typename SourceIpT = Aws::String>
103 m_sourceIpHasBeenSet =
true;
104 m_sourceIp = std::forward<SourceIpT>(value);
106 template <
typename SourceIpT = Aws::String>
119 m_sourcePortHasBeenSet =
true;
120 m_sourcePort = value;
134 template <
typename TargetIpT = Aws::String>
136 m_targetIpHasBeenSet =
true;
137 m_targetIp = std::forward<TargetIpT>(value);
139 template <
typename TargetIpT = Aws::String>
153 m_targetPortHasBeenSet =
true;
154 m_targetPort = value;
168 template <
typename VpcEndpo
intIdT = Aws::String>
170 m_vpcEndpointIdHasBeenSet =
true;
171 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
173 template <
typename VpcEndpo
intIdT = Aws::String>
187 m_keepAliveDurationHasBeenSet =
true;
188 m_keepAliveDuration = value;
203 m_cleanSessionHasBeenSet =
true;
204 m_cleanSession = value;
220 m_sessionExpiryHasBeenSet =
true;
221 m_sessionExpiry = value;
234 template <
typename ClientIdT = Aws::String>
236 m_clientIdHasBeenSet =
true;
237 m_clientId = std::forward<ClientIdT>(value);
239 template <
typename ClientIdT = Aws::String>
249 template <
typename RequestIdT = Aws::String>
251 m_requestIdHasBeenSet =
true;
252 m_requestId = std::forward<RequestIdT>(value);
254 template <
typename RequestIdT = Aws::String>
265 bool m_connected{
false};
281 int m_keepAliveDuration{0};
283 bool m_cleanSession{
false};
285 long long m_sessionExpiry{0};
291 bool m_thingNameHasBeenSet =
false;
292 bool m_connectedHasBeenSet =
false;
293 bool m_timestampHasBeenSet =
false;
294 bool m_disconnectReasonHasBeenSet =
false;
295 bool m_sourceIpHasBeenSet =
false;
296 bool m_sourcePortHasBeenSet =
false;
297 bool m_targetIpHasBeenSet =
false;
298 bool m_targetPortHasBeenSet =
false;
299 bool m_vpcEndpointIdHasBeenSet =
false;
300 bool m_keepAliveDurationHasBeenSet =
false;
301 bool m_cleanSessionHasBeenSet =
false;
302 bool m_sessionExpiryHasBeenSet =
false;
303 bool m_clientIdHasBeenSet =
false;
304 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetClientId() const
GetThingConnectivityDataResult & WithClientId(ClientIdT &&value)
GetThingConnectivityDataResult & WithDisconnectReason(DisconnectReasonValue value)
DisconnectReasonValue GetDisconnectReason() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetThingConnectivityDataResult & WithCleanSession(bool value)
GetThingConnectivityDataResult & WithVpcEndpointId(VpcEndpointIdT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetSourceIp(SourceIpT &&value)
void SetRequestId(RequestIdT &&value)
GetThingConnectivityDataResult & WithTargetPort(int value)
void SetDisconnectReason(DisconnectReasonValue value)
void SetKeepAliveDuration(int value)
const Aws::String & GetSourceIp() const
bool GetCleanSession() const
void SetSourcePort(int value)
void SetTargetIp(TargetIpT &&value)
void SetSessionExpiry(long long value)
GetThingConnectivityDataResult & WithTargetIp(TargetIpT &&value)
GetThingConnectivityDataResult & WithKeepAliveDuration(int value)
int GetTargetPort() const
GetThingConnectivityDataResult & WithSessionExpiry(long long value)
void SetConnected(bool value)
GetThingConnectivityDataResult & WithSourceIp(SourceIpT &&value)
GetThingConnectivityDataResult & WithConnected(bool value)
const Aws::String & GetTargetIp() const
GetThingConnectivityDataResult & WithSourcePort(int value)
int GetKeepAliveDuration() const
const Aws::String & GetVpcEndpointId() const
void SetClientId(ClientIdT &&value)
const Aws::String & GetThingName() const
int GetSourcePort() const
AWS_IOT_API GetThingConnectivityDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
long long GetSessionExpiry() const
GetThingConnectivityDataResult & WithThingName(ThingNameT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
AWS_IOT_API GetThingConnectivityDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetConnected() const
void SetTimestamp(TimestampT &&value)
void SetThingName(ThingNameT &&value)
const Aws::String & GetRequestId() const
GetThingConnectivityDataResult & WithTimestamp(TimestampT &&value)
void SetCleanSession(bool value)
GetThingConnectivityDataResult & WithRequestId(RequestIdT &&value)
void SetTargetPort(int value)
AWS_IOT_API GetThingConnectivityDataResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue