AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetFuotaTaskResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
49 inline const Aws::String& GetId() const { return m_id; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 GetFuotaTaskResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
58 inline FuotaTaskStatus GetStatus() const { return m_status; }
59 inline void SetStatus(FuotaTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
60 inline GetFuotaTaskResult& WithStatus(FuotaTaskStatus value) { SetStatus(value); return *this;}
62
64
65 inline const Aws::String& GetName() const { return m_name; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 GetFuotaTaskResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 GetFuotaTaskResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
83 inline const LoRaWANFuotaTaskGetInfo& GetLoRaWAN() const { return m_loRaWAN; }
84 template<typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
85 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
86 template<typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
87 GetFuotaTaskResult& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
89
91
92 inline const Aws::String& GetFirmwareUpdateImage() const { return m_firmwareUpdateImage; }
93 template<typename FirmwareUpdateImageT = Aws::String>
94 void SetFirmwareUpdateImage(FirmwareUpdateImageT&& value) { m_firmwareUpdateImageHasBeenSet = true; m_firmwareUpdateImage = std::forward<FirmwareUpdateImageT>(value); }
95 template<typename FirmwareUpdateImageT = Aws::String>
96 GetFuotaTaskResult& WithFirmwareUpdateImage(FirmwareUpdateImageT&& value) { SetFirmwareUpdateImage(std::forward<FirmwareUpdateImageT>(value)); return *this;}
98
100
101 inline const Aws::String& GetFirmwareUpdateRole() const { return m_firmwareUpdateRole; }
102 template<typename FirmwareUpdateRoleT = Aws::String>
103 void SetFirmwareUpdateRole(FirmwareUpdateRoleT&& value) { m_firmwareUpdateRoleHasBeenSet = true; m_firmwareUpdateRole = std::forward<FirmwareUpdateRoleT>(value); }
104 template<typename FirmwareUpdateRoleT = Aws::String>
105 GetFuotaTaskResult& WithFirmwareUpdateRole(FirmwareUpdateRoleT&& value) { SetFirmwareUpdateRole(std::forward<FirmwareUpdateRoleT>(value)); return *this;}
107
109
110 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
111 template<typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
113 template<typename CreatedAtT = Aws::Utils::DateTime>
114 GetFuotaTaskResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
116
118
119 inline int GetRedundancyPercent() const { return m_redundancyPercent; }
120 inline void SetRedundancyPercent(int value) { m_redundancyPercentHasBeenSet = true; m_redundancyPercent = value; }
121 inline GetFuotaTaskResult& WithRedundancyPercent(int value) { SetRedundancyPercent(value); return *this;}
123
125
126 inline int GetFragmentSizeBytes() const { return m_fragmentSizeBytes; }
127 inline void SetFragmentSizeBytes(int value) { m_fragmentSizeBytesHasBeenSet = true; m_fragmentSizeBytes = value; }
128 inline GetFuotaTaskResult& WithFragmentSizeBytes(int value) { SetFragmentSizeBytes(value); return *this;}
130
132
133 inline int GetFragmentIntervalMS() const { return m_fragmentIntervalMS; }
134 inline void SetFragmentIntervalMS(int value) { m_fragmentIntervalMSHasBeenSet = true; m_fragmentIntervalMS = value; }
135 inline GetFuotaTaskResult& WithFragmentIntervalMS(int value) { SetFragmentIntervalMS(value); return *this;}
137
139
140 inline const Aws::String& GetDescriptor() const { return m_descriptor; }
141 template<typename DescriptorT = Aws::String>
142 void SetDescriptor(DescriptorT&& value) { m_descriptorHasBeenSet = true; m_descriptor = std::forward<DescriptorT>(value); }
143 template<typename DescriptorT = Aws::String>
144 GetFuotaTaskResult& WithDescriptor(DescriptorT&& value) { SetDescriptor(std::forward<DescriptorT>(value)); return *this;}
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template<typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
152 template<typename RequestIdT = Aws::String>
153 GetFuotaTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
155 private:
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
164 bool m_statusHasBeenSet = false;
165
166 Aws::String m_name;
167 bool m_nameHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
172 LoRaWANFuotaTaskGetInfo m_loRaWAN;
173 bool m_loRaWANHasBeenSet = false;
174
175 Aws::String m_firmwareUpdateImage;
176 bool m_firmwareUpdateImageHasBeenSet = false;
177
178 Aws::String m_firmwareUpdateRole;
179 bool m_firmwareUpdateRoleHasBeenSet = false;
180
181 Aws::Utils::DateTime m_createdAt{};
182 bool m_createdAtHasBeenSet = false;
183
184 int m_redundancyPercent{0};
185 bool m_redundancyPercentHasBeenSet = false;
186
187 int m_fragmentSizeBytes{0};
188 bool m_fragmentSizeBytesHasBeenSet = false;
189
190 int m_fragmentIntervalMS{0};
191 bool m_fragmentIntervalMSHasBeenSet = false;
192
193 Aws::String m_descriptor;
194 bool m_descriptorHasBeenSet = false;
195
196 Aws::String m_requestId;
197 bool m_requestIdHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace IoTWireless
202} // namespace Aws
void SetFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
GetFuotaTaskResult & WithArn(ArnT &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFuotaTaskResult & WithStatus(FuotaTaskStatus value)
GetFuotaTaskResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFirmwareUpdateRole() const
void SetFirmwareUpdateImage(FirmwareUpdateImageT &&value)
GetFuotaTaskResult & WithId(IdT &&value)
GetFuotaTaskResult & WithDescriptor(DescriptorT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFuotaTaskResult & WithDescription(DescriptionT &&value)
GetFuotaTaskResult & WithFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
const LoRaWANFuotaTaskGetInfo & GetLoRaWAN() const
AWS_IOTWIRELESS_API GetFuotaTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFirmwareUpdateImage() const
GetFuotaTaskResult & WithFirmwareUpdateImage(FirmwareUpdateImageT &&value)
GetFuotaTaskResult & WithFragmentSizeBytes(int value)
GetFuotaTaskResult & WithLoRaWAN(LoRaWANT &&value)
GetFuotaTaskResult & WithRedundancyPercent(int value)
GetFuotaTaskResult & WithName(NameT &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult()=default
GetFuotaTaskResult & WithCreatedAt(CreatedAtT &&value)
GetFuotaTaskResult & WithFragmentIntervalMS(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue