AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GetDecoderManifestResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
11#include <aws/iotfleetwise/model/ManifestStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTFleetWise {
25namespace Model {
27 public:
28 AWS_IOTFLEETWISE_API GetDecoderManifestResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
89 template <typename ModelManifestArnT = Aws::String>
90 void SetModelManifestArn(ModelManifestArnT&& value) {
91 m_modelManifestArnHasBeenSet = true;
92 m_modelManifestArn = std::forward<ModelManifestArnT>(value);
93 }
94 template <typename ModelManifestArnT = Aws::String>
95 GetDecoderManifestResult& WithModelManifestArn(ModelManifestArnT&& value) {
96 SetModelManifestArn(std::forward<ModelManifestArnT>(value));
97 return *this;
98 }
100
102
107 inline ManifestStatus GetStatus() const { return m_status; }
108 inline void SetStatus(ManifestStatus value) {
109 m_statusHasBeenSet = true;
110 m_status = value;
111 }
113 SetStatus(value);
114 return *this;
115 }
117
119
123 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
125 void SetCreationTime(CreationTimeT&& value) {
126 m_creationTimeHasBeenSet = true;
127 m_creationTime = std::forward<CreationTimeT>(value);
128 }
129 template <typename CreationTimeT = Aws::Utils::DateTime>
131 SetCreationTime(std::forward<CreationTimeT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
142 template <typename LastModificationTimeT = Aws::Utils::DateTime>
143 void SetLastModificationTime(LastModificationTimeT&& value) {
144 m_lastModificationTimeHasBeenSet = true;
145 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
146 }
147 template <typename LastModificationTimeT = Aws::Utils::DateTime>
148 GetDecoderManifestResult& WithLastModificationTime(LastModificationTimeT&& value) {
149 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
150 return *this;
151 }
153
155
160 inline const Aws::String& GetMessage() const { return m_message; }
161 template <typename MessageT = Aws::String>
162 void SetMessage(MessageT&& value) {
163 m_messageHasBeenSet = true;
164 m_message = std::forward<MessageT>(value);
165 }
166 template <typename MessageT = Aws::String>
168 SetMessage(std::forward<MessageT>(value));
169 return *this;
170 }
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template <typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) {
178 m_requestIdHasBeenSet = true;
179 m_requestId = std::forward<RequestIdT>(value);
180 }
181 template <typename RequestIdT = Aws::String>
183 SetRequestId(std::forward<RequestIdT>(value));
184 return *this;
185 }
187 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
188
189 private:
190 Aws::String m_name;
191
192 Aws::String m_arn;
193
194 Aws::String m_description;
195
196 Aws::String m_modelManifestArn;
197
199
200 Aws::Utils::DateTime m_creationTime{};
201
202 Aws::Utils::DateTime m_lastModificationTime{};
203
204 Aws::String m_message;
205
206 Aws::String m_requestId;
207 Aws::Http::HttpResponseCode m_HttpResponseCode;
208 bool m_nameHasBeenSet = false;
209 bool m_arnHasBeenSet = false;
210 bool m_descriptionHasBeenSet = false;
211 bool m_modelManifestArnHasBeenSet = false;
212 bool m_statusHasBeenSet = false;
213 bool m_creationTimeHasBeenSet = false;
214 bool m_lastModificationTimeHasBeenSet = false;
215 bool m_messageHasBeenSet = false;
216 bool m_requestIdHasBeenSet = false;
217};
218
219} // namespace Model
220} // namespace IoTFleetWise
221} // namespace Aws
GetDecoderManifestResult & WithCreationTime(CreationTimeT &&value)
AWS_IOTFLEETWISE_API GetDecoderManifestResult()=default
GetDecoderManifestResult & WithLastModificationTime(LastModificationTimeT &&value)
GetDecoderManifestResult & WithDescription(DescriptionT &&value)
void SetLastModificationTime(LastModificationTimeT &&value)
GetDecoderManifestResult & WithArn(ArnT &&value)
GetDecoderManifestResult & WithModelManifestArn(ModelManifestArnT &&value)
AWS_IOTFLEETWISE_API GetDecoderManifestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDecoderManifestResult & WithMessage(MessageT &&value)
GetDecoderManifestResult & WithStatus(ManifestStatus value)
const Aws::Utils::DateTime & GetLastModificationTime() const
GetDecoderManifestResult & WithRequestId(RequestIdT &&value)
AWS_IOTFLEETWISE_API GetDecoderManifestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDecoderManifestResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue