AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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 <aws/iotsitewise/model/PortalType.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 PortalSummary() = default;
38 AWS_IOTSITEWISE_API PortalSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API PortalSummary& operator=(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 PortalSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 PortalSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 PortalSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
86 inline const Aws::String& GetStartUrl() const { return m_startUrl; }
87 inline bool StartUrlHasBeenSet() const { return m_startUrlHasBeenSet; }
88 template<typename StartUrlT = Aws::String>
89 void SetStartUrl(StartUrlT&& value) { m_startUrlHasBeenSet = true; m_startUrl = std::forward<StartUrlT>(value); }
90 template<typename StartUrlT = Aws::String>
91 PortalSummary& WithStartUrl(StartUrlT&& value) { SetStartUrl(std::forward<StartUrlT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
99 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
100 template<typename CreationDateT = Aws::Utils::DateTime>
101 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
102 template<typename CreationDateT = Aws::Utils::DateTime>
103 PortalSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
111 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
112 template<typename LastUpdateDateT = Aws::Utils::DateTime>
113 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
114 template<typename LastUpdateDateT = Aws::Utils::DateTime>
115 PortalSummary& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
117
119
128 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
129 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
130 template<typename RoleArnT = Aws::String>
131 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
132 template<typename RoleArnT = Aws::String>
133 PortalSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
135
137
138 inline const PortalStatus& GetStatus() const { return m_status; }
139 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
140 template<typename StatusT = PortalStatus>
141 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
142 template<typename StatusT = PortalStatus>
143 PortalSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
145
147
152 inline PortalType GetPortalType() const { return m_portalType; }
153 inline bool PortalTypeHasBeenSet() const { return m_portalTypeHasBeenSet; }
154 inline void SetPortalType(PortalType value) { m_portalTypeHasBeenSet = true; m_portalType = value; }
155 inline PortalSummary& WithPortalType(PortalType value) { SetPortalType(value); return *this;}
157 private:
158
159 Aws::String m_id;
160 bool m_idHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 Aws::String m_startUrl;
169 bool m_startUrlHasBeenSet = false;
170
171 Aws::Utils::DateTime m_creationDate{};
172 bool m_creationDateHasBeenSet = false;
173
174 Aws::Utils::DateTime m_lastUpdateDate{};
175 bool m_lastUpdateDateHasBeenSet = false;
176
177 Aws::String m_roleArn;
178 bool m_roleArnHasBeenSet = false;
179
180 PortalStatus m_status;
181 bool m_statusHasBeenSet = false;
182
183 PortalType m_portalType{PortalType::NOT_SET};
184 bool m_portalTypeHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace IoTSiteWise
189} // namespace Aws
void SetStartUrl(StartUrlT &&value)
const Aws::String & GetId() const
AWS_IOTSITEWISE_API PortalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const PortalStatus & GetStatus() const
PortalSummary & WithRoleArn(RoleArnT &&value)
PortalSummary & WithStatus(StatusT &&value)
void SetDescription(DescriptionT &&value)
PortalSummary & WithId(IdT &&value)
PortalSummary & WithName(NameT &&value)
void SetLastUpdateDate(LastUpdateDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
PortalSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetRoleArn() const
AWS_IOTSITEWISE_API PortalSummary(Aws::Utils::Json::JsonView jsonValue)
PortalSummary & WithLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API PortalSummary()=default
PortalSummary & WithPortalType(PortalType value)
PortalSummary & WithStartUrl(StartUrlT &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
PortalSummary & WithCreationDate(CreationDateT &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStartUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue