AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetWirelessGatewayStatisticsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/ConnectionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult() = default;
30
32
35 inline const Aws::String& GetWirelessGatewayId() const { return m_wirelessGatewayId; }
36 template <typename WirelessGatewayIdT = Aws::String>
37 void SetWirelessGatewayId(WirelessGatewayIdT&& value) {
38 m_wirelessGatewayIdHasBeenSet = true;
39 m_wirelessGatewayId = std::forward<WirelessGatewayIdT>(value);
40 }
41 template <typename WirelessGatewayIdT = Aws::String>
43 SetWirelessGatewayId(std::forward<WirelessGatewayIdT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
54 template <typename LastUplinkReceivedAtT = Aws::String>
55 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
56 m_lastUplinkReceivedAtHasBeenSet = true;
57 m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value);
58 }
59 template <typename LastUplinkReceivedAtT = Aws::String>
61 SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value));
62 return *this;
63 }
65
67
70 inline ConnectionStatus GetConnectionStatus() const { return m_connectionStatus; }
72 m_connectionStatusHasBeenSet = true;
73 m_connectionStatus = value;
74 }
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_wirelessGatewayId;
99
100 Aws::String m_lastUplinkReceivedAt;
101
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_wirelessGatewayIdHasBeenSet = false;
107 bool m_lastUplinkReceivedAtHasBeenSet = false;
108 bool m_connectionStatusHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace IoTWireless
114} // namespace Aws
GetWirelessGatewayStatisticsResult & WithLastUplinkReceivedAt(LastUplinkReceivedAtT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessGatewayStatisticsResult & WithRequestId(RequestIdT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult()=default
GetWirelessGatewayStatisticsResult & WithConnectionStatus(ConnectionStatus value)
GetWirelessGatewayStatisticsResult & WithWirelessGatewayId(WirelessGatewayIdT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue