/** * 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 QuickSight { namespace Model { /** *

Output returned from the GetDashboardEmbedUrl * operation.

See Also:

AWS * API Reference

*/ class GetDashboardEmbedUrlResult { public: AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult(); AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

*/ inline const Aws::String& GetEmbedUrl() const{ return m_embedUrl; } /** *

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

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

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

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

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

*/ inline void SetEmbedUrl(const char* value) { m_embedUrl.assign(value); } /** *

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

*/ inline GetDashboardEmbedUrlResult& WithEmbedUrl(const Aws::String& value) { SetEmbedUrl(value); return *this;} /** *

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

*/ inline GetDashboardEmbedUrlResult& WithEmbedUrl(Aws::String&& value) { SetEmbedUrl(std::move(value)); return *this;} /** *

A single-use URL that you can put into your server-side webpage to embed your * dashboard. This URL is valid for 5 minutes. The API operation provides the URL * with an auth_code value that enables one (and only one) sign-on to * a user session that is valid for 10 hours.

*/ inline GetDashboardEmbedUrlResult& WithEmbedUrl(const char* value) { SetEmbedUrl(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline GetDashboardEmbedUrlResult& WithStatus(int value) { SetStatus(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 GetDashboardEmbedUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDashboardEmbedUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDashboardEmbedUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_embedUrl; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws