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

A metadata structure that contains summary information for the analysis that * you're describing.

*/ inline const Analysis& GetAnalysis() const{ return m_analysis; } /** *

A metadata structure that contains summary information for the analysis that * you're describing.

*/ inline void SetAnalysis(const Analysis& value) { m_analysis = value; } /** *

A metadata structure that contains summary information for the analysis that * you're describing.

*/ inline void SetAnalysis(Analysis&& value) { m_analysis = std::move(value); } /** *

A metadata structure that contains summary information for the analysis that * you're describing.

*/ inline DescribeAnalysisResult& WithAnalysis(const Analysis& value) { SetAnalysis(value); return *this;} /** *

A metadata structure that contains summary information for the analysis that * you're describing.

*/ inline DescribeAnalysisResult& WithAnalysis(Analysis&& value) { SetAnalysis(std::move(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 DescribeAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;} /** *

The AWS request ID for this operation.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The AWS request ID for this operation.

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

The AWS request ID for this operation.

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

The AWS request ID for this operation.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The AWS request ID for this operation.

*/ inline DescribeAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The AWS request ID for this operation.

*/ inline DescribeAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The AWS request ID for this operation.

*/ inline DescribeAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Analysis m_analysis; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws