AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetWirelessGatewayId() const{ return m_wirelessGatewayId; }
41 inline void SetWirelessGatewayId(const Aws::String& value) { m_wirelessGatewayId = value; }
42 inline void SetWirelessGatewayId(Aws::String&& value) { m_wirelessGatewayId = std::move(value); }
43 inline void SetWirelessGatewayId(const char* value) { m_wirelessGatewayId.assign(value); }
45 inline GetWirelessGatewayTaskResult& WithWirelessGatewayId(Aws::String&& value) { SetWirelessGatewayId(std::move(value)); return *this;}
46 inline GetWirelessGatewayTaskResult& WithWirelessGatewayId(const char* value) { SetWirelessGatewayId(value); return *this;}
48
50
53 inline const Aws::String& GetWirelessGatewayTaskDefinitionId() const{ return m_wirelessGatewayTaskDefinitionId; }
54 inline void SetWirelessGatewayTaskDefinitionId(const Aws::String& value) { m_wirelessGatewayTaskDefinitionId = value; }
55 inline void SetWirelessGatewayTaskDefinitionId(Aws::String&& value) { m_wirelessGatewayTaskDefinitionId = std::move(value); }
56 inline void SetWirelessGatewayTaskDefinitionId(const char* value) { m_wirelessGatewayTaskDefinitionId.assign(value); }
61
63
67 inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
68 inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAt = value; }
69 inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAt = std::move(value); }
70 inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAt.assign(value); }
73 inline GetWirelessGatewayTaskResult& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
75
77
80 inline const Aws::String& GetTaskCreatedAt() const{ return m_taskCreatedAt; }
81 inline void SetTaskCreatedAt(const Aws::String& value) { m_taskCreatedAt = value; }
82 inline void SetTaskCreatedAt(Aws::String&& value) { m_taskCreatedAt = std::move(value); }
83 inline void SetTaskCreatedAt(const char* value) { m_taskCreatedAt.assign(value); }
84 inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(const Aws::String& value) { SetTaskCreatedAt(value); return *this;}
85 inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(Aws::String&& value) { SetTaskCreatedAt(std::move(value)); return *this;}
86 inline GetWirelessGatewayTaskResult& WithTaskCreatedAt(const char* value) { SetTaskCreatedAt(value); return *this;}
88
90
93 inline const WirelessGatewayTaskStatus& GetStatus() const{ return m_status; }
94 inline void SetStatus(const WirelessGatewayTaskStatus& value) { m_status = value; }
95 inline void SetStatus(WirelessGatewayTaskStatus&& value) { m_status = std::move(value); }
96 inline GetWirelessGatewayTaskResult& WithStatus(const WirelessGatewayTaskStatus& value) { SetStatus(value); return *this;}
97 inline GetWirelessGatewayTaskResult& WithStatus(WirelessGatewayTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline GetWirelessGatewayTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline GetWirelessGatewayTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline GetWirelessGatewayTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_wirelessGatewayId;
113
114 Aws::String m_wirelessGatewayTaskDefinitionId;
115
116 Aws::String m_lastUplinkReceivedAt;
117
118 Aws::String m_taskCreatedAt;
119
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace IoTWireless
127} // namespace Aws
AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const WirelessGatewayTaskStatus &value)
GetWirelessGatewayTaskResult & WithRequestId(const Aws::String &value)
GetWirelessGatewayTaskResult & WithTaskCreatedAt(Aws::String &&value)
GetWirelessGatewayTaskResult & WithWirelessGatewayId(const Aws::String &value)
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(const char *value)
GetWirelessGatewayTaskResult & WithRequestId(const char *value)
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const Aws::String &value)
GetWirelessGatewayTaskResult & WithRequestId(Aws::String &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessGatewayTaskResult & WithStatus(const WirelessGatewayTaskStatus &value)
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(Aws::String &&value)
GetWirelessGatewayTaskResult & WithStatus(WirelessGatewayTaskStatus &&value)
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(const Aws::String &value)
GetWirelessGatewayTaskResult & WithTaskCreatedAt(const Aws::String &value)
GetWirelessGatewayTaskResult & WithWirelessGatewayId(Aws::String &&value)
GetWirelessGatewayTaskResult & WithWirelessGatewayId(const char *value)
GetWirelessGatewayTaskResult & WithTaskCreatedAt(const char *value)
GetWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const char *value)
GetWirelessGatewayTaskResult & WithLastUplinkReceivedAt(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue