/** * 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 CreateIngestionResult { public: AWS_QUICKSIGHT_API CreateIngestionResult(); AWS_QUICKSIGHT_API CreateIngestionResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API CreateIngestionResult& 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 CreateIngestionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

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

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

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

*/ inline CreateIngestionResult& 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 CreateIngestionResult& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;} /** *

An ID for the ingestion.

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

An ID for the ingestion.

*/ inline CreateIngestionResult& WithIngestionId(const char* value) { SetIngestionId(value); return *this;} /** *

The ingestion status.

*/ inline const IngestionStatus& GetIngestionStatus() const{ return m_ingestionStatus; } /** *

The ingestion status.

*/ inline void SetIngestionStatus(const IngestionStatus& value) { m_ingestionStatus = value; } /** *

The ingestion status.

*/ inline void SetIngestionStatus(IngestionStatus&& value) { m_ingestionStatus = std::move(value); } /** *

The ingestion status.

*/ inline CreateIngestionResult& WithIngestionStatus(const IngestionStatus& value) { SetIngestionStatus(value); return *this;} /** *

The ingestion status.

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