AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WirelessGatewayStatistics.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/LoRaWANGateway.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTWIRELESS_API WirelessGatewayStatistics();
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline WirelessGatewayStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline WirelessGatewayStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline WirelessGatewayStatistics& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline WirelessGatewayStatistics& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline WirelessGatewayStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline WirelessGatewayStatistics& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline WirelessGatewayStatistics& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline WirelessGatewayStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline WirelessGatewayStatistics& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline WirelessGatewayStatistics& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline WirelessGatewayStatistics& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline WirelessGatewayStatistics& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const LoRaWANGateway& GetLoRaWAN() const{ return m_loRaWAN; }
103 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
104 inline void SetLoRaWAN(const LoRaWANGateway& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
105 inline void SetLoRaWAN(LoRaWANGateway&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
106 inline WirelessGatewayStatistics& WithLoRaWAN(const LoRaWANGateway& value) { SetLoRaWAN(value); return *this;}
107 inline WirelessGatewayStatistics& WithLoRaWAN(LoRaWANGateway&& value) { SetLoRaWAN(std::move(value)); return *this;}
109
111
115 inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
116 inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
117 inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = value; }
118 inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::move(value); }
119 inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt.assign(value); }
122 inline WirelessGatewayStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
124 private:
125
126 Aws::String m_arn;
127 bool m_arnHasBeenSet = false;
128
129 Aws::String m_id;
130 bool m_idHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 LoRaWANGateway m_loRaWAN;
139 bool m_loRaWANHasBeenSet = false;
140
141 Aws::String m_lastUplinkReceivedAt;
142 bool m_lastUplinkReceivedAtHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace IoTWireless
147} // namespace Aws
WirelessGatewayStatistics & WithArn(Aws::String &&value)
WirelessGatewayStatistics & WithDescription(Aws::String &&value)
WirelessGatewayStatistics & WithLoRaWAN(LoRaWANGateway &&value)
WirelessGatewayStatistics & WithName(const Aws::String &value)
WirelessGatewayStatistics & WithLastUplinkReceivedAt(const char *value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessGatewayStatistics & WithLastUplinkReceivedAt(Aws::String &&value)
AWS_IOTWIRELESS_API WirelessGatewayStatistics(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayStatistics & WithId(const char *value)
WirelessGatewayStatistics & WithId(Aws::String &&value)
AWS_IOTWIRELESS_API WirelessGatewayStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessGatewayStatistics & WithDescription(const Aws::String &value)
WirelessGatewayStatistics & WithName(Aws::String &&value)
WirelessGatewayStatistics & WithDescription(const char *value)
WirelessGatewayStatistics & WithLastUplinkReceivedAt(const Aws::String &value)
WirelessGatewayStatistics & WithArn(const char *value)
WirelessGatewayStatistics & WithId(const Aws::String &value)
WirelessGatewayStatistics & WithName(const char *value)
WirelessGatewayStatistics & WithLoRaWAN(const LoRaWANGateway &value)
WirelessGatewayStatistics & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue