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;
71 template <
typename TimestampT = Aws::Utils::DateTime>
73 m_timestampHasBeenSet =
true;
74 m_timestamp = std::forward<TimestampT>(value);
76 template <
typename TimestampT = Aws::Utils::DateTime>
91 m_disconnectReasonHasBeenSet =
true;
92 m_disconnectReason = value;
105 template <
typename SourceIpT = Aws::String>
107 m_sourceIpHasBeenSet =
true;
108 m_sourceIp = std::forward<SourceIpT>(value);
110 template <
typename SourceIpT = Aws::String>
123 m_sourcePortHasBeenSet =
true;
124 m_sourcePort = value;
138 template <
typename TargetIpT = Aws::String>
140 m_targetIpHasBeenSet =
true;
141 m_targetIp = std::forward<TargetIpT>(value);
143 template <
typename TargetIpT = Aws::String>
157 m_targetPortHasBeenSet =
true;
158 m_targetPort = value;
172 template <
typename VpcEndpo
intIdT = Aws::String>
174 m_vpcEndpointIdHasBeenSet =
true;
175 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
177 template <
typename VpcEndpo
intIdT = Aws::String>
191 m_keepAliveDurationHasBeenSet =
true;
192 m_keepAliveDuration = value;
207 m_cleanSessionHasBeenSet =
true;
208 m_cleanSession = value;
224 m_sessionExpiryHasBeenSet =
true;
225 m_sessionExpiry = value;
238 template <
typename ClientIdT = Aws::String>
240 m_clientIdHasBeenSet =
true;
241 m_clientId = std::forward<ClientIdT>(value);
243 template <
typename ClientIdT = Aws::String>
253 template <
typename RequestIdT = Aws::String>
255 m_requestIdHasBeenSet =
true;
256 m_requestId = std::forward<RequestIdT>(value);
258 template <
typename RequestIdT = Aws::String>
269 bool m_connected{
false};
285 int m_keepAliveDuration{0};
287 bool m_cleanSession{
false};
289 long long m_sessionExpiry{0};
295 bool m_thingNameHasBeenSet =
false;
296 bool m_connectedHasBeenSet =
false;
297 bool m_timestampHasBeenSet =
false;
298 bool m_disconnectReasonHasBeenSet =
false;
299 bool m_sourceIpHasBeenSet =
false;
300 bool m_sourcePortHasBeenSet =
false;
301 bool m_targetIpHasBeenSet =
false;
302 bool m_targetPortHasBeenSet =
false;
303 bool m_vpcEndpointIdHasBeenSet =
false;
304 bool m_keepAliveDurationHasBeenSet =
false;
305 bool m_cleanSessionHasBeenSet =
false;
306 bool m_sessionExpiryHasBeenSet =
false;
307 bool m_clientIdHasBeenSet =
false;
308 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