AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GetModelManifestResult.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 GetModelManifestResult() = 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>
77 GetModelManifestResult& WithDescription(DescriptionT&& value) {
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
88 template <typename SignalCatalogArnT = Aws::String>
89 void SetSignalCatalogArn(SignalCatalogArnT&& value) {
90 m_signalCatalogArnHasBeenSet = true;
91 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
92 }
93 template <typename SignalCatalogArnT = Aws::String>
94 GetModelManifestResult& WithSignalCatalogArn(SignalCatalogArnT&& value) {
95 SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value));
96 return *this;
97 }
99
101
106 inline ManifestStatus GetStatus() const { return m_status; }
107 inline void SetStatus(ManifestStatus value) {
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
122 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
123 template <typename CreationTimeT = Aws::Utils::DateTime>
124 void SetCreationTime(CreationTimeT&& value) {
125 m_creationTimeHasBeenSet = true;
126 m_creationTime = std::forward<CreationTimeT>(value);
127 }
128 template <typename CreationTimeT = Aws::Utils::DateTime>
129 GetModelManifestResult& WithCreationTime(CreationTimeT&& value) {
130 SetCreationTime(std::forward<CreationTimeT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
140 template <typename LastModificationTimeT = Aws::Utils::DateTime>
141 void SetLastModificationTime(LastModificationTimeT&& value) {
142 m_lastModificationTimeHasBeenSet = true;
143 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
144 }
145 template <typename LastModificationTimeT = Aws::Utils::DateTime>
146 GetModelManifestResult& WithLastModificationTime(LastModificationTimeT&& value) {
147 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
148 return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template <typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) {
157 m_requestIdHasBeenSet = true;
158 m_requestId = std::forward<RequestIdT>(value);
159 }
160 template <typename RequestIdT = Aws::String>
162 SetRequestId(std::forward<RequestIdT>(value));
163 return *this;
164 }
166 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
167
168 private:
169 Aws::String m_name;
170
171 Aws::String m_arn;
172
173 Aws::String m_description;
174
175 Aws::String m_signalCatalogArn;
176
178
179 Aws::Utils::DateTime m_creationTime{};
180
181 Aws::Utils::DateTime m_lastModificationTime{};
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_nameHasBeenSet = false;
186 bool m_arnHasBeenSet = false;
187 bool m_descriptionHasBeenSet = false;
188 bool m_signalCatalogArnHasBeenSet = false;
189 bool m_statusHasBeenSet = false;
190 bool m_creationTimeHasBeenSet = false;
191 bool m_lastModificationTimeHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace IoTFleetWise
197} // namespace Aws
GetModelManifestResult & WithArn(ArnT &&value)
GetModelManifestResult & WithRequestId(RequestIdT &&value)
GetModelManifestResult & WithName(NameT &&value)
GetModelManifestResult & WithCreationTime(CreationTimeT &&value)
GetModelManifestResult & WithSignalCatalogArn(SignalCatalogArnT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
GetModelManifestResult & WithStatus(ManifestStatus value)
GetModelManifestResult & WithLastModificationTime(LastModificationTimeT &&value)
AWS_IOTFLEETWISE_API GetModelManifestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModificationTime(LastModificationTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_IOTFLEETWISE_API GetModelManifestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelManifestResult & WithDescription(DescriptionT &&value)
AWS_IOTFLEETWISE_API GetModelManifestResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue