AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FPorts.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/Positioning.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/ApplicationConfig.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
34 class FPorts
35 {
36 public:
37 AWS_IOTWIRELESS_API FPorts();
38 AWS_IOTWIRELESS_API FPorts(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API FPorts& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline int GetFuota() const{ return m_fuota; }
46 inline bool FuotaHasBeenSet() const { return m_fuotaHasBeenSet; }
47 inline void SetFuota(int value) { m_fuotaHasBeenSet = true; m_fuota = value; }
48 inline FPorts& WithFuota(int value) { SetFuota(value); return *this;}
50
52
53 inline int GetMulticast() const{ return m_multicast; }
54 inline bool MulticastHasBeenSet() const { return m_multicastHasBeenSet; }
55 inline void SetMulticast(int value) { m_multicastHasBeenSet = true; m_multicast = value; }
56 inline FPorts& WithMulticast(int value) { SetMulticast(value); return *this;}
58
60
61 inline int GetClockSync() const{ return m_clockSync; }
62 inline bool ClockSyncHasBeenSet() const { return m_clockSyncHasBeenSet; }
63 inline void SetClockSync(int value) { m_clockSyncHasBeenSet = true; m_clockSync = value; }
64 inline FPorts& WithClockSync(int value) { SetClockSync(value); return *this;}
66
68
72 inline const Positioning& GetPositioning() const{ return m_positioning; }
73 inline bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; }
74 inline void SetPositioning(const Positioning& value) { m_positioningHasBeenSet = true; m_positioning = value; }
75 inline void SetPositioning(Positioning&& value) { m_positioningHasBeenSet = true; m_positioning = std::move(value); }
76 inline FPorts& WithPositioning(const Positioning& value) { SetPositioning(value); return *this;}
77 inline FPorts& WithPositioning(Positioning&& value) { SetPositioning(std::move(value)); return *this;}
79
81
85 inline const Aws::Vector<ApplicationConfig>& GetApplications() const{ return m_applications; }
86 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
87 inline void SetApplications(const Aws::Vector<ApplicationConfig>& value) { m_applicationsHasBeenSet = true; m_applications = value; }
88 inline void SetApplications(Aws::Vector<ApplicationConfig>&& value) { m_applicationsHasBeenSet = true; m_applications = std::move(value); }
89 inline FPorts& WithApplications(const Aws::Vector<ApplicationConfig>& value) { SetApplications(value); return *this;}
90 inline FPorts& WithApplications(Aws::Vector<ApplicationConfig>&& value) { SetApplications(std::move(value)); return *this;}
91 inline FPorts& AddApplications(const ApplicationConfig& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; }
92 inline FPorts& AddApplications(ApplicationConfig&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; }
94 private:
95
96 int m_fuota;
97 bool m_fuotaHasBeenSet = false;
98
99 int m_multicast;
100 bool m_multicastHasBeenSet = false;
101
102 int m_clockSync;
103 bool m_clockSyncHasBeenSet = false;
104
105 Positioning m_positioning;
106 bool m_positioningHasBeenSet = false;
107
108 Aws::Vector<ApplicationConfig> m_applications;
109 bool m_applicationsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace IoTWireless
114} // namespace Aws
const Aws::Vector< ApplicationConfig > & GetApplications() const
Definition FPorts.h:85
bool ClockSyncHasBeenSet() const
Definition FPorts.h:62
FPorts & AddApplications(const ApplicationConfig &value)
Definition FPorts.h:91
bool ApplicationsHasBeenSet() const
Definition FPorts.h:86
bool PositioningHasBeenSet() const
Definition FPorts.h:73
FPorts & WithPositioning(Positioning &&value)
Definition FPorts.h:77
FPorts & WithClockSync(int value)
Definition FPorts.h:64
const Positioning & GetPositioning() const
Definition FPorts.h:72
void SetMulticast(int value)
Definition FPorts.h:55
FPorts & WithMulticast(int value)
Definition FPorts.h:56
FPorts & AddApplications(ApplicationConfig &&value)
Definition FPorts.h:92
AWS_IOTWIRELESS_API FPorts()
void SetPositioning(Positioning &&value)
Definition FPorts.h:75
void SetApplications(Aws::Vector< ApplicationConfig > &&value)
Definition FPorts.h:88
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClockSync(int value)
Definition FPorts.h:63
FPorts & WithApplications(const Aws::Vector< ApplicationConfig > &value)
Definition FPorts.h:89
void SetFuota(int value)
Definition FPorts.h:47
AWS_IOTWIRELESS_API FPorts & operator=(Aws::Utils::Json::JsonView jsonValue)
FPorts & WithPositioning(const Positioning &value)
Definition FPorts.h:76
FPorts & WithFuota(int value)
Definition FPorts.h:48
AWS_IOTWIRELESS_API FPorts(Aws::Utils::Json::JsonView jsonValue)
void SetApplications(const Aws::Vector< ApplicationConfig > &value)
Definition FPorts.h:87
bool MulticastHasBeenSet() const
Definition FPorts.h:54
void SetPositioning(const Positioning &value)
Definition FPorts.h:74
FPorts & WithApplications(Aws::Vector< ApplicationConfig > &&value)
Definition FPorts.h:90
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue