AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
34
35
37
40 inline const Aws::String& GetPortalId() const { return m_portalId; }
41 template<typename PortalIdT = Aws::String>
42 void SetPortalId(PortalIdT&& value) { m_portalIdHasBeenSet = true; m_portalId = std::forward<PortalIdT>(value); }
43 template<typename PortalIdT = Aws::String>
44 CreatePortalResult& WithPortalId(PortalIdT&& value) { SetPortalId(std::forward<PortalIdT>(value)); return *this;}
46
48
55 inline const Aws::String& GetPortalArn() const { return m_portalArn; }
56 template<typename PortalArnT = Aws::String>
57 void SetPortalArn(PortalArnT&& value) { m_portalArnHasBeenSet = true; m_portalArn = std::forward<PortalArnT>(value); }
58 template<typename PortalArnT = Aws::String>
59 CreatePortalResult& WithPortalArn(PortalArnT&& value) { SetPortalArn(std::forward<PortalArnT>(value)); return *this;}
61
63
69 inline const Aws::String& GetPortalStartUrl() const { return m_portalStartUrl; }
70 template<typename PortalStartUrlT = Aws::String>
71 void SetPortalStartUrl(PortalStartUrlT&& value) { m_portalStartUrlHasBeenSet = true; m_portalStartUrl = std::forward<PortalStartUrlT>(value); }
72 template<typename PortalStartUrlT = Aws::String>
73 CreatePortalResult& WithPortalStartUrl(PortalStartUrlT&& value) { SetPortalStartUrl(std::forward<PortalStartUrlT>(value)); return *this;}
75
77
81 inline const PortalStatus& GetPortalStatus() const { return m_portalStatus; }
82 template<typename PortalStatusT = PortalStatus>
83 void SetPortalStatus(PortalStatusT&& value) { m_portalStatusHasBeenSet = true; m_portalStatus = std::forward<PortalStatusT>(value); }
84 template<typename PortalStatusT = PortalStatus>
85 CreatePortalResult& WithPortalStatus(PortalStatusT&& value) { SetPortalStatus(std::forward<PortalStatusT>(value)); return *this;}
87
89
93 inline const Aws::String& GetSsoApplicationId() const { return m_ssoApplicationId; }
94 template<typename SsoApplicationIdT = Aws::String>
95 void SetSsoApplicationId(SsoApplicationIdT&& value) { m_ssoApplicationIdHasBeenSet = true; m_ssoApplicationId = std::forward<SsoApplicationIdT>(value); }
96 template<typename SsoApplicationIdT = Aws::String>
97 CreatePortalResult& WithSsoApplicationId(SsoApplicationIdT&& value) { SetSsoApplicationId(std::forward<SsoApplicationIdT>(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template<typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
105 template<typename RequestIdT = Aws::String>
106 CreatePortalResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
108 private:
109
110 Aws::String m_portalId;
111 bool m_portalIdHasBeenSet = false;
112
113 Aws::String m_portalArn;
114 bool m_portalArnHasBeenSet = false;
115
116 Aws::String m_portalStartUrl;
117 bool m_portalStartUrlHasBeenSet = false;
118
119 PortalStatus m_portalStatus;
120 bool m_portalStatusHasBeenSet = false;
121
122 Aws::String m_ssoApplicationId;
123 bool m_ssoApplicationIdHasBeenSet = false;
124
125 Aws::String m_requestId;
126 bool m_requestIdHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoTSiteWise
131} // namespace Aws
const Aws::String & GetSsoApplicationId() const
CreatePortalResult & WithPortalId(PortalIdT &&value)
CreatePortalResult & WithSsoApplicationId(SsoApplicationIdT &&value)
void SetSsoApplicationId(SsoApplicationIdT &&value)
void SetPortalStartUrl(PortalStartUrlT &&value)
AWS_IOTSITEWISE_API CreatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortalResult & WithPortalArn(PortalArnT &&value)
AWS_IOTSITEWISE_API CreatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortalResult & WithRequestId(RequestIdT &&value)
CreatePortalResult & WithPortalStatus(PortalStatusT &&value)
AWS_IOTSITEWISE_API CreatePortalResult()=default
CreatePortalResult & WithPortalStartUrl(PortalStartUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue