AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetWirelessGatewayTaskResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/WirelessGatewayTaskStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult() = default;
30
32
35 inline const Aws::String& GetWirelessGatewayId() const { return m_wirelessGatewayId; }
36 template <typename WirelessGatewayIdT = Aws::String>
37 void SetWirelessGatewayId(WirelessGatewayIdT&& value) {
38 m_wirelessGatewayIdHasBeenSet = true;
39 m_wirelessGatewayId = std::forward<WirelessGatewayIdT>(value);
40 }
41 template <typename WirelessGatewayIdT = Aws::String>
43 SetWirelessGatewayId(std::forward<WirelessGatewayIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetWirelessGatewayTaskDefinitionId() const { return m_wirelessGatewayTaskDefinitionId; }
53 template <typename WirelessGatewayTaskDefinitionIdT = Aws::String>
54 void SetWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT&& value) {
55 m_wirelessGatewayTaskDefinitionIdHasBeenSet = true;
56 m_wirelessGatewayTaskDefinitionId = std::forward<WirelessGatewayTaskDefinitionIdT>(value);
57 }
58 template <typename WirelessGatewayTaskDefinitionIdT = Aws::String>
59 GetWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT&& value) {
60 SetWirelessGatewayTaskDefinitionId(std::forward<WirelessGatewayTaskDefinitionIdT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
71 template <typename LastUplinkReceivedAtT = Aws::String>
72 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
73 m_lastUplinkReceivedAtHasBeenSet = true;
74 m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value);
75 }
76 template <typename LastUplinkReceivedAtT = Aws::String>
78 SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetTaskCreatedAt() const { return m_taskCreatedAt; }
88 template <typename TaskCreatedAtT = Aws::String>
89 void SetTaskCreatedAt(TaskCreatedAtT&& value) {
90 m_taskCreatedAtHasBeenSet = true;
91 m_taskCreatedAt = std::forward<TaskCreatedAtT>(value);
92 }
93 template <typename TaskCreatedAtT = Aws::String>
95 SetTaskCreatedAt(std::forward<TaskCreatedAtT>(value));
96 return *this;
97 }
99
101
104 inline WirelessGatewayTaskStatus GetStatus() const { return m_status; }
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_wirelessGatewayId;
133
134 Aws::String m_wirelessGatewayTaskDefinitionId;
135
136 Aws::String m_lastUplinkReceivedAt;
137
138 Aws::String m_taskCreatedAt;
139
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_wirelessGatewayIdHasBeenSet = false;
145 bool m_wirelessGatewayTaskDefinitionIdHasBeenSet = false;
146 bool m_lastUplinkReceivedAtHasBeenSet = false;
147 bool m_taskCreatedAtHasBeenSet = false;
148 bool m_statusHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace IoTWireless
154} // namespace Aws
AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessGatewayTaskResult & WithWirelessGatewayId(WirelessGatewayIdT &&value)
GetWirelessGatewayTaskResult & WithStatus(WirelessGatewayTaskStatus value)
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT &&value)
GetWirelessGatewayTaskResult & WithTaskCreatedAt(TaskCreatedAtT &&value)
GetWirelessGatewayTaskResult & WithRequestId(RequestIdT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult()=default
void SetWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT &&value)
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(LastUplinkReceivedAtT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue