AWS SDK for C++  1.9.159
AWS SDK for C++
AssetModelSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline AssetModelSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline AssetModelSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline AssetModelSummary& WithId(const char* value) { SetId(value); return *this;}
81 
82 
90  inline const Aws::String& GetArn() const{ return m_arn; }
91 
99  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
100 
108  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
109 
117  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
118 
126  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
127 
135  inline AssetModelSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
136 
144  inline AssetModelSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
145 
153  inline AssetModelSummary& WithArn(const char* value) { SetArn(value); return *this;}
154 
155 
159  inline const Aws::String& GetName() const{ return m_name; }
160 
164  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
165 
169  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
170 
174  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
175 
179  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
180 
184  inline AssetModelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
185 
189  inline AssetModelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
190 
194  inline AssetModelSummary& WithName(const char* value) { SetName(value); return *this;}
195 
196 
200  inline const Aws::String& GetDescription() const{ return m_description; }
201 
205  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
206 
210  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
211 
215  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
216 
220  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
221 
225  inline AssetModelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
226 
230  inline AssetModelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
231 
235  inline AssetModelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
236 
237 
241  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
242 
246  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
247 
251  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
252 
256  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
257 
261  inline AssetModelSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
262 
266  inline AssetModelSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
267 
268 
272  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
273 
277  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
278 
282  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
283 
287  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
288 
292  inline AssetModelSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
293 
297  inline AssetModelSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
298 
299 
303  inline const AssetModelStatus& GetStatus() const{ return m_status; }
304 
308  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
309 
313  inline void SetStatus(const AssetModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
314 
318  inline void SetStatus(AssetModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
319 
323  inline AssetModelSummary& WithStatus(const AssetModelStatus& value) { SetStatus(value); return *this;}
324 
328  inline AssetModelSummary& WithStatus(AssetModelStatus&& value) { SetStatus(std::move(value)); return *this;}
329 
330  private:
331 
332  Aws::String m_id;
333  bool m_idHasBeenSet;
334 
335  Aws::String m_arn;
336  bool m_arnHasBeenSet;
337 
338  Aws::String m_name;
339  bool m_nameHasBeenSet;
340 
341  Aws::String m_description;
342  bool m_descriptionHasBeenSet;
343 
344  Aws::Utils::DateTime m_creationDate;
345  bool m_creationDateHasBeenSet;
346 
347  Aws::Utils::DateTime m_lastUpdateDate;
348  bool m_lastUpdateDateHasBeenSet;
349 
350  AssetModelStatus m_status;
351  bool m_statusHasBeenSet;
352  };
353 
354 } // namespace Model
355 } // namespace IoTSiteWise
356 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::AssetModelSummary::WithDescription
AssetModelSummary & WithDescription(Aws::String &&value)
Definition: AssetModelSummary.h:230
Aws::IoTSiteWise::Model::AssetModelSummary::operator=
AssetModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetModelSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AssetModelSummary.h:205
Aws::IoTSiteWise::Model::AssetModelSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: AssetModelSummary.h:251
Aws::IoTSiteWise::Model::AssetModelSummary::SetArn
void SetArn(const Aws::String &value)
Definition: AssetModelSummary.h:108
Aws::IoTSiteWise::Model::AssetModelSummary
Definition: AssetModelSummary.h:34
Aws::IoTSiteWise::Model::AssetModelSummary::SetStatus
void SetStatus(AssetModelStatus &&value)
Definition: AssetModelSummary.h:318
Aws::IoTSiteWise::Model::AssetModelSummary::WithLastUpdateDate
AssetModelSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssetModelSummary.h:297
Aws::IoTSiteWise::Model::AssetModelSummary::WithId
AssetModelSummary & WithId(Aws::String &&value)
Definition: AssetModelSummary.h:75
Aws::IoTSiteWise::Model::AssetModelSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: AssetModelSummary.h:246
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::AssetModelSummary::WithStatus
AssetModelSummary & WithStatus(AssetModelStatus &&value)
Definition: AssetModelSummary.h:328
Aws::IoTSiteWise::Model::AssetModelSummary::WithName
AssetModelSummary & WithName(const Aws::String &value)
Definition: AssetModelSummary.h:184
Aws::IoTSiteWise::Model::AssetModelSummary::WithCreationDate
AssetModelSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: AssetModelSummary.h:261
Aws::IoTSiteWise::Model::AssetModelSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AssetModelSummary.h:99
Aws::IoTSiteWise::Model::AssetModelSummary::GetDescription
const Aws::String & GetDescription() const
Definition: AssetModelSummary.h:200
Aws::IoTSiteWise::Model::AssetModelStatus
Definition: AssetModelStatus.h:37
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssetModelSummary::SetName
void SetName(const Aws::String &value)
Definition: AssetModelSummary.h:169
Aws::IoTSiteWise::Model::AssetModelSummary::AssetModelSummary
AssetModelSummary()
Aws::IoTSiteWise::Model::AssetModelSummary::GetStatus
const AssetModelStatus & GetStatus() const
Definition: AssetModelSummary.h:303
Aws::IoTSiteWise::Model::AssetModelSummary::WithDescription
AssetModelSummary & WithDescription(const char *value)
Definition: AssetModelSummary.h:235
Aws::IoTSiteWise::Model::AssetModelSummary::SetArn
void SetArn(const char *value)
Definition: AssetModelSummary.h:126
Aws::IoTSiteWise::Model::AssetModelSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: AssetModelSummary.h:256
Aws::IoTSiteWise::Model::AssetModelSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: AssetModelSummary.h:210
Aws::IoTSiteWise::Model::AssetModelSummary::SetName
void SetName(const char *value)
Definition: AssetModelSummary.h:179
Aws::IoTSiteWise::Model::AssetModelSummary::SetId
void SetId(const char *value)
Definition: AssetModelSummary.h:65
Aws::IoTSiteWise::Model::AssetModelSummary::SetDescription
void SetDescription(const char *value)
Definition: AssetModelSummary.h:220
Aws::IoTSiteWise::Model::AssetModelSummary::SetStatus
void SetStatus(const AssetModelStatus &value)
Definition: AssetModelSummary.h:313
Aws::IoTSiteWise::Model::AssetModelSummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssetModelSummary.h:282
Aws::IoTSiteWise::Model::AssetModelSummary::GetId
const Aws::String & GetId() const
Definition: AssetModelSummary.h:45
Aws::IoTSiteWise::Model::AssetModelSummary::WithLastUpdateDate
AssetModelSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: AssetModelSummary.h:292
Aws::IoTSiteWise::Model::AssetModelSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AssetModelSummary.h:308
Aws::IoTSiteWise::Model::AssetModelSummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: AssetModelSummary.h:287
Aws::IoTSiteWise::Model::AssetModelSummary::SetId
void SetId(Aws::String &&value)
Definition: AssetModelSummary.h:60
Aws::IoTSiteWise::Model::AssetModelSummary::WithName
AssetModelSummary & WithName(Aws::String &&value)
Definition: AssetModelSummary.h:189
Aws::IoTSiteWise::Model::AssetModelSummary::WithStatus
AssetModelSummary & WithStatus(const AssetModelStatus &value)
Definition: AssetModelSummary.h:323
Aws::IoTSiteWise::Model::AssetModelSummary::WithDescription
AssetModelSummary & WithDescription(const Aws::String &value)
Definition: AssetModelSummary.h:225
Aws::IoTSiteWise::Model::AssetModelSummary::GetArn
const Aws::String & GetArn() const
Definition: AssetModelSummary.h:90
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssetModelSummary::SetName
void SetName(Aws::String &&value)
Definition: AssetModelSummary.h:174
Aws::IoTSiteWise::Model::AssetModelSummary::WithId
AssetModelSummary & WithId(const char *value)
Definition: AssetModelSummary.h:80
Aws::IoTSiteWise::Model::AssetModelSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AssetModelSummary.h:50
Aws::IoTSiteWise::Model::AssetModelSummary::WithArn
AssetModelSummary & WithArn(const char *value)
Definition: AssetModelSummary.h:153
Aws::IoTSiteWise::Model::AssetModelSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: AssetModelSummary.h:241
Aws::IoTSiteWise::Model::AssetModelSummary::WithCreationDate
AssetModelSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: AssetModelSummary.h:266
Aws::IoTSiteWise::Model::AssetModelSummary::AssetModelSummary
AssetModelSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::AssetModelSummary::SetArn
void SetArn(Aws::String &&value)
Definition: AssetModelSummary.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetModelSummary::WithArn
AssetModelSummary & WithArn(Aws::String &&value)
Definition: AssetModelSummary.h:144
Aws::IoTSiteWise::Model::AssetModelSummary::WithId
AssetModelSummary & WithId(const Aws::String &value)
Definition: AssetModelSummary.h:70
Aws::IoTSiteWise::Model::AssetModelSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::AssetModelSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: AssetModelSummary.h:215
Aws::IoTSiteWise::Model::AssetModelSummary::SetId
void SetId(const Aws::String &value)
Definition: AssetModelSummary.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::AssetModelSummary::WithArn
AssetModelSummary & WithArn(const Aws::String &value)
Definition: AssetModelSummary.h:135
Aws::IoTSiteWise::Model::AssetModelSummary::WithName
AssetModelSummary & WithName(const char *value)
Definition: AssetModelSummary.h:194
AssetModelStatus.h
Aws::IoTSiteWise::Model::AssetModelSummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: AssetModelSummary.h:277
Aws::IoTSiteWise::Model::AssetModelSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AssetModelSummary.h:164
Aws::IoTSiteWise::Model::AssetModelSummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: AssetModelSummary.h:272
Aws::IoTSiteWise::Model::AssetModelSummary::GetName
const Aws::String & GetName() const
Definition: AssetModelSummary.h:159