AWS SDK for C++  1.9.108
AWS SDK for C++
LoRaWANUpdateGatewayTaskEntry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTWireless
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const LoRaWANGatewayVersion& GetCurrentVersion() const{ return m_currentVersion; }
44 
48  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
49 
53  inline void SetCurrentVersion(const LoRaWANGatewayVersion& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
54 
58  inline void SetCurrentVersion(LoRaWANGatewayVersion&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
59 
63  inline LoRaWANUpdateGatewayTaskEntry& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;}
64 
68  inline LoRaWANUpdateGatewayTaskEntry& WithCurrentVersion(LoRaWANGatewayVersion&& value) { SetCurrentVersion(std::move(value)); return *this;}
69 
70 
74  inline const LoRaWANGatewayVersion& GetUpdateVersion() const{ return m_updateVersion; }
75 
79  inline bool UpdateVersionHasBeenSet() const { return m_updateVersionHasBeenSet; }
80 
84  inline void SetUpdateVersion(const LoRaWANGatewayVersion& value) { m_updateVersionHasBeenSet = true; m_updateVersion = value; }
85 
89  inline void SetUpdateVersion(LoRaWANGatewayVersion&& value) { m_updateVersionHasBeenSet = true; m_updateVersion = std::move(value); }
90 
94  inline LoRaWANUpdateGatewayTaskEntry& WithUpdateVersion(const LoRaWANGatewayVersion& value) { SetUpdateVersion(value); return *this;}
95 
99  inline LoRaWANUpdateGatewayTaskEntry& WithUpdateVersion(LoRaWANGatewayVersion&& value) { SetUpdateVersion(std::move(value)); return *this;}
100 
101  private:
102 
103  LoRaWANGatewayVersion m_currentVersion;
104  bool m_currentVersionHasBeenSet;
105 
106  LoRaWANGatewayVersion m_updateVersion;
107  bool m_updateVersionHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace IoTWireless
112 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
LoRaWANGatewayVersion.h
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::LoRaWANUpdateGatewayTaskEntry
LoRaWANUpdateGatewayTaskEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::WithCurrentVersion
LoRaWANUpdateGatewayTaskEntry & WithCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:68
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::SetCurrentVersion
void SetCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:58
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::LoRaWANUpdateGatewayTaskEntry
LoRaWANUpdateGatewayTaskEntry()
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::GetUpdateVersion
const LoRaWANGatewayVersion & GetUpdateVersion() const
Definition: LoRaWANUpdateGatewayTaskEntry.h:74
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::UpdateVersionHasBeenSet
bool UpdateVersionHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskEntry.h:79
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::WithUpdateVersion
LoRaWANUpdateGatewayTaskEntry & WithUpdateVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:94
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::WithCurrentVersion
LoRaWANUpdateGatewayTaskEntry & WithCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:63
Aws::IoTWireless::Model::LoRaWANGatewayVersion
Definition: LoRaWANGatewayVersion.h:32
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::SetCurrentVersion
void SetCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::SetUpdateVersion
void SetUpdateVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:89
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry
Definition: LoRaWANUpdateGatewayTaskEntry.h:32
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::GetCurrentVersion
const LoRaWANGatewayVersion & GetCurrentVersion() const
Definition: LoRaWANUpdateGatewayTaskEntry.h:43
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::SetUpdateVersion
void SetUpdateVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:84
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::operator=
LoRaWANUpdateGatewayTaskEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskEntry.h:48
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskEntry::WithUpdateVersion
LoRaWANUpdateGatewayTaskEntry & WithUpdateVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskEntry.h:99