201 lines
5.4 KiB
C++
201 lines
5.4 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/quicksight/QuickSight_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/quicksight/model/ResourceStatus.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_QUICKSIGHT_API CreateAnalysisResult
|
|
{
|
|
public:
|
|
CreateAnalysisResult();
|
|
CreateAnalysisResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
CreateAnalysisResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arn = value; }
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline void SetArn(const char* value) { m_arn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN for the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithArn(const char* value) { SetArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the analysis.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status of the creation of the analysis. </p>
|
|
*/
|
|
inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
|
|
|
|
/**
|
|
* <p>The status of the creation of the analysis. </p>
|
|
*/
|
|
inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
|
|
|
|
/**
|
|
* <p>The status of the creation of the analysis. </p>
|
|
*/
|
|
inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the creation of the analysis. </p>
|
|
*/
|
|
inline CreateAnalysisResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the creation of the analysis. </p>
|
|
*/
|
|
inline CreateAnalysisResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline int GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline void SetStatus(int value) { m_status = value; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithStatus(int value) { SetStatus(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline const Aws::String& GetRequestId() const{ return m_requestId; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline CreateAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
|
|
Aws::String m_analysisId;
|
|
|
|
ResourceStatus m_creationStatus;
|
|
|
|
int m_status;
|
|
|
|
Aws::String m_requestId;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|