AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AssetModelSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AssetModelSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AssetModelSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
63 inline const Aws::String& GetExternalId() const{ return m_externalId; }
64 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
65 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
66 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
67 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
68 inline AssetModelSummary& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
69 inline AssetModelSummary& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
70 inline AssetModelSummary& WithExternalId(const char* value) { SetExternalId(value); return *this;}
72
74
81 inline const Aws::String& GetArn() const{ return m_arn; }
82 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
83 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
84 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
85 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
86 inline AssetModelSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
87 inline AssetModelSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
88 inline AssetModelSummary& WithArn(const char* value) { SetArn(value); return *this;}
90
92
95 inline const Aws::String& GetName() const{ return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
99 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 inline AssetModelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
101 inline AssetModelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 inline AssetModelSummary& WithName(const char* value) { SetName(value); return *this;}
104
106
113 inline const AssetModelType& GetAssetModelType() const{ return m_assetModelType; }
114 inline bool AssetModelTypeHasBeenSet() const { return m_assetModelTypeHasBeenSet; }
115 inline void SetAssetModelType(const AssetModelType& value) { m_assetModelTypeHasBeenSet = true; m_assetModelType = value; }
116 inline void SetAssetModelType(AssetModelType&& value) { m_assetModelTypeHasBeenSet = true; m_assetModelType = std::move(value); }
117 inline AssetModelSummary& WithAssetModelType(const AssetModelType& value) { SetAssetModelType(value); return *this;}
118 inline AssetModelSummary& WithAssetModelType(AssetModelType&& value) { SetAssetModelType(std::move(value)); return *this;}
120
122
125 inline const Aws::String& GetDescription() const{ return m_description; }
126 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
127 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
128 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
129 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
130 inline AssetModelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 inline AssetModelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
132 inline AssetModelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
140 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
141 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
142 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
143 inline AssetModelSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
144 inline AssetModelSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
152 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
153 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
154 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
155 inline AssetModelSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
156 inline AssetModelSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
158
160
163 inline const AssetModelStatus& GetStatus() const{ return m_status; }
164 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
165 inline void SetStatus(const AssetModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
166 inline void SetStatus(AssetModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
167 inline AssetModelSummary& WithStatus(const AssetModelStatus& value) { SetStatus(value); return *this;}
168 inline AssetModelSummary& WithStatus(AssetModelStatus&& value) { SetStatus(std::move(value)); return *this;}
170
172
175 inline const Aws::String& GetVersion() const{ return m_version; }
176 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
177 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
178 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
179 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
180 inline AssetModelSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
181 inline AssetModelSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
182 inline AssetModelSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
184 private:
185
186 Aws::String m_id;
187 bool m_idHasBeenSet = false;
188
189 Aws::String m_externalId;
190 bool m_externalIdHasBeenSet = false;
191
192 Aws::String m_arn;
193 bool m_arnHasBeenSet = false;
194
195 Aws::String m_name;
196 bool m_nameHasBeenSet = false;
197
198 AssetModelType m_assetModelType;
199 bool m_assetModelTypeHasBeenSet = false;
200
201 Aws::String m_description;
202 bool m_descriptionHasBeenSet = false;
203
204 Aws::Utils::DateTime m_creationDate;
205 bool m_creationDateHasBeenSet = false;
206
207 Aws::Utils::DateTime m_lastUpdateDate;
208 bool m_lastUpdateDateHasBeenSet = false;
209
210 AssetModelStatus m_status;
211 bool m_statusHasBeenSet = false;
212
213 Aws::String m_version;
214 bool m_versionHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace IoTSiteWise
219} // namespace Aws
AssetModelSummary & WithCreationDate(const Aws::Utils::DateTime &value)
AssetModelSummary & WithArn(const char *value)
const AssetModelStatus & GetStatus() const
AssetModelSummary & WithDescription(Aws::String &&value)
AssetModelSummary & WithArn(const Aws::String &value)
void SetName(const Aws::String &value)
AssetModelSummary & WithId(const Aws::String &value)
AssetModelSummary & WithStatus(AssetModelStatus &&value)
void SetArn(const Aws::String &value)
AssetModelSummary & WithStatus(const AssetModelStatus &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AssetModelSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
AssetModelSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
AssetModelSummary & WithId(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetStatus(const AssetModelStatus &value)
AssetModelSummary & WithName(Aws::String &&value)
AssetModelSummary & WithName(const Aws::String &value)
void SetVersion(const Aws::String &value)
void SetAssetModelType(const AssetModelType &value)
AssetModelSummary & WithVersion(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelSummary & WithDescription(const Aws::String &value)
void SetExternalId(const Aws::String &value)
AssetModelSummary & WithExternalId(Aws::String &&value)
void SetDescription(const Aws::String &value)
AssetModelSummary & WithCreationDate(Aws::Utils::DateTime &&value)
void SetStatus(AssetModelStatus &&value)
void SetAssetModelType(AssetModelType &&value)
AssetModelSummary & WithArn(Aws::String &&value)
AssetModelSummary & WithVersion(Aws::String &&value)
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
AssetModelSummary & WithVersion(const char *value)
AssetModelSummary & WithExternalId(const Aws::String &value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
AssetModelSummary & WithAssetModelType(const AssetModelType &value)
const AssetModelType & GetAssetModelType() const
AssetModelSummary & WithDescription(const char *value)
AssetModelSummary & WithExternalId(const char *value)
AssetModelSummary & WithId(Aws::String &&value)
AWS_IOTSITEWISE_API AssetModelSummary(Aws::Utils::Json::JsonView jsonValue)
AssetModelSummary & WithName(const char *value)
AWS_IOTSITEWISE_API AssetModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastUpdateDate() const
AssetModelSummary & WithAssetModelType(AssetModelType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue