AWS SDK for C++  1.9.153
AWS SDK for C++
CreatePortalResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTSiteWise
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetPortalId() const{ return m_portalId; }
40 
44  inline void SetPortalId(const Aws::String& value) { m_portalId = value; }
45 
49  inline void SetPortalId(Aws::String&& value) { m_portalId = std::move(value); }
50 
54  inline void SetPortalId(const char* value) { m_portalId.assign(value); }
55 
59  inline CreatePortalResult& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
60 
64  inline CreatePortalResult& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
65 
69  inline CreatePortalResult& WithPortalId(const char* value) { SetPortalId(value); return *this;}
70 
71 
79  inline const Aws::String& GetPortalArn() const{ return m_portalArn; }
80 
88  inline void SetPortalArn(const Aws::String& value) { m_portalArn = value; }
89 
97  inline void SetPortalArn(Aws::String&& value) { m_portalArn = std::move(value); }
98 
106  inline void SetPortalArn(const char* value) { m_portalArn.assign(value); }
107 
115  inline CreatePortalResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;}
116 
124  inline CreatePortalResult& WithPortalArn(Aws::String&& value) { SetPortalArn(std::move(value)); return *this;}
125 
133  inline CreatePortalResult& WithPortalArn(const char* value) { SetPortalArn(value); return *this;}
134 
135 
142  inline const Aws::String& GetPortalStartUrl() const{ return m_portalStartUrl; }
143 
150  inline void SetPortalStartUrl(const Aws::String& value) { m_portalStartUrl = value; }
151 
158  inline void SetPortalStartUrl(Aws::String&& value) { m_portalStartUrl = std::move(value); }
159 
166  inline void SetPortalStartUrl(const char* value) { m_portalStartUrl.assign(value); }
167 
174  inline CreatePortalResult& WithPortalStartUrl(const Aws::String& value) { SetPortalStartUrl(value); return *this;}
175 
182  inline CreatePortalResult& WithPortalStartUrl(Aws::String&& value) { SetPortalStartUrl(std::move(value)); return *this;}
183 
190  inline CreatePortalResult& WithPortalStartUrl(const char* value) { SetPortalStartUrl(value); return *this;}
191 
192 
197  inline const PortalStatus& GetPortalStatus() const{ return m_portalStatus; }
198 
203  inline void SetPortalStatus(const PortalStatus& value) { m_portalStatus = value; }
204 
209  inline void SetPortalStatus(PortalStatus&& value) { m_portalStatus = std::move(value); }
210 
215  inline CreatePortalResult& WithPortalStatus(const PortalStatus& value) { SetPortalStatus(value); return *this;}
216 
221  inline CreatePortalResult& WithPortalStatus(PortalStatus&& value) { SetPortalStatus(std::move(value)); return *this;}
222 
223 
228  inline const Aws::String& GetSsoApplicationId() const{ return m_ssoApplicationId; }
229 
234  inline void SetSsoApplicationId(const Aws::String& value) { m_ssoApplicationId = value; }
235 
240  inline void SetSsoApplicationId(Aws::String&& value) { m_ssoApplicationId = std::move(value); }
241 
246  inline void SetSsoApplicationId(const char* value) { m_ssoApplicationId.assign(value); }
247 
252  inline CreatePortalResult& WithSsoApplicationId(const Aws::String& value) { SetSsoApplicationId(value); return *this;}
253 
258  inline CreatePortalResult& WithSsoApplicationId(Aws::String&& value) { SetSsoApplicationId(std::move(value)); return *this;}
259 
264  inline CreatePortalResult& WithSsoApplicationId(const char* value) { SetSsoApplicationId(value); return *this;}
265 
266  private:
267 
268  Aws::String m_portalId;
269 
270  Aws::String m_portalArn;
271 
272  Aws::String m_portalStartUrl;
273 
274  PortalStatus m_portalStatus;
275 
276  Aws::String m_ssoApplicationId;
277  };
278 
279 } // namespace Model
280 } // namespace IoTSiteWise
281 } // namespace Aws
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalId
CreatePortalResult & WithPortalId(const char *value)
Definition: CreatePortalResult.h:69
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalId
CreatePortalResult & WithPortalId(const Aws::String &value)
Definition: CreatePortalResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalArn
CreatePortalResult & WithPortalArn(Aws::String &&value)
Definition: CreatePortalResult.h:124
Aws::IoTSiteWise::Model::CreatePortalResult::GetPortalArn
const Aws::String & GetPortalArn() const
Definition: CreatePortalResult.h:79
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalStatus
CreatePortalResult & WithPortalStatus(PortalStatus &&value)
Definition: CreatePortalResult.h:221
Aws::IoTSiteWise::Model::CreatePortalResult::SetSsoApplicationId
void SetSsoApplicationId(const char *value)
Definition: CreatePortalResult.h:246
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalId
void SetPortalId(const Aws::String &value)
Definition: CreatePortalResult.h:44
Aws::IoTSiteWise::Model::CreatePortalResult::WithSsoApplicationId
CreatePortalResult & WithSsoApplicationId(Aws::String &&value)
Definition: CreatePortalResult.h:258
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CreatePortalResult::operator=
CreatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalArn
CreatePortalResult & WithPortalArn(const char *value)
Definition: CreatePortalResult.h:133
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalId
void SetPortalId(const char *value)
Definition: CreatePortalResult.h:54
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalArn
void SetPortalArn(const char *value)
Definition: CreatePortalResult.h:106
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalArn
void SetPortalArn(const Aws::String &value)
Definition: CreatePortalResult.h:88
Aws::IoTSiteWise::Model::CreatePortalResult::SetSsoApplicationId
void SetSsoApplicationId(const Aws::String &value)
Definition: CreatePortalResult.h:234
Aws::IoTSiteWise::Model::CreatePortalResult::WithSsoApplicationId
CreatePortalResult & WithSsoApplicationId(const char *value)
Definition: CreatePortalResult.h:264
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalStatus
void SetPortalStatus(const PortalStatus &value)
Definition: CreatePortalResult.h:203
Aws::IoTSiteWise::Model::CreatePortalResult::GetPortalId
const Aws::String & GetPortalId() const
Definition: CreatePortalResult.h:39
Aws::IoTSiteWise::Model::CreatePortalResult::GetPortalStartUrl
const Aws::String & GetPortalStartUrl() const
Definition: CreatePortalResult.h:142
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalStartUrl
CreatePortalResult & WithPortalStartUrl(const char *value)
Definition: CreatePortalResult.h:190
Aws::IoTSiteWise::Model::CreatePortalResult::SetSsoApplicationId
void SetSsoApplicationId(Aws::String &&value)
Definition: CreatePortalResult.h:240
Aws::IoTSiteWise::Model::CreatePortalResult::WithSsoApplicationId
CreatePortalResult & WithSsoApplicationId(const Aws::String &value)
Definition: CreatePortalResult.h:252
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalId
void SetPortalId(Aws::String &&value)
Definition: CreatePortalResult.h:49
Aws::IoTSiteWise::Model::CreatePortalResult::GetPortalStatus
const PortalStatus & GetPortalStatus() const
Definition: CreatePortalResult.h:197
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalArn
CreatePortalResult & WithPortalArn(const Aws::String &value)
Definition: CreatePortalResult.h:115
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalStartUrl
CreatePortalResult & WithPortalStartUrl(Aws::String &&value)
Definition: CreatePortalResult.h:182
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalId
CreatePortalResult & WithPortalId(Aws::String &&value)
Definition: CreatePortalResult.h:64
AWSString.h
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalStartUrl
void SetPortalStartUrl(const Aws::String &value)
Definition: CreatePortalResult.h:150
Aws::IoTSiteWise::Model::CreatePortalResult::CreatePortalResult
CreatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalArn
void SetPortalArn(Aws::String &&value)
Definition: CreatePortalResult.h:97
Aws::IoTSiteWise::Model::CreatePortalResult
Definition: CreatePortalResult.h:29
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalStartUrl
void SetPortalStartUrl(Aws::String &&value)
Definition: CreatePortalResult.h:158
PortalStatus.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalStatus
CreatePortalResult & WithPortalStatus(const PortalStatus &value)
Definition: CreatePortalResult.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalStatus
void SetPortalStatus(PortalStatus &&value)
Definition: CreatePortalResult.h:209
Aws::IoTSiteWise::Model::PortalStatus
Definition: PortalStatus.h:34
Aws::IoTSiteWise::Model::CreatePortalResult::CreatePortalResult
CreatePortalResult()
Aws::IoTSiteWise::Model::CreatePortalResult::WithPortalStartUrl
CreatePortalResult & WithPortalStartUrl(const Aws::String &value)
Definition: CreatePortalResult.h:174
Aws::IoTSiteWise::Model::CreatePortalResult::SetPortalStartUrl
void SetPortalStartUrl(const char *value)
Definition: CreatePortalResult.h:166
Aws::IoTSiteWise::Model::CreatePortalResult::GetSsoApplicationId
const Aws::String & GetSsoApplicationId() const
Definition: CreatePortalResult.h:228