AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AssetModelSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/AssetModelType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotsitewise/model/AssetModelStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTSiteWise
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTSITEWISE_API AssetModelSummary() = default;
38 AWS_IOTSITEWISE_API AssetModelSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AssetModelSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
61 inline const Aws::String& GetExternalId() const { return m_externalId; }
62 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
63 template<typename ExternalIdT = Aws::String>
64 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
65 template<typename ExternalIdT = Aws::String>
66 AssetModelSummary& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
68
70
77 inline const Aws::String& GetArn() const { return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 template<typename ArnT = Aws::String>
80 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
81 template<typename ArnT = Aws::String>
82 AssetModelSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 template<typename NameT = Aws::String>
92 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
93 template<typename NameT = Aws::String>
94 AssetModelSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
96
98
105 inline AssetModelType GetAssetModelType() const { return m_assetModelType; }
106 inline bool AssetModelTypeHasBeenSet() const { return m_assetModelTypeHasBeenSet; }
107 inline void SetAssetModelType(AssetModelType value) { m_assetModelTypeHasBeenSet = true; m_assetModelType = value; }
110
112
115 inline const Aws::String& GetDescription() const { return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 template<typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
119 template<typename DescriptionT = Aws::String>
120 AssetModelSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
128 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
129 template<typename CreationDateT = Aws::Utils::DateTime>
130 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
131 template<typename CreationDateT = Aws::Utils::DateTime>
132 AssetModelSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
140 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
141 template<typename LastUpdateDateT = Aws::Utils::DateTime>
142 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
143 template<typename LastUpdateDateT = Aws::Utils::DateTime>
144 AssetModelSummary& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
146
148
151 inline const AssetModelStatus& GetStatus() const { return m_status; }
152 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 template<typename StatusT = AssetModelStatus>
154 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
155 template<typename StatusT = AssetModelStatus>
156 AssetModelSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
158
160
163 inline const Aws::String& GetVersion() const { return m_version; }
164 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
165 template<typename VersionT = Aws::String>
166 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
167 template<typename VersionT = Aws::String>
168 AssetModelSummary& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
170 private:
171
172 Aws::String m_id;
173 bool m_idHasBeenSet = false;
174
175 Aws::String m_externalId;
176 bool m_externalIdHasBeenSet = false;
177
178 Aws::String m_arn;
179 bool m_arnHasBeenSet = false;
180
181 Aws::String m_name;
182 bool m_nameHasBeenSet = false;
183
184 AssetModelType m_assetModelType{AssetModelType::NOT_SET};
185 bool m_assetModelTypeHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 Aws::Utils::DateTime m_creationDate{};
191 bool m_creationDateHasBeenSet = false;
192
193 Aws::Utils::DateTime m_lastUpdateDate{};
194 bool m_lastUpdateDateHasBeenSet = false;
195
196 AssetModelStatus m_status;
197 bool m_statusHasBeenSet = false;
198
199 Aws::String m_version;
200 bool m_versionHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace IoTSiteWise
205} // namespace Aws
const AssetModelStatus & GetStatus() const
AssetModelSummary & WithExternalId(ExternalIdT &&value)
AWS_IOTSITEWISE_API AssetModelSummary()=default
AssetModelSummary & WithStatus(StatusT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelSummary & WithCreationDate(CreationDateT &&value)
AssetModelSummary & WithName(NameT &&value)
AssetModelSummary & WithDescription(DescriptionT &&value)
AssetModelSummary & WithId(IdT &&value)
AssetModelSummary & WithAssetModelType(AssetModelType value)
AssetModelSummary & WithArn(ArnT &&value)
AssetModelSummary & WithVersion(VersionT &&value)
AssetModelSummary & WithLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API AssetModelSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API AssetModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastUpdateDate() const
void SetLastUpdateDate(LastUpdateDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue