AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 DownlinkMode GetDownlinkMode() const { return m_downlinkMode; }
51 inline bool DownlinkModeHasBeenSet() const { return m_downlinkModeHasBeenSet; }
52 inline void SetDownlinkMode(DownlinkMode value) { m_downlinkModeHasBeenSet = true; m_downlinkMode = value; }
55
57
61 inline const Aws::Vector<GatewayListItem>& GetGatewayList() const { return m_gatewayList; }
62 inline bool GatewayListHasBeenSet() const { return m_gatewayListHasBeenSet; }
63 template<typename GatewayListT = Aws::Vector<GatewayListItem>>
64 void SetGatewayList(GatewayListT&& value) { m_gatewayListHasBeenSet = true; m_gatewayList = std::forward<GatewayListT>(value); }
65 template<typename GatewayListT = Aws::Vector<GatewayListItem>>
66 ParticipatingGateways& WithGatewayList(GatewayListT&& value) { SetGatewayList(std::forward<GatewayListT>(value)); return *this;}
67 template<typename GatewayListT = GatewayListItem>
68 ParticipatingGateways& AddGatewayList(GatewayListT&& value) { m_gatewayListHasBeenSet = true; m_gatewayList.emplace_back(std::forward<GatewayListT>(value)); return *this; }
70
72
76 inline int GetTransmissionInterval() const { return m_transmissionInterval; }
77 inline bool TransmissionIntervalHasBeenSet() const { return m_transmissionIntervalHasBeenSet; }
78 inline void SetTransmissionInterval(int value) { m_transmissionIntervalHasBeenSet = true; m_transmissionInterval = value; }
81 private:
82
83 DownlinkMode m_downlinkMode{DownlinkMode::NOT_SET};
84 bool m_downlinkModeHasBeenSet = false;
85
86 Aws::Vector<GatewayListItem> m_gatewayList;
87 bool m_gatewayListHasBeenSet = false;
88
89 int m_transmissionInterval{0};
90 bool m_transmissionIntervalHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTWireless
95} // namespace Aws
AWS_IOTWIRELESS_API ParticipatingGateways()=default
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
ParticipatingGateways & WithGatewayList(GatewayListT &&value)
const Aws::Vector< GatewayListItem > & GetGatewayList() const
ParticipatingGateways & WithDownlinkMode(DownlinkMode value)
ParticipatingGateways & AddGatewayList(GatewayListT &&value)
AWS_IOTWIRELESS_API ParticipatingGateways & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipatingGateways & WithTransmissionInterval(int value)
AWS_IOTWIRELESS_API ParticipatingGateways(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue