AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWirelessGatewayTaskResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/WirelessGatewayTaskStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult() = default;
34
35
37
40 inline const Aws::String& GetWirelessGatewayId() const { return m_wirelessGatewayId; }
41 template<typename WirelessGatewayIdT = Aws::String>
42 void SetWirelessGatewayId(WirelessGatewayIdT&& value) { m_wirelessGatewayIdHasBeenSet = true; m_wirelessGatewayId = std::forward<WirelessGatewayIdT>(value); }
43 template<typename WirelessGatewayIdT = Aws::String>
44 GetWirelessGatewayTaskResult& WithWirelessGatewayId(WirelessGatewayIdT&& value) { SetWirelessGatewayId(std::forward<WirelessGatewayIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetWirelessGatewayTaskDefinitionId() const { return m_wirelessGatewayTaskDefinitionId; }
52 template<typename WirelessGatewayTaskDefinitionIdT = Aws::String>
53 void SetWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT&& value) { m_wirelessGatewayTaskDefinitionIdHasBeenSet = true; m_wirelessGatewayTaskDefinitionId = std::forward<WirelessGatewayTaskDefinitionIdT>(value); }
54 template<typename WirelessGatewayTaskDefinitionIdT = Aws::String>
55 GetWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(WirelessGatewayTaskDefinitionIdT&& value) { SetWirelessGatewayTaskDefinitionId(std::forward<WirelessGatewayTaskDefinitionIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
64 template<typename LastUplinkReceivedAtT = Aws::String>
65 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value); }
66 template<typename LastUplinkReceivedAtT = Aws::String>
67 GetWirelessGatewayTaskResult& WithLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) { SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value)); return *this;}
69
71
74 inline const Aws::String& GetTaskCreatedAt() const { return m_taskCreatedAt; }
75 template<typename TaskCreatedAtT = Aws::String>
76 void SetTaskCreatedAt(TaskCreatedAtT&& value) { m_taskCreatedAtHasBeenSet = true; m_taskCreatedAt = std::forward<TaskCreatedAtT>(value); }
77 template<typename TaskCreatedAtT = Aws::String>
78 GetWirelessGatewayTaskResult& WithTaskCreatedAt(TaskCreatedAtT&& value) { SetTaskCreatedAt(std::forward<TaskCreatedAtT>(value)); return *this;}
80
82
85 inline WirelessGatewayTaskStatus GetStatus() const { return m_status; }
86 inline void SetStatus(WirelessGatewayTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 GetWirelessGatewayTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_wirelessGatewayId;
101 bool m_wirelessGatewayIdHasBeenSet = false;
102
103 Aws::String m_wirelessGatewayTaskDefinitionId;
104 bool m_wirelessGatewayTaskDefinitionIdHasBeenSet = false;
105
106 Aws::String m_lastUplinkReceivedAt;
107 bool m_lastUplinkReceivedAtHasBeenSet = false;
108
109 Aws::String m_taskCreatedAt;
110 bool m_taskCreatedAtHasBeenSet = false;
111
113 bool m_statusHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoTWireless
121} // 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