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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

The Amazon Resource Name (ARN) for the data ingestion.

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

An ID for the ingestion.

*/ inline const Aws::String& GetIngestionId() const{ return m_ingestionId; } /** *

An ID for the ingestion.

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

An ID for the ingestion.

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

An ID for the ingestion.

*/ inline void SetIngestionId(const char* value) { m_ingestionId.assign(value); } /** *

An ID for the ingestion.

*/ inline CancelIngestionResult& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;} /** *

An ID for the ingestion.

*/ inline CancelIngestionResult& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;} /** *

An ID for the ingestion.

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