AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PortalSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotsitewise/model/PortalStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTSITEWISE_API PortalSummary();
37 AWS_IOTSITEWISE_API PortalSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API PortalSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline PortalSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline PortalSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline PortalSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline PortalSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline PortalSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline PortalSummary& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline PortalSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline PortalSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline PortalSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
91 inline const Aws::String& GetStartUrl() const{ return m_startUrl; }
92 inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
93 inline void SetStartUrl(const Aws::String& value) { m_startUrlHasBeenSet = true; m_startUrl = value; }
94 inline void SetStartUrl(Aws::String&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::move(value); }
95 inline void SetStartUrl(const char* value) { m_startUrlHasBeenSet = true; m_startUrl.assign(value); }
96 inline PortalSummary& WithStartUrl(const Aws::String& value) { SetStartUrl(value); return *this;}
97 inline PortalSummary& WithStartUrl(Aws::String&& value) { SetStartUrl(std::move(value)); return *this;}
98 inline PortalSummary& WithStartUrl(const char* value) { SetStartUrl(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
106 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
107 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
108 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
109 inline PortalSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
110 inline PortalSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
118 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
119 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
120 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
121 inline PortalSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
122 inline PortalSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
124
126
135 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
136 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
137 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
138 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
139 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
140 inline PortalSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
141 inline PortalSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
142 inline PortalSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
144
146
147 inline const PortalStatus& GetStatus() const{ return m_status; }
148 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
149 inline void SetStatus(const PortalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
150 inline void SetStatus(PortalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
151 inline PortalSummary& WithStatus(const PortalStatus& value) { SetStatus(value); return *this;}
152 inline PortalSummary& WithStatus(PortalStatus&& value) { SetStatus(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::String m_description;
163 bool m_descriptionHasBeenSet = false;
164
165 Aws::String m_startUrl;
166 bool m_startUrlHasBeenSet = false;
167
168 Aws::Utils::DateTime m_creationDate;
169 bool m_creationDateHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastUpdateDate;
172 bool m_lastUpdateDateHasBeenSet = false;
173
174 Aws::String m_roleArn;
175 bool m_roleArnHasBeenSet = false;
176
177 PortalStatus m_status;
178 bool m_statusHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace IoTSiteWise
183} // namespace Aws
void SetDescription(const char *value)
PortalSummary & WithStartUrl(Aws::String &&value)
PortalSummary & WithStatus(const PortalStatus &value)
PortalSummary & WithDescription(const Aws::String &value)
const Aws::String & GetId() const
AWS_IOTSITEWISE_API PortalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PortalSummary & WithRoleArn(const Aws::String &value)
PortalSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
const PortalStatus & GetStatus() const
void SetDescription(const Aws::String &value)
PortalSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
PortalSummary & WithStatus(PortalStatus &&value)
void SetId(Aws::String &&value)
void SetStatus(PortalStatus &&value)
PortalSummary & WithCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
PortalSummary & WithId(const char *value)
void SetName(Aws::String &&value)
void SetStatus(const PortalStatus &value)
PortalSummary & WithDescription(const char *value)
PortalSummary & WithName(const Aws::String &value)
const Aws::String & GetRoleArn() const
PortalSummary & WithName(const char *value)
AWS_IOTSITEWISE_API PortalSummary(Aws::Utils::Json::JsonView jsonValue)
PortalSummary & WithRoleArn(const char *value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
PortalSummary & WithRoleArn(Aws::String &&value)
PortalSummary & WithStartUrl(const char *value)
void SetDescription(Aws::String &&value)
PortalSummary & WithCreationDate(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
void SetStartUrl(const Aws::String &value)
PortalSummary & WithStartUrl(const Aws::String &value)
PortalSummary & WithId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
void SetName(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
PortalSummary & WithDescription(Aws::String &&value)
void SetStartUrl(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
PortalSummary & WithId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
PortalSummary & WithName(Aws::String &&value)
const Aws::String & GetStartUrl() const
void SetRoleArn(const Aws::String &value)
void SetStartUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue