AWS SDK for C++  1.9.106
AWS SDK for C++
LoRaWANUpdateGatewayTaskCreate.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTWireless
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUpdateSignature() const{ return m_updateSignature; }
45 
49  inline bool UpdateSignatureHasBeenSet() const { return m_updateSignatureHasBeenSet; }
50 
54  inline void SetUpdateSignature(const Aws::String& value) { m_updateSignatureHasBeenSet = true; m_updateSignature = value; }
55 
59  inline void SetUpdateSignature(Aws::String&& value) { m_updateSignatureHasBeenSet = true; m_updateSignature = std::move(value); }
60 
64  inline void SetUpdateSignature(const char* value) { m_updateSignatureHasBeenSet = true; m_updateSignature.assign(value); }
65 
69  inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(const Aws::String& value) { SetUpdateSignature(value); return *this;}
70 
74  inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(Aws::String&& value) { SetUpdateSignature(std::move(value)); return *this;}
75 
79  inline LoRaWANUpdateGatewayTaskCreate& WithUpdateSignature(const char* value) { SetUpdateSignature(value); return *this;}
80 
81 
85  inline long long GetSigKeyCrc() const{ return m_sigKeyCrc; }
86 
90  inline bool SigKeyCrcHasBeenSet() const { return m_sigKeyCrcHasBeenSet; }
91 
95  inline void SetSigKeyCrc(long long value) { m_sigKeyCrcHasBeenSet = true; m_sigKeyCrc = value; }
96 
100  inline LoRaWANUpdateGatewayTaskCreate& WithSigKeyCrc(long long value) { SetSigKeyCrc(value); return *this;}
101 
102 
106  inline const LoRaWANGatewayVersion& GetCurrentVersion() const{ return m_currentVersion; }
107 
111  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
112 
116  inline void SetCurrentVersion(const LoRaWANGatewayVersion& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
117 
121  inline void SetCurrentVersion(LoRaWANGatewayVersion&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
122 
126  inline LoRaWANUpdateGatewayTaskCreate& WithCurrentVersion(const LoRaWANGatewayVersion& value) { SetCurrentVersion(value); return *this;}
127 
131  inline LoRaWANUpdateGatewayTaskCreate& WithCurrentVersion(LoRaWANGatewayVersion&& value) { SetCurrentVersion(std::move(value)); return *this;}
132 
133 
137  inline const LoRaWANGatewayVersion& GetUpdateVersion() const{ return m_updateVersion; }
138 
142  inline bool UpdateVersionHasBeenSet() const { return m_updateVersionHasBeenSet; }
143 
147  inline void SetUpdateVersion(const LoRaWANGatewayVersion& value) { m_updateVersionHasBeenSet = true; m_updateVersion = value; }
148 
152  inline void SetUpdateVersion(LoRaWANGatewayVersion&& value) { m_updateVersionHasBeenSet = true; m_updateVersion = std::move(value); }
153 
157  inline LoRaWANUpdateGatewayTaskCreate& WithUpdateVersion(const LoRaWANGatewayVersion& value) { SetUpdateVersion(value); return *this;}
158 
162  inline LoRaWANUpdateGatewayTaskCreate& WithUpdateVersion(LoRaWANGatewayVersion&& value) { SetUpdateVersion(std::move(value)); return *this;}
163 
164  private:
165 
166  Aws::String m_updateSignature;
167  bool m_updateSignatureHasBeenSet;
168 
169  long long m_sigKeyCrc;
170  bool m_sigKeyCrcHasBeenSet;
171 
172  LoRaWANGatewayVersion m_currentVersion;
173  bool m_currentVersionHasBeenSet;
174 
175  LoRaWANGatewayVersion m_updateVersion;
176  bool m_updateVersionHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace IoTWireless
181 } // namespace Aws
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate
Definition: LoRaWANUpdateGatewayTaskCreate.h:33
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetUpdateSignature
void SetUpdateSignature(const char *value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:64
LoRaWANGatewayVersion.h
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithUpdateSignature
LoRaWANUpdateGatewayTaskCreate & WithUpdateSignature(const char *value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:79
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::GetUpdateVersion
const LoRaWANGatewayVersion & GetUpdateVersion() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:137
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithSigKeyCrc
LoRaWANUpdateGatewayTaskCreate & WithSigKeyCrc(long long value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:100
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::GetSigKeyCrc
long long GetSigKeyCrc() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:85
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetUpdateVersion
void SetUpdateVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:152
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithUpdateVersion
LoRaWANUpdateGatewayTaskCreate & WithUpdateVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:162
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:111
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithUpdateSignature
LoRaWANUpdateGatewayTaskCreate & WithUpdateSignature(const Aws::String &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:69
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetCurrentVersion
void SetCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:121
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::GetUpdateSignature
const Aws::String & GetUpdateSignature() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:44
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::GetCurrentVersion
const LoRaWANGatewayVersion & GetCurrentVersion() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:106
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::operator=
LoRaWANUpdateGatewayTaskCreate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SigKeyCrcHasBeenSet
bool SigKeyCrcHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:90
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithUpdateVersion
LoRaWANUpdateGatewayTaskCreate & WithUpdateVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:157
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::UpdateVersionHasBeenSet
bool UpdateVersionHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:142
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetCurrentVersion
void SetCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:116
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::LoRaWANUpdateGatewayTaskCreate
LoRaWANUpdateGatewayTaskCreate(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANGatewayVersion
Definition: LoRaWANGatewayVersion.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetUpdateVersion
void SetUpdateVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:147
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithCurrentVersion
LoRaWANUpdateGatewayTaskCreate & WithCurrentVersion(LoRaWANGatewayVersion &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:131
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetUpdateSignature
void SetUpdateSignature(Aws::String &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::UpdateSignatureHasBeenSet
bool UpdateSignatureHasBeenSet() const
Definition: LoRaWANUpdateGatewayTaskCreate.h:49
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::LoRaWANUpdateGatewayTaskCreate
LoRaWANUpdateGatewayTaskCreate()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetUpdateSignature
void SetUpdateSignature(const Aws::String &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:54
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithCurrentVersion
LoRaWANUpdateGatewayTaskCreate & WithCurrentVersion(const LoRaWANGatewayVersion &value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:126
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::WithUpdateSignature
LoRaWANUpdateGatewayTaskCreate & WithUpdateSignature(Aws::String &&value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:74
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANUpdateGatewayTaskCreate::SetSigKeyCrc
void SetSigKeyCrc(long long value)
Definition: LoRaWANUpdateGatewayTaskCreate.h:95