AWS SDK for C++  1.9.102
AWS SDK for C++
GetWirelessGatewayTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetWirelessGatewayId() const{ return m_wirelessGatewayId; }
40 
44  inline void SetWirelessGatewayId(const Aws::String& value) { m_wirelessGatewayId = value; }
45 
49  inline void SetWirelessGatewayId(Aws::String&& value) { m_wirelessGatewayId = std::move(value); }
50 
54  inline void SetWirelessGatewayId(const char* value) { m_wirelessGatewayId.assign(value); }
55 
59  inline GetWirelessGatewayTaskResult& WithWirelessGatewayId(const Aws::String& value) { SetWirelessGatewayId(value); return *this;}
60 
64  inline GetWirelessGatewayTaskResult& WithWirelessGatewayId(Aws::String&& value) { SetWirelessGatewayId(std::move(value)); return *this;}
65 
69  inline GetWirelessGatewayTaskResult& WithWirelessGatewayId(const char* value) { SetWirelessGatewayId(value); return *this;}
70 
71 
75  inline const Aws::String& GetWirelessGatewayTaskDefinitionId() const{ return m_wirelessGatewayTaskDefinitionId; }
76 
80  inline void SetWirelessGatewayTaskDefinitionId(const Aws::String& value) { m_wirelessGatewayTaskDefinitionId = value; }
81 
85  inline void SetWirelessGatewayTaskDefinitionId(Aws::String&& value) { m_wirelessGatewayTaskDefinitionId = std::move(value); }
86 
90  inline void SetWirelessGatewayTaskDefinitionId(const char* value) { m_wirelessGatewayTaskDefinitionId.assign(value); }
91 
95  inline GetWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(const Aws::String& value) { SetWirelessGatewayTaskDefinitionId(value); return *this;}
96 
100  inline GetWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(Aws::String&& value) { SetWirelessGatewayTaskDefinitionId(std::move(value)); return *this;}
101 
105  inline GetWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(const char* value) { SetWirelessGatewayTaskDefinitionId(value); return *this;}
106 
107 
111  inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
112 
116  inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAt = value; }
117 
121  inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAt = std::move(value); }
122 
126  inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAt.assign(value); }
127 
131  inline GetWirelessGatewayTaskResult& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;}
132 
136  inline GetWirelessGatewayTaskResult& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;}
137 
141  inline GetWirelessGatewayTaskResult& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
142 
143 
147  inline const Aws::String& GetTaskCreatedAt() const{ return m_taskCreatedAt; }
148 
152  inline void SetTaskCreatedAt(const Aws::String& value) { m_taskCreatedAt = value; }
153 
157  inline void SetTaskCreatedAt(Aws::String&& value) { m_taskCreatedAt = std::move(value); }
158 
162  inline void SetTaskCreatedAt(const char* value) { m_taskCreatedAt.assign(value); }
163 
167  inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(const Aws::String& value) { SetTaskCreatedAt(value); return *this;}
168 
172  inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(Aws::String&& value) { SetTaskCreatedAt(std::move(value)); return *this;}
173 
177  inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(const char* value) { SetTaskCreatedAt(value); return *this;}
178 
179 
183  inline const WirelessGatewayTaskStatus& GetStatus() const{ return m_status; }
184 
188  inline void SetStatus(const WirelessGatewayTaskStatus& value) { m_status = value; }
189 
193  inline void SetStatus(WirelessGatewayTaskStatus&& value) { m_status = std::move(value); }
194 
198  inline GetWirelessGatewayTaskResult& WithStatus(const WirelessGatewayTaskStatus& value) { SetStatus(value); return *this;}
199 
203  inline GetWirelessGatewayTaskResult& WithStatus(WirelessGatewayTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
204 
205  private:
206 
207  Aws::String m_wirelessGatewayId;
208 
209  Aws::String m_wirelessGatewayTaskDefinitionId;
210 
211  Aws::String m_lastUplinkReceivedAt;
212 
213  Aws::String m_taskCreatedAt;
214 
215  WirelessGatewayTaskStatus m_status;
216  };
217 
218 } // namespace Model
219 } // namespace IoTWireless
220 } // namespace Aws
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayId
void SetWirelessGatewayId(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:49
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::operator=
GetWirelessGatewayTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:121
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetTaskCreatedAt
const Aws::String & GetTaskCreatedAt() const
Definition: GetWirelessGatewayTaskResult.h:147
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(const char *value)
Definition: GetWirelessGatewayTaskResult.h:90
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:95
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetWirelessGatewayTaskResult
GetWirelessGatewayTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithTaskCreatedAt
GetWirelessGatewayTaskResult & WithTaskCreatedAt(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:167
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetStatus
void SetStatus(const WirelessGatewayTaskStatus &value)
Definition: GetWirelessGatewayTaskResult.h:188
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithLastUplinkReceivedAt
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:136
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayId
GetWirelessGatewayTaskResult & WithWirelessGatewayId(const char *value)
Definition: GetWirelessGatewayTaskResult.h:69
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayId
void SetWirelessGatewayId(const char *value)
Definition: GetWirelessGatewayTaskResult.h:54
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayId
GetWirelessGatewayTaskResult & WithWirelessGatewayId(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:59
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const char *value)
Definition: GetWirelessGatewayTaskResult.h:126
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetWirelessGatewayId
const Aws::String & GetWirelessGatewayId() const
Definition: GetWirelessGatewayTaskResult.h:39
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetWirelessGatewayTaskResult
GetWirelessGatewayTaskResult()
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetLastUplinkReceivedAt
const Aws::String & GetLastUplinkReceivedAt() const
Definition: GetWirelessGatewayTaskResult.h:111
AWSString.h
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult
Definition: GetWirelessGatewayTaskResult.h:29
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayId
void SetWirelessGatewayId(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:44
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithLastUplinkReceivedAt
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:131
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithStatus
GetWirelessGatewayTaskResult & WithStatus(const WirelessGatewayTaskStatus &value)
Definition: GetWirelessGatewayTaskResult.h:198
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetTaskCreatedAt
void SetTaskCreatedAt(const char *value)
Definition: GetWirelessGatewayTaskResult.h:162
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetStatus
void SetStatus(WirelessGatewayTaskStatus &&value)
Definition: GetWirelessGatewayTaskResult.h:193
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetTaskCreatedAt
void SetTaskCreatedAt(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:157
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithTaskCreatedAt
GetWirelessGatewayTaskResult & WithTaskCreatedAt(const char *value)
Definition: GetWirelessGatewayTaskResult.h:177
Aws::IoTWireless::Model::WirelessGatewayTaskStatus
WirelessGatewayTaskStatus
Definition: WirelessGatewayTaskStatus.h:17
WirelessGatewayTaskStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:80
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayId
GetWirelessGatewayTaskResult & WithWirelessGatewayId(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:64
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetTaskCreatedAt
void SetTaskCreatedAt(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:152
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithLastUplinkReceivedAt
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(const char *value)
Definition: GetWirelessGatewayTaskResult.h:141
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const Aws::String &value)
Definition: GetWirelessGatewayTaskResult.h:116
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetWirelessGatewayTaskDefinitionId
const Aws::String & GetWirelessGatewayTaskDefinitionId() const
Definition: GetWirelessGatewayTaskResult.h:75
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithTaskCreatedAt
GetWirelessGatewayTaskResult & WithTaskCreatedAt(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:172
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:85
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithStatus
GetWirelessGatewayTaskResult & WithStatus(WirelessGatewayTaskStatus &&value)
Definition: GetWirelessGatewayTaskResult.h:203
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const char *value)
Definition: GetWirelessGatewayTaskResult.h:105
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::GetStatus
const WirelessGatewayTaskStatus & GetStatus() const
Definition: GetWirelessGatewayTaskResult.h:183
Aws::IoTWireless::Model::GetWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(Aws::String &&value)
Definition: GetWirelessGatewayTaskResult.h:100