AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WirelessGatewayStatistics.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/LoRaWANGateway.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
30 public:
31 AWS_IOTWIRELESS_API WirelessGatewayStatistics() = default;
34 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const LoRaWANGateway& GetLoRaWAN() const { return m_loRaWAN; }
113 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
114 template <typename LoRaWANT = LoRaWANGateway>
115 void SetLoRaWAN(LoRaWANT&& value) {
116 m_loRaWANHasBeenSet = true;
117 m_loRaWAN = std::forward<LoRaWANT>(value);
118 }
119 template <typename LoRaWANT = LoRaWANGateway>
121 SetLoRaWAN(std::forward<LoRaWANT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
132 inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
133 template <typename LastUplinkReceivedAtT = Aws::String>
134 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
135 m_lastUplinkReceivedAtHasBeenSet = true;
136 m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value);
137 }
138 template <typename LastUplinkReceivedAtT = Aws::String>
139 WirelessGatewayStatistics& WithLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
140 SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_arn;
146
147 Aws::String m_id;
148
149 Aws::String m_name;
150
151 Aws::String m_description;
152
153 LoRaWANGateway m_loRaWAN;
154
155 Aws::String m_lastUplinkReceivedAt;
156 bool m_arnHasBeenSet = false;
157 bool m_idHasBeenSet = false;
158 bool m_nameHasBeenSet = false;
159 bool m_descriptionHasBeenSet = false;
160 bool m_loRaWANHasBeenSet = false;
161 bool m_lastUplinkReceivedAtHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace IoTWireless
166} // namespace Aws
WirelessGatewayStatistics & WithDescription(DescriptionT &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API WirelessGatewayStatistics(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayStatistics & WithLastUplinkReceivedAt(LastUplinkReceivedAtT &&value)
AWS_IOTWIRELESS_API WirelessGatewayStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayStatistics & WithName(NameT &&value)
AWS_IOTWIRELESS_API WirelessGatewayStatistics()=default
WirelessGatewayStatistics & WithArn(ArnT &&value)
WirelessGatewayStatistics & WithLoRaWAN(LoRaWANT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue