AWS SDK for C++  1.9.107
AWS SDK for C++
GetWirelessGatewayStatisticsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetWirelessGatewayId() const{ return m_wirelessGatewayId; }
40 
44  inline void SetWirelessGatewayId(const Aws::String& value) { m_wirelessGatewayId = value; }
45 
49  inline void SetWirelessGatewayId(Aws::String&& value) { m_wirelessGatewayId = std::move(value); }
50 
54  inline void SetWirelessGatewayId(const char* value) { m_wirelessGatewayId.assign(value); }
55 
59  inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(const Aws::String& value) { SetWirelessGatewayId(value); return *this;}
60 
64  inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(Aws::String&& value) { SetWirelessGatewayId(std::move(value)); return *this;}
65 
69  inline GetWirelessGatewayStatisticsResult& WithWirelessGatewayId(const char* value) { SetWirelessGatewayId(value); return *this;}
70 
71 
75  inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
76 
80  inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAt = value; }
81 
85  inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAt = std::move(value); }
86 
90  inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAt.assign(value); }
91 
95  inline GetWirelessGatewayStatisticsResult& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;}
96 
100  inline GetWirelessGatewayStatisticsResult& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;}
101 
105  inline GetWirelessGatewayStatisticsResult& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
106 
107 
111  inline const ConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
112 
116  inline void SetConnectionStatus(const ConnectionStatus& value) { m_connectionStatus = value; }
117 
121  inline void SetConnectionStatus(ConnectionStatus&& value) { m_connectionStatus = std::move(value); }
122 
126  inline GetWirelessGatewayStatisticsResult& WithConnectionStatus(const ConnectionStatus& value) { SetConnectionStatus(value); return *this;}
127 
131  inline GetWirelessGatewayStatisticsResult& WithConnectionStatus(ConnectionStatus&& value) { SetConnectionStatus(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_wirelessGatewayId;
136 
137  Aws::String m_lastUplinkReceivedAt;
138 
139  ConnectionStatus m_connectionStatus;
140  };
141 
142 } // namespace Model
143 } // namespace IoTWireless
144 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(Aws::String &&value)
Definition: GetWirelessGatewayStatisticsResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithConnectionStatus
GetWirelessGatewayStatisticsResult & WithConnectionStatus(ConnectionStatus &&value)
Definition: GetWirelessGatewayStatisticsResult.h:131
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::GetWirelessGatewayStatisticsResult
GetWirelessGatewayStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::GetLastUplinkReceivedAt
const Aws::String & GetLastUplinkReceivedAt() const
Definition: GetWirelessGatewayStatisticsResult.h:75
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithWirelessGatewayId
GetWirelessGatewayStatisticsResult & WithWirelessGatewayId(const Aws::String &value)
Definition: GetWirelessGatewayStatisticsResult.h:59
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult
Definition: GetWirelessGatewayStatisticsResult.h:29
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetConnectionStatus
void SetConnectionStatus(const ConnectionStatus &value)
Definition: GetWirelessGatewayStatisticsResult.h:116
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithWirelessGatewayId
GetWirelessGatewayStatisticsResult & WithWirelessGatewayId(Aws::String &&value)
Definition: GetWirelessGatewayStatisticsResult.h:64
IoTWireless_EXPORTS.h
ConnectionStatus.h
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithLastUplinkReceivedAt
GetWirelessGatewayStatisticsResult & WithLastUplinkReceivedAt(const Aws::String &value)
Definition: GetWirelessGatewayStatisticsResult.h:95
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::GetWirelessGatewayStatisticsResult
GetWirelessGatewayStatisticsResult()
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithLastUplinkReceivedAt
GetWirelessGatewayStatisticsResult & WithLastUplinkReceivedAt(Aws::String &&value)
Definition: GetWirelessGatewayStatisticsResult.h:100
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetWirelessGatewayId
void SetWirelessGatewayId(Aws::String &&value)
Definition: GetWirelessGatewayStatisticsResult.h:49
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::operator=
GetWirelessGatewayStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithConnectionStatus
GetWirelessGatewayStatisticsResult & WithConnectionStatus(const ConnectionStatus &value)
Definition: GetWirelessGatewayStatisticsResult.h:126
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const Aws::String &value)
Definition: GetWirelessGatewayStatisticsResult.h:80
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetConnectionStatus
void SetConnectionStatus(ConnectionStatus &&value)
Definition: GetWirelessGatewayStatisticsResult.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::GetWirelessGatewayId
const Aws::String & GetWirelessGatewayId() const
Definition: GetWirelessGatewayStatisticsResult.h:39
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetWirelessGatewayId
void SetWirelessGatewayId(const Aws::String &value)
Definition: GetWirelessGatewayStatisticsResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::GetConnectionStatus
const ConnectionStatus & GetConnectionStatus() const
Definition: GetWirelessGatewayStatisticsResult.h:111
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithWirelessGatewayId
GetWirelessGatewayStatisticsResult & WithWirelessGatewayId(const char *value)
Definition: GetWirelessGatewayStatisticsResult.h:69
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::WithLastUplinkReceivedAt
GetWirelessGatewayStatisticsResult & WithLastUplinkReceivedAt(const char *value)
Definition: GetWirelessGatewayStatisticsResult.h:105
Aws::IoTWireless::Model::ConnectionStatus
ConnectionStatus
Definition: ConnectionStatus.h:17
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetWirelessGatewayId
void SetWirelessGatewayId(const char *value)
Definition: GetWirelessGatewayStatisticsResult.h:54
Aws::IoTWireless::Model::GetWirelessGatewayStatisticsResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const char *value)
Definition: GetWirelessGatewayStatisticsResult.h:90