AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFuotaTaskResult.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/FuotaTaskStatus.h>
10#include <aws/iotwireless/model/LoRaWANFuotaTaskGetInfo.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTWireless
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTWIRELESS_API GetFuotaTaskResult();
36
37
39
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline GetFuotaTaskResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetFuotaTaskResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetFuotaTaskResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline void SetId(const Aws::String& value) { m_id = value; }
53 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
54 inline void SetId(const char* value) { m_id.assign(value); }
55 inline GetFuotaTaskResult& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline GetFuotaTaskResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline GetFuotaTaskResult& WithId(const char* value) { SetId(value); return *this;}
59
61
62 inline const FuotaTaskStatus& GetStatus() const{ return m_status; }
63 inline void SetStatus(const FuotaTaskStatus& value) { m_status = value; }
64 inline void SetStatus(FuotaTaskStatus&& value) { m_status = std::move(value); }
65 inline GetFuotaTaskResult& WithStatus(const FuotaTaskStatus& value) { SetStatus(value); return *this;}
66 inline GetFuotaTaskResult& WithStatus(FuotaTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline void SetName(const Aws::String& value) { m_name = value; }
73 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
74 inline void SetName(const char* value) { m_name.assign(value); }
75 inline GetFuotaTaskResult& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline GetFuotaTaskResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline GetFuotaTaskResult& WithName(const char* value) { SetName(value); return *this;}
79
81
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline void SetDescription(const Aws::String& value) { m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_description.assign(value); }
86 inline GetFuotaTaskResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline GetFuotaTaskResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline GetFuotaTaskResult& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
93 inline const LoRaWANFuotaTaskGetInfo& GetLoRaWAN() const{ return m_loRaWAN; }
94 inline void SetLoRaWAN(const LoRaWANFuotaTaskGetInfo& value) { m_loRaWAN = value; }
95 inline void SetLoRaWAN(LoRaWANFuotaTaskGetInfo&& value) { m_loRaWAN = std::move(value); }
96 inline GetFuotaTaskResult& WithLoRaWAN(const LoRaWANFuotaTaskGetInfo& value) { SetLoRaWAN(value); return *this;}
97 inline GetFuotaTaskResult& WithLoRaWAN(LoRaWANFuotaTaskGetInfo&& value) { SetLoRaWAN(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetFirmwareUpdateImage() const{ return m_firmwareUpdateImage; }
103 inline void SetFirmwareUpdateImage(const Aws::String& value) { m_firmwareUpdateImage = value; }
104 inline void SetFirmwareUpdateImage(Aws::String&& value) { m_firmwareUpdateImage = std::move(value); }
105 inline void SetFirmwareUpdateImage(const char* value) { m_firmwareUpdateImage.assign(value); }
107 inline GetFuotaTaskResult& WithFirmwareUpdateImage(Aws::String&& value) { SetFirmwareUpdateImage(std::move(value)); return *this;}
108 inline GetFuotaTaskResult& WithFirmwareUpdateImage(const char* value) { SetFirmwareUpdateImage(value); return *this;}
110
112
113 inline const Aws::String& GetFirmwareUpdateRole() const{ return m_firmwareUpdateRole; }
114 inline void SetFirmwareUpdateRole(const Aws::String& value) { m_firmwareUpdateRole = value; }
115 inline void SetFirmwareUpdateRole(Aws::String&& value) { m_firmwareUpdateRole = std::move(value); }
116 inline void SetFirmwareUpdateRole(const char* value) { m_firmwareUpdateRole.assign(value); }
117 inline GetFuotaTaskResult& WithFirmwareUpdateRole(const Aws::String& value) { SetFirmwareUpdateRole(value); return *this;}
118 inline GetFuotaTaskResult& WithFirmwareUpdateRole(Aws::String&& value) { SetFirmwareUpdateRole(std::move(value)); return *this;}
119 inline GetFuotaTaskResult& WithFirmwareUpdateRole(const char* value) { SetFirmwareUpdateRole(value); return *this;}
121
123
124 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
125 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
126 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
127 inline GetFuotaTaskResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
128 inline GetFuotaTaskResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
130
132
133 inline int GetRedundancyPercent() const{ return m_redundancyPercent; }
134 inline void SetRedundancyPercent(int value) { m_redundancyPercent = value; }
135 inline GetFuotaTaskResult& WithRedundancyPercent(int value) { SetRedundancyPercent(value); return *this;}
137
139
140 inline int GetFragmentSizeBytes() const{ return m_fragmentSizeBytes; }
141 inline void SetFragmentSizeBytes(int value) { m_fragmentSizeBytes = value; }
142 inline GetFuotaTaskResult& WithFragmentSizeBytes(int value) { SetFragmentSizeBytes(value); return *this;}
144
146
147 inline int GetFragmentIntervalMS() const{ return m_fragmentIntervalMS; }
148 inline void SetFragmentIntervalMS(int value) { m_fragmentIntervalMS = value; }
149 inline GetFuotaTaskResult& WithFragmentIntervalMS(int value) { SetFragmentIntervalMS(value); return *this;}
151
153
154 inline const Aws::String& GetRequestId() const{ return m_requestId; }
155 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
156 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
157 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
158 inline GetFuotaTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
159 inline GetFuotaTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
160 inline GetFuotaTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
162 private:
163
164 Aws::String m_arn;
165
166 Aws::String m_id;
167
168 FuotaTaskStatus m_status;
169
170 Aws::String m_name;
171
172 Aws::String m_description;
173
174 LoRaWANFuotaTaskGetInfo m_loRaWAN;
175
176 Aws::String m_firmwareUpdateImage;
177
178 Aws::String m_firmwareUpdateRole;
179
180 Aws::Utils::DateTime m_createdAt;
181
182 int m_redundancyPercent;
183
184 int m_fragmentSizeBytes;
185
186 int m_fragmentIntervalMS;
187
188 Aws::String m_requestId;
189 };
190
191} // namespace Model
192} // namespace IoTWireless
193} // namespace Aws
GetFuotaTaskResult & WithName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_IOTWIRELESS_API GetFuotaTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const FuotaTaskStatus &value)
GetFuotaTaskResult & WithName(Aws::String &&value)
GetFuotaTaskResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFirmwareUpdateRole() const
GetFuotaTaskResult & WithRequestId(const Aws::String &value)
GetFuotaTaskResult & WithDescription(const Aws::String &value)
GetFuotaTaskResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetFirmwareUpdateImage(const Aws::String &value)
GetFuotaTaskResult & WithStatus(FuotaTaskStatus &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFuotaTaskResult & WithFirmwareUpdateRole(const Aws::String &value)
GetFuotaTaskResult & WithRequestId(Aws::String &&value)
const LoRaWANFuotaTaskGetInfo & GetLoRaWAN() const
GetFuotaTaskResult & WithId(const char *value)
GetFuotaTaskResult & WithDescription(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetFuotaTaskResult & WithDescription(const char *value)
void SetLoRaWAN(const LoRaWANFuotaTaskGetInfo &value)
GetFuotaTaskResult & WithId(Aws::String &&value)
GetFuotaTaskResult & WithLoRaWAN(LoRaWANFuotaTaskGetInfo &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFirmwareUpdateImage() const
GetFuotaTaskResult & WithId(const Aws::String &value)
GetFuotaTaskResult & WithStatus(const FuotaTaskStatus &value)
void SetLoRaWAN(LoRaWANFuotaTaskGetInfo &&value)
GetFuotaTaskResult & WithFragmentSizeBytes(int value)
GetFuotaTaskResult & WithFirmwareUpdateImage(const char *value)
GetFuotaTaskResult & WithFirmwareUpdateRole(Aws::String &&value)
GetFuotaTaskResult & WithFirmwareUpdateImage(const Aws::String &value)
void SetFirmwareUpdateRole(const Aws::String &value)
GetFuotaTaskResult & WithRedundancyPercent(int value)
GetFuotaTaskResult & WithLoRaWAN(const LoRaWANFuotaTaskGetInfo &value)
const FuotaTaskStatus & GetStatus() const
void SetDescription(const Aws::String &value)
GetFuotaTaskResult & WithFirmwareUpdateRole(const char *value)
GetFuotaTaskResult & WithRequestId(const char *value)
GetFuotaTaskResult & WithArn(Aws::String &&value)
GetFuotaTaskResult & WithArn(const char *value)
GetFuotaTaskResult & WithArn(const Aws::String &value)
GetFuotaTaskResult & WithFirmwareUpdateImage(Aws::String &&value)
GetFuotaTaskResult & WithFragmentIntervalMS(int value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetFuotaTaskResult & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue