AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
CreatePortalResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpacesWeb {
23namespace Model {
25 public:
26 AWS_WORKSPACESWEB_API CreatePortalResult() = default;
29
31
34 inline const Aws::String& GetPortalArn() const { return m_portalArn; }
35 template <typename PortalArnT = Aws::String>
36 void SetPortalArn(PortalArnT&& value) {
37 m_portalArnHasBeenSet = true;
38 m_portalArn = std::forward<PortalArnT>(value);
39 }
40 template <typename PortalArnT = Aws::String>
41 CreatePortalResult& WithPortalArn(PortalArnT&& value) {
42 SetPortalArn(std::forward<PortalArnT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetPortalEndpoint() const { return m_portalEndpoint; }
53 template <typename PortalEndpointT = Aws::String>
54 void SetPortalEndpoint(PortalEndpointT&& value) {
55 m_portalEndpointHasBeenSet = true;
56 m_portalEndpoint = std::forward<PortalEndpointT>(value);
57 }
58 template <typename PortalEndpointT = Aws::String>
59 CreatePortalResult& WithPortalEndpoint(PortalEndpointT&& value) {
60 SetPortalEndpoint(std::forward<PortalEndpointT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 CreatePortalResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_portalArn;
83
84 Aws::String m_portalEndpoint;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_portalArnHasBeenSet = false;
89 bool m_portalEndpointHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace WorkSpacesWeb
95} // namespace Aws
AWS_WORKSPACESWEB_API CreatePortalResult()=default
CreatePortalResult & WithPortalEndpoint(PortalEndpointT &&value)
AWS_WORKSPACESWEB_API CreatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePortalResult & WithPortalArn(PortalArnT &&value)
CreatePortalResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetPortalEndpoint(PortalEndpointT &&value)
AWS_WORKSPACESWEB_API CreatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue