/** * 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 UpdateAnalysisResult { public: AWS_QUICKSIGHT_API UpdateAnalysisResult(); AWS_QUICKSIGHT_API UpdateAnalysisResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API UpdateAnalysisResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the analysis that you're updating.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the analysis that you're updating.

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

The ARN of the analysis that you're updating.

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

The ARN of the analysis that you're updating.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the analysis that you're updating.

*/ inline UpdateAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the analysis that you're updating.

*/ inline UpdateAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the analysis that you're updating.

*/ inline UpdateAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the analysis.

*/ inline const Aws::String& GetAnalysisId() const{ return m_analysisId; } /** *

The ID of the analysis.

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

The ID of the analysis.

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

The ID of the analysis.

*/ inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); } /** *

The ID of the analysis.

*/ inline UpdateAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;} /** *

The ID of the analysis.

*/ inline UpdateAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;} /** *

The ID of the analysis.

*/ inline UpdateAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;} /** *

The update status of the last update that was made to the analysis.

*/ inline const ResourceStatus& GetUpdateStatus() const{ return m_updateStatus; } /** *

The update status of the last update that was made to the analysis.

*/ inline void SetUpdateStatus(const ResourceStatus& value) { m_updateStatus = value; } /** *

The update status of the last update that was made to the analysis.

*/ inline void SetUpdateStatus(ResourceStatus&& value) { m_updateStatus = std::move(value); } /** *

The update status of the last update that was made to the analysis.

*/ inline UpdateAnalysisResult& WithUpdateStatus(const ResourceStatus& value) { SetUpdateStatus(value); return *this;} /** *

The update status of the last update that was made to the analysis.

*/ inline UpdateAnalysisResult& WithUpdateStatus(ResourceStatus&& value) { SetUpdateStatus(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 UpdateAnalysisResult& 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 UpdateAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_analysisId; ResourceStatus m_updateStatus; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws