AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayListItem.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTWIRELESS_API GatewayListItem();
36 AWS_IOTWIRELESS_API GatewayListItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API GatewayListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
47 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
48 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
49 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
50 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
51 inline GatewayListItem& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
52 inline GatewayListItem& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
53 inline GatewayListItem& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
55
57
61 inline int GetDownlinkFrequency() const{ return m_downlinkFrequency; }
62 inline bool DownlinkFrequencyHasBeenSet() const { return m_downlinkFrequencyHasBeenSet; }
63 inline void SetDownlinkFrequency(int value) { m_downlinkFrequencyHasBeenSet = true; m_downlinkFrequency = value; }
64 inline GatewayListItem& WithDownlinkFrequency(int value) { SetDownlinkFrequency(value); return *this;}
66 private:
67
68 Aws::String m_gatewayId;
69 bool m_gatewayIdHasBeenSet = false;
70
71 int m_downlinkFrequency;
72 bool m_downlinkFrequencyHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTWireless
77} // namespace Aws
void SetGatewayId(const Aws::String &value)
AWS_IOTWIRELESS_API GatewayListItem(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayListItem & WithGatewayId(const char *value)
const Aws::String & GetGatewayId() const
GatewayListItem & WithGatewayId(const Aws::String &value)
GatewayListItem & WithDownlinkFrequency(int value)
GatewayListItem & WithGatewayId(Aws::String &&value)
AWS_IOTWIRELESS_API GatewayListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue