AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePortalResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/PortalStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTSiteWise
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTSITEWISE_API CreatePortalResult();
34
35
37
40 inline const Aws::String& GetPortalId() const{ return m_portalId; }
41 inline void SetPortalId(const Aws::String& value) { m_portalId = value; }
42 inline void SetPortalId(Aws::String&& value) { m_portalId = std::move(value); }
43 inline void SetPortalId(const char* value) { m_portalId.assign(value); }
44 inline CreatePortalResult& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
45 inline CreatePortalResult& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
46 inline CreatePortalResult& WithPortalId(const char* value) { SetPortalId(value); return *this;}
48
50
57 inline const Aws::String& GetPortalArn() const{ return m_portalArn; }
58 inline void SetPortalArn(const Aws::String& value) { m_portalArn = value; }
59 inline void SetPortalArn(Aws::String&& value) { m_portalArn = std::move(value); }
60 inline void SetPortalArn(const char* value) { m_portalArn.assign(value); }
61 inline CreatePortalResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;}
62 inline CreatePortalResult& WithPortalArn(Aws::String&& value) { SetPortalArn(std::move(value)); return *this;}
63 inline CreatePortalResult& WithPortalArn(const char* value) { SetPortalArn(value); return *this;}
65
67
73 inline const Aws::String& GetPortalStartUrl() const{ return m_portalStartUrl; }
74 inline void SetPortalStartUrl(const Aws::String& value) { m_portalStartUrl = value; }
75 inline void SetPortalStartUrl(Aws::String&& value) { m_portalStartUrl = std::move(value); }
76 inline void SetPortalStartUrl(const char* value) { m_portalStartUrl.assign(value); }
77 inline CreatePortalResult& WithPortalStartUrl(const Aws::String& value) { SetPortalStartUrl(value); return *this;}
78 inline CreatePortalResult& WithPortalStartUrl(Aws::String&& value) { SetPortalStartUrl(std::move(value)); return *this;}
79 inline CreatePortalResult& WithPortalStartUrl(const char* value) { SetPortalStartUrl(value); return *this;}
81
83
87 inline const PortalStatus& GetPortalStatus() const{ return m_portalStatus; }
88 inline void SetPortalStatus(const PortalStatus& value) { m_portalStatus = value; }
89 inline void SetPortalStatus(PortalStatus&& value) { m_portalStatus = std::move(value); }
90 inline CreatePortalResult& WithPortalStatus(const PortalStatus& value) { SetPortalStatus(value); return *this;}
91 inline CreatePortalResult& WithPortalStatus(PortalStatus&& value) { SetPortalStatus(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetSsoApplicationId() const{ return m_ssoApplicationId; }
100 inline void SetSsoApplicationId(const Aws::String& value) { m_ssoApplicationId = value; }
101 inline void SetSsoApplicationId(Aws::String&& value) { m_ssoApplicationId = std::move(value); }
102 inline void SetSsoApplicationId(const char* value) { m_ssoApplicationId.assign(value); }
103 inline CreatePortalResult& WithSsoApplicationId(const Aws::String& value) { SetSsoApplicationId(value); return *this;}
104 inline CreatePortalResult& WithSsoApplicationId(Aws::String&& value) { SetSsoApplicationId(std::move(value)); return *this;}
105 inline CreatePortalResult& WithSsoApplicationId(const char* value) { SetSsoApplicationId(value); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline CreatePortalResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline CreatePortalResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline CreatePortalResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_portalId;
121
122 Aws::String m_portalArn;
123
124 Aws::String m_portalStartUrl;
125
126 PortalStatus m_portalStatus;
127
128 Aws::String m_ssoApplicationId;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace IoTSiteWise
135} // namespace Aws
CreatePortalResult & WithPortalStartUrl(const char *value)
const Aws::String & GetSsoApplicationId() const
CreatePortalResult & WithPortalArn(Aws::String &&value)
CreatePortalResult & WithSsoApplicationId(const char *value)
void SetRequestId(const Aws::String &value)
CreatePortalResult & WithRequestId(const Aws::String &value)
void SetPortalStatus(const PortalStatus &value)
CreatePortalResult & WithSsoApplicationId(Aws::String &&value)
CreatePortalResult & WithPortalStartUrl(Aws::String &&value)
void SetPortalId(const Aws::String &value)
CreatePortalResult & WithPortalId(const char *value)
CreatePortalResult & WithPortalStatus(PortalStatus &&value)
CreatePortalResult & WithPortalStartUrl(const Aws::String &value)
CreatePortalResult & WithSsoApplicationId(const Aws::String &value)
CreatePortalResult & WithPortalStatus(const PortalStatus &value)
AWS_IOTSITEWISE_API CreatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPortalArn(const Aws::String &value)
CreatePortalResult & WithRequestId(const char *value)
CreatePortalResult & WithPortalId(Aws::String &&value)
AWS_IOTSITEWISE_API CreatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortalResult & WithPortalId(const Aws::String &value)
CreatePortalResult & WithPortalArn(const Aws::String &value)
void SetPortalStartUrl(const Aws::String &value)
CreatePortalResult & WithPortalArn(const char *value)
void SetSsoApplicationId(const Aws::String &value)
CreatePortalResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue