AWS SDK for C++  1.9.108
AWS SDK for C++
LoRaWANGatewayCurrentVersion.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 LoRaWANGatewayCurrentVersion& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;}
64 
68  inline LoRaWANGatewayCurrentVersion& WithCurrentVersion(LoRaWANGatewayVersion&& value) { SetCurrentVersion(std::move(value)); return *this;}
69 
70  private:
71 
72  LoRaWANGatewayVersion m_currentVersion;
73  bool m_currentVersionHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace IoTWireless
78 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
LoRaWANGatewayVersion.h
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::LoRaWANGatewayCurrentVersion
LoRaWANGatewayCurrentVersion()
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion
Definition: LoRaWANGatewayCurrentVersion.h:32
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::LoRaWANGatewayCurrentVersion
LoRaWANGatewayCurrentVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::WithCurrentVersion
LoRaWANGatewayCurrentVersion & WithCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANGatewayCurrentVersion.h:68
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::GetCurrentVersion
const LoRaWANGatewayVersion & GetCurrentVersion() const
Definition: LoRaWANGatewayCurrentVersion.h:43
Aws::IoTWireless::Model::LoRaWANGatewayVersion
Definition: LoRaWANGatewayVersion.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::operator=
LoRaWANGatewayCurrentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::WithCurrentVersion
LoRaWANGatewayCurrentVersion & WithCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANGatewayCurrentVersion.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::SetCurrentVersion
void SetCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANGatewayCurrentVersion.h:58
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: LoRaWANGatewayCurrentVersion.h:48
Aws::IoTWireless::Model::LoRaWANGatewayCurrentVersion::SetCurrentVersion
void SetCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANGatewayCurrentVersion.h:53