/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WorkSpacesWeb { namespace Model { class CreatePortalResult { public: AWS_WORKSPACESWEB_API CreatePortalResult(); AWS_WORKSPACESWEB_API CreatePortalResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACESWEB_API CreatePortalResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the web portal.

*/ inline const Aws::String& GetPortalArn() const{ return m_portalArn; } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(const Aws::String& value) { m_portalArn = value; } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(Aws::String&& value) { m_portalArn = std::move(value); } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(const char* value) { m_portalArn.assign(value); } /** *

The ARN of the web portal.

*/ inline CreatePortalResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;} /** *

The ARN of the web portal.

*/ inline CreatePortalResult& WithPortalArn(Aws::String&& value) { SetPortalArn(std::move(value)); return *this;} /** *

The ARN of the web portal.

*/ inline CreatePortalResult& WithPortalArn(const char* value) { SetPortalArn(value); return *this;} /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline const Aws::String& GetPortalEndpoint() const{ return m_portalEndpoint; } /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline void SetPortalEndpoint(const Aws::String& value) { m_portalEndpoint = value; } /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline void SetPortalEndpoint(Aws::String&& value) { m_portalEndpoint = std::move(value); } /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline void SetPortalEndpoint(const char* value) { m_portalEndpoint.assign(value); } /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline CreatePortalResult& WithPortalEndpoint(const Aws::String& value) { SetPortalEndpoint(value); return *this;} /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline CreatePortalResult& WithPortalEndpoint(Aws::String&& value) { SetPortalEndpoint(std::move(value)); return *this;} /** *

The endpoint URL of the web portal that users access in order to start * streaming sessions.

*/ inline CreatePortalResult& WithPortalEndpoint(const char* value) { SetPortalEndpoint(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreatePortalResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePortalResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePortalResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_portalArn; Aws::String m_portalEndpoint; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws