AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ModelManifestSummary.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 ModelManifestSummary() = default;
34 AWS_IOTFLEETWISE_API ModelManifestSummary(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
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template <typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) {
64 m_arnHasBeenSet = true;
65 m_arn = std::forward<ArnT>(value);
66 }
67 template <typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
79 inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; }
80 template <typename SignalCatalogArnT = Aws::String>
81 void SetSignalCatalogArn(SignalCatalogArnT&& value) {
82 m_signalCatalogArnHasBeenSet = true;
83 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
84 }
85 template <typename SignalCatalogArnT = Aws::String>
86 ModelManifestSummary& WithSignalCatalogArn(SignalCatalogArnT&& value) {
87 SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDescription() const { return m_description; }
97 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
98 template <typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) {
100 m_descriptionHasBeenSet = true;
101 m_description = std::forward<DescriptionT>(value);
102 }
103 template <typename DescriptionT = Aws::String>
104 ModelManifestSummary& WithDescription(DescriptionT&& value) {
105 SetDescription(std::forward<DescriptionT>(value));
106 return *this;
107 }
109
111
116 inline ManifestStatus GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(ManifestStatus value) {
119 m_statusHasBeenSet = true;
120 m_status = value;
121 }
123 SetStatus(value);
124 return *this;
125 }
127
129
133 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
134 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
135 template <typename CreationTimeT = Aws::Utils::DateTime>
136 void SetCreationTime(CreationTimeT&& value) {
137 m_creationTimeHasBeenSet = true;
138 m_creationTime = std::forward<CreationTimeT>(value);
139 }
140 template <typename CreationTimeT = Aws::Utils::DateTime>
141 ModelManifestSummary& WithCreationTime(CreationTimeT&& value) {
142 SetCreationTime(std::forward<CreationTimeT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
153 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
154 template <typename LastModificationTimeT = Aws::Utils::DateTime>
155 void SetLastModificationTime(LastModificationTimeT&& value) {
156 m_lastModificationTimeHasBeenSet = true;
157 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
158 }
159 template <typename LastModificationTimeT = Aws::Utils::DateTime>
160 ModelManifestSummary& WithLastModificationTime(LastModificationTimeT&& value) {
161 SetLastModificationTime(std::forward<LastModificationTimeT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_name;
167
168 Aws::String m_arn;
169
170 Aws::String m_signalCatalogArn;
171
172 Aws::String m_description;
173
175
176 Aws::Utils::DateTime m_creationTime{};
177
178 Aws::Utils::DateTime m_lastModificationTime{};
179 bool m_nameHasBeenSet = false;
180 bool m_arnHasBeenSet = false;
181 bool m_signalCatalogArnHasBeenSet = false;
182 bool m_descriptionHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_creationTimeHasBeenSet = false;
185 bool m_lastModificationTimeHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace IoTFleetWise
190} // namespace Aws
ModelManifestSummary & WithSignalCatalogArn(SignalCatalogArnT &&value)
void SetLastModificationTime(LastModificationTimeT &&value)
ModelManifestSummary & WithLastModificationTime(LastModificationTimeT &&value)
AWS_IOTFLEETWISE_API ModelManifestSummary()=default
ModelManifestSummary & WithCreationTime(CreationTimeT &&value)
AWS_IOTFLEETWISE_API ModelManifestSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API ModelManifestSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelManifestSummary & WithArn(ArnT &&value)
void SetSignalCatalogArn(SignalCatalogArnT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
const Aws::Utils::DateTime & GetCreationTime() const
ModelManifestSummary & WithDescription(DescriptionT &&value)
ModelManifestSummary & WithName(NameT &&value)
ModelManifestSummary & WithStatus(ManifestStatus value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue