AWS SDK for C++  1.9.104
AWS SDK for C++
PortalSummary.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 PortalSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline PortalSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline PortalSummary& WithId(const char* value) { SetId(value); return *this;}
81 
82 
86  inline const Aws::String& GetName() const{ return m_name; }
87 
91  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 
96  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 
101  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 
106  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
107 
111  inline PortalSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
112 
116  inline PortalSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 
121  inline PortalSummary& WithName(const char* value) { SetName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline PortalSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline PortalSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline PortalSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
171  inline const Aws::String& GetStartUrl() const{ return m_startUrl; }
172 
179  inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
180 
187  inline void SetStartUrl(const Aws::String& value) { m_startUrlHasBeenSet = true; m_startUrl = value; }
188 
195  inline void SetStartUrl(Aws::String&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::move(value); }
196 
203  inline void SetStartUrl(const char* value) { m_startUrlHasBeenSet = true; m_startUrl.assign(value); }
204 
211  inline PortalSummary& WithStartUrl(const Aws::String& value) { SetStartUrl(value); return *this;}
212 
219  inline PortalSummary& WithStartUrl(Aws::String&& value) { SetStartUrl(std::move(value)); return *this;}
220 
227  inline PortalSummary& WithStartUrl(const char* value) { SetStartUrl(value); return *this;}
228 
229 
233  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
234 
238  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
239 
243  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
244 
248  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
249 
253  inline PortalSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
254 
258  inline PortalSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
259 
260 
264  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
265 
269  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
270 
274  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
275 
279  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
280 
284  inline PortalSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
285 
289  inline PortalSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
290 
291 
301  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
302 
312  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
313 
323  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
324 
334  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
335 
345  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
346 
356  inline PortalSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
357 
367  inline PortalSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
368 
378  inline PortalSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
379 
380 
381 
382  inline const PortalStatus& GetStatus() const{ return m_status; }
383 
384 
385  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
386 
387 
388  inline void SetStatus(const PortalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
389 
390 
391  inline void SetStatus(PortalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
392 
393 
394  inline PortalSummary& WithStatus(const PortalStatus& value) { SetStatus(value); return *this;}
395 
396 
397  inline PortalSummary& WithStatus(PortalStatus&& value) { SetStatus(std::move(value)); return *this;}
398 
399  private:
400 
401  Aws::String m_id;
402  bool m_idHasBeenSet;
403 
404  Aws::String m_name;
405  bool m_nameHasBeenSet;
406 
407  Aws::String m_description;
408  bool m_descriptionHasBeenSet;
409 
410  Aws::String m_startUrl;
411  bool m_startUrlHasBeenSet;
412 
413  Aws::Utils::DateTime m_creationDate;
414  bool m_creationDateHasBeenSet;
415 
416  Aws::Utils::DateTime m_lastUpdateDate;
417  bool m_lastUpdateDateHasBeenSet;
418 
419  Aws::String m_roleArn;
420  bool m_roleArnHasBeenSet;
421 
422  PortalStatus m_status;
423  bool m_statusHasBeenSet;
424  };
425 
426 } // namespace Model
427 } // namespace IoTSiteWise
428 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::PortalSummary::SetStartUrl
void SetStartUrl(Aws::String &&value)
Definition: PortalSummary.h:195
Aws::IoTSiteWise::Model::PortalSummary::WithId
PortalSummary & WithId(const char *value)
Definition: PortalSummary.h:80
Aws::IoTSiteWise::Model::PortalSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: PortalSummary.h:385
Aws::IoTSiteWise::Model::PortalSummary::SetName
void SetName(const char *value)
Definition: PortalSummary.h:106
Aws::IoTSiteWise::Model::PortalSummary::GetId
const Aws::String & GetId() const
Definition: PortalSummary.h:45
Aws::IoTSiteWise::Model::PortalSummary::WithDescription
PortalSummary & WithDescription(Aws::String &&value)
Definition: PortalSummary.h:157
Aws::IoTSiteWise::Model::PortalSummary::WithRoleArn
PortalSummary & WithRoleArn(const char *value)
Definition: PortalSummary.h:378
Aws::IoTSiteWise::Model::PortalSummary::SetRoleArn
void SetRoleArn(const char *value)
Definition: PortalSummary.h:345
Aws::IoTSiteWise::Model::PortalSummary::SetStatus
void SetStatus(const PortalStatus &value)
Definition: PortalSummary.h:388
Aws::IoTSiteWise::Model::PortalSummary::SetName
void SetName(const Aws::String &value)
Definition: PortalSummary.h:96
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::PortalSummary::WithStartUrl
PortalSummary & WithStartUrl(const Aws::String &value)
Definition: PortalSummary.h:211
Aws::IoTSiteWise::Model::PortalSummary::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: PortalSummary.h:334
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::PortalSummary::WithCreationDate
PortalSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: PortalSummary.h:253
Aws::IoTSiteWise::Model::PortalSummary::GetName
const Aws::String & GetName() const
Definition: PortalSummary.h:86
Aws::IoTSiteWise::Model::PortalSummary::WithRoleArn
PortalSummary & WithRoleArn(const Aws::String &value)
Definition: PortalSummary.h:356
Aws::IoTSiteWise::Model::PortalSummary::GetStatus
const PortalStatus & GetStatus() const
Definition: PortalSummary.h:382
Aws::IoTSiteWise::Model::PortalSummary::SetDescription
void SetDescription(const char *value)
Definition: PortalSummary.h:147
Aws::IoTSiteWise::Model::PortalSummary::WithDescription
PortalSummary & WithDescription(const Aws::String &value)
Definition: PortalSummary.h:152
Aws::IoTSiteWise::Model::PortalSummary::WithName
PortalSummary & WithName(const Aws::String &value)
Definition: PortalSummary.h:111
Aws::IoTSiteWise::Model::PortalSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: PortalSummary.h:243
Aws::IoTSiteWise::Model::PortalSummary::SetId
void SetId(const Aws::String &value)
Definition: PortalSummary.h:55
Aws::IoTSiteWise::Model::PortalSummary::SetStatus
void SetStatus(PortalStatus &&value)
Definition: PortalSummary.h:391
Aws::IoTSiteWise::Model::PortalSummary::PortalSummary
PortalSummary()
Aws::IoTSiteWise::Model::PortalSummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: PortalSummary.h:274
Aws::IoTSiteWise::Model::PortalSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: PortalSummary.h:137
Aws::IoTSiteWise::Model::PortalSummary::WithName
PortalSummary & WithName(Aws::String &&value)
Definition: PortalSummary.h:116
Aws::IoTSiteWise::Model::PortalSummary::WithDescription
PortalSummary & WithDescription(const char *value)
Definition: PortalSummary.h:162
Aws::IoTSiteWise::Model::PortalSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: PortalSummary.h:233
Aws::IoTSiteWise::Model::PortalSummary::operator=
PortalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::PortalSummary::WithId
PortalSummary & WithId(const Aws::String &value)
Definition: PortalSummary.h:70
Aws::IoTSiteWise::Model::PortalSummary::PortalSummary
PortalSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::PortalSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PortalSummary.h:91
Aws::IoTSiteWise::Model::PortalSummary::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: PortalSummary.h:323
Aws::IoTSiteWise::Model::PortalSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: PortalSummary.h:142
Aws::IoTSiteWise::Model::PortalSummary::WithStartUrl
PortalSummary & WithStartUrl(const char *value)
Definition: PortalSummary.h:227
Aws::IoTSiteWise::Model::PortalSummary::GetDescription
const Aws::String & GetDescription() const
Definition: PortalSummary.h:127
Aws::IoTSiteWise::Model::PortalSummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: PortalSummary.h:279
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTSiteWise::Model::PortalSummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: PortalSummary.h:264
Aws::IoTSiteWise::Model::PortalSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: PortalSummary.h:248
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::PortalSummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: PortalSummary.h:269
Aws::IoTSiteWise::Model::PortalSummary::WithStatus
PortalSummary & WithStatus(PortalStatus &&value)
Definition: PortalSummary.h:397
Aws::IoTSiteWise::Model::PortalSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: PortalSummary.h:238
Aws::IoTSiteWise::Model::PortalSummary::WithRoleArn
PortalSummary & WithRoleArn(Aws::String &&value)
Definition: PortalSummary.h:367
Aws::IoTSiteWise::Model::PortalSummary::WithName
PortalSummary & WithName(const char *value)
Definition: PortalSummary.h:121
Aws::IoTSiteWise::Model::PortalSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::PortalSummary::SetStartUrl
void SetStartUrl(const Aws::String &value)
Definition: PortalSummary.h:187
Aws::IoTSiteWise::Model::PortalSummary::WithLastUpdateDate
PortalSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: PortalSummary.h:284
PortalStatus.h
Aws::IoTSiteWise::Model::PortalSummary::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: PortalSummary.h:312
Aws::IoTSiteWise::Model::PortalSummary::WithCreationDate
PortalSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: PortalSummary.h:258
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PortalSummary::GetStartUrl
const Aws::String & GetStartUrl() const
Definition: PortalSummary.h:171
Aws::IoTSiteWise::Model::PortalSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: PortalSummary.h:50
Aws::IoTSiteWise::Model::PortalSummary::SetId
void SetId(Aws::String &&value)
Definition: PortalSummary.h:60
Aws::IoTSiteWise::Model::PortalSummary::WithId
PortalSummary & WithId(Aws::String &&value)
Definition: PortalSummary.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::PortalSummary::SetStartUrl
void SetStartUrl(const char *value)
Definition: PortalSummary.h:203
Aws::IoTSiteWise::Model::PortalStatus
Definition: PortalStatus.h:34
Aws::IoTSiteWise::Model::PortalSummary
Definition: PortalSummary.h:34
Aws::IoTSiteWise::Model::PortalSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PortalSummary.h:132
Aws::IoTSiteWise::Model::PortalSummary::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: PortalSummary.h:301
Aws::IoTSiteWise::Model::PortalSummary::WithStartUrl
PortalSummary & WithStartUrl(Aws::String &&value)
Definition: PortalSummary.h:219
Aws::IoTSiteWise::Model::PortalSummary::WithStatus
PortalSummary & WithStatus(const PortalStatus &value)
Definition: PortalSummary.h:394
Aws::IoTSiteWise::Model::PortalSummary::SetId
void SetId(const char *value)
Definition: PortalSummary.h:65
Aws::IoTSiteWise::Model::PortalSummary::WithLastUpdateDate
PortalSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: PortalSummary.h:289
Aws::IoTSiteWise::Model::PortalSummary::StartUrlHasBeenSet
bool StartUrlHasBeenSet() const
Definition: PortalSummary.h:179
Aws::IoTSiteWise::Model::PortalSummary::SetName
void SetName(Aws::String &&value)
Definition: PortalSummary.h:101