AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParticipatingGateways.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/DownlinkMode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/GatewayListItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_IOTWIRELESS_API ParticipatingGateways();
39 AWS_IOTWIRELESS_API ParticipatingGateways(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const DownlinkMode& GetDownlinkMode() const{ return m_downlinkMode; }
51 inline bool DownlinkModeHasBeenSet() const { return m_downlinkModeHasBeenSet; }
52 inline void SetDownlinkMode(const DownlinkMode& value) { m_downlinkModeHasBeenSet = true; m_downlinkMode = value; }
53 inline void SetDownlinkMode(DownlinkMode&& value) { m_downlinkModeHasBeenSet = true; m_downlinkMode = std::move(value); }
54 inline ParticipatingGateways& WithDownlinkMode(const DownlinkMode& value) { SetDownlinkMode(value); return *this;}
55 inline ParticipatingGateways& WithDownlinkMode(DownlinkMode&& value) { SetDownlinkMode(std::move(value)); return *this;}
57
59
63 inline const Aws::Vector<GatewayListItem>& GetGatewayList() const{ return m_gatewayList; }
64 inline bool GatewayListHasBeenSet() const { return m_gatewayListHasBeenSet; }
65 inline void SetGatewayList(const Aws::Vector<GatewayListItem>& value) { m_gatewayListHasBeenSet = true; m_gatewayList = value; }
66 inline void SetGatewayList(Aws::Vector<GatewayListItem>&& value) { m_gatewayListHasBeenSet = true; m_gatewayList = std::move(value); }
68 inline ParticipatingGateways& WithGatewayList(Aws::Vector<GatewayListItem>&& value) { SetGatewayList(std::move(value)); return *this;}
69 inline ParticipatingGateways& AddGatewayList(const GatewayListItem& value) { m_gatewayListHasBeenSet = true; m_gatewayList.push_back(value); return *this; }
70 inline ParticipatingGateways& AddGatewayList(GatewayListItem&& value) { m_gatewayListHasBeenSet = true; m_gatewayList.push_back(std::move(value)); return *this; }
72
74
78 inline int GetTransmissionInterval() const{ return m_transmissionInterval; }
79 inline bool TransmissionIntervalHasBeenSet() const { return m_transmissionIntervalHasBeenSet; }
80 inline void SetTransmissionInterval(int value) { m_transmissionIntervalHasBeenSet = true; m_transmissionInterval = value; }
83 private:
84
85 DownlinkMode m_downlinkMode;
86 bool m_downlinkModeHasBeenSet = false;
87
88 Aws::Vector<GatewayListItem> m_gatewayList;
89 bool m_gatewayListHasBeenSet = false;
90
91 int m_transmissionInterval;
92 bool m_transmissionIntervalHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace IoTWireless
97} // namespace Aws
void SetGatewayList(const Aws::Vector< GatewayListItem > &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGatewayList(Aws::Vector< GatewayListItem > &&value)
ParticipatingGateways & WithGatewayList(const Aws::Vector< GatewayListItem > &value)
const Aws::Vector< GatewayListItem > & GetGatewayList() const
ParticipatingGateways & AddGatewayList(GatewayListItem &&value)
ParticipatingGateways & WithDownlinkMode(DownlinkMode &&value)
AWS_IOTWIRELESS_API ParticipatingGateways & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipatingGateways & WithGatewayList(Aws::Vector< GatewayListItem > &&value)
ParticipatingGateways & AddGatewayList(const GatewayListItem &value)
ParticipatingGateways & WithTransmissionInterval(int value)
AWS_IOTWIRELESS_API ParticipatingGateways(Aws::Utils::Json::JsonView jsonValue)
ParticipatingGateways & WithDownlinkMode(const DownlinkMode &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue