AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
DecoderManifestSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
10#include <aws/iotfleetwise/model/ManifestStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
32 public:
33 AWS_IOTFLEETWISE_API DecoderManifestSummary() = default;
34 AWS_IOTFLEETWISE_API DecoderManifestSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
81 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
82 template <typename ModelManifestArnT = Aws::String>
83 void SetModelManifestArn(ModelManifestArnT&& value) {
84 m_modelManifestArnHasBeenSet = true;
85 m_modelManifestArn = std::forward<ModelManifestArnT>(value);
86 }
87 template <typename ModelManifestArnT = Aws::String>
88 DecoderManifestSummary& WithModelManifestArn(ModelManifestArnT&& value) {
89 SetModelManifestArn(std::forward<ModelManifestArnT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template <typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) {
102 m_descriptionHasBeenSet = true;
103 m_description = std::forward<DescriptionT>(value);
104 }
105 template <typename DescriptionT = Aws::String>
107 SetDescription(std::forward<DescriptionT>(value));
108 return *this;
109 }
111
113
118 inline ManifestStatus GetStatus() const { return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(ManifestStatus value) {
121 m_statusHasBeenSet = true;
122 m_status = value;
123 }
125 SetStatus(value);
126 return *this;
127 }
129
131
135 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
136 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
137 template <typename CreationTimeT = Aws::Utils::DateTime>
138 void SetCreationTime(CreationTimeT&& value) {
139 m_creationTimeHasBeenSet = true;
140 m_creationTime = std::forward<CreationTimeT>(value);
141 }
142 template <typename CreationTimeT = Aws::Utils::DateTime>
143 DecoderManifestSummary& WithCreationTime(CreationTimeT&& value) {
144 SetCreationTime(std::forward<CreationTimeT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
155 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
156 template <typename LastModificationTimeT = Aws::Utils::DateTime>
157 void SetLastModificationTime(LastModificationTimeT&& value) {
158 m_lastModificationTimeHasBeenSet = true;
159 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
160 }
161 template <typename LastModificationTimeT = Aws::Utils::DateTime>
162 DecoderManifestSummary& WithLastModificationTime(LastModificationTimeT&& value) {
163 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
164 return *this;
165 }
167
169
174 inline const Aws::String& GetMessage() const { return m_message; }
175 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
176 template <typename MessageT = Aws::String>
177 void SetMessage(MessageT&& value) {
178 m_messageHasBeenSet = true;
179 m_message = std::forward<MessageT>(value);
180 }
181 template <typename MessageT = Aws::String>
183 SetMessage(std::forward<MessageT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_name;
189
190 Aws::String m_arn;
191
192 Aws::String m_modelManifestArn;
193
194 Aws::String m_description;
195
197
198 Aws::Utils::DateTime m_creationTime{};
199
200 Aws::Utils::DateTime m_lastModificationTime{};
201
202 Aws::String m_message;
203 bool m_nameHasBeenSet = false;
204 bool m_arnHasBeenSet = false;
205 bool m_modelManifestArnHasBeenSet = false;
206 bool m_descriptionHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_creationTimeHasBeenSet = false;
209 bool m_lastModificationTimeHasBeenSet = false;
210 bool m_messageHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace IoTFleetWise
215} // namespace Aws
AWS_IOTFLEETWISE_API DecoderManifestSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
DecoderManifestSummary & WithArn(ArnT &&value)
DecoderManifestSummary & WithName(NameT &&value)
DecoderManifestSummary & WithStatus(ManifestStatus value)
void SetLastModificationTime(LastModificationTimeT &&value)
DecoderManifestSummary & WithDescription(DescriptionT &&value)
AWS_IOTFLEETWISE_API DecoderManifestSummary()=default
DecoderManifestSummary & WithCreationTime(CreationTimeT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
DecoderManifestSummary & WithLastModificationTime(LastModificationTimeT &&value)
DecoderManifestSummary & WithMessage(MessageT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
AWS_IOTFLEETWISE_API DecoderManifestSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DecoderManifestSummary & WithModelManifestArn(ModelManifestArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue