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

The current status of the import job.

*/ inline const TableDataImportJobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

The current status of the import job.

*/ inline void SetJobStatus(const TableDataImportJobStatus& value) { m_jobStatus = value; } /** *

The current status of the import job.

*/ inline void SetJobStatus(TableDataImportJobStatus&& value) { m_jobStatus = std::move(value); } /** *

The current status of the import job.

*/ inline DescribeTableDataImportJobResult& WithJobStatus(const TableDataImportJobStatus& value) { SetJobStatus(value); return *this;} /** *

The current status of the import job.

*/ inline DescribeTableDataImportJobResult& WithJobStatus(TableDataImportJobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *

A message providing more details about the current status of the import job. *

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

A message providing more details about the current status of the import job. *

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

A message providing more details about the current status of the import job. *

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

A message providing more details about the current status of the import job. *

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

A message providing more details about the current status of the import job. *

*/ inline DescribeTableDataImportJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A message providing more details about the current status of the import job. *

*/ inline DescribeTableDataImportJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

A message providing more details about the current status of the import job. *

*/ inline DescribeTableDataImportJobResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The metadata about the job that was submitted for import.

*/ inline const TableDataImportJobMetadata& GetJobMetadata() const{ return m_jobMetadata; } /** *

The metadata about the job that was submitted for import.

*/ inline void SetJobMetadata(const TableDataImportJobMetadata& value) { m_jobMetadata = value; } /** *

The metadata about the job that was submitted for import.

*/ inline void SetJobMetadata(TableDataImportJobMetadata&& value) { m_jobMetadata = std::move(value); } /** *

The metadata about the job that was submitted for import.

*/ inline DescribeTableDataImportJobResult& WithJobMetadata(const TableDataImportJobMetadata& value) { SetJobMetadata(value); return *this;} /** *

The metadata about the job that was submitted for import.

*/ inline DescribeTableDataImportJobResult& WithJobMetadata(TableDataImportJobMetadata&& value) { SetJobMetadata(std::move(value)); return *this;} /** *

If job status is failed, error code to understand reason for the failure. *

*/ inline const ErrorCode& GetErrorCode() const{ return m_errorCode; } /** *

If job status is failed, error code to understand reason for the failure. *

*/ inline void SetErrorCode(const ErrorCode& value) { m_errorCode = value; } /** *

If job status is failed, error code to understand reason for the failure. *

*/ inline void SetErrorCode(ErrorCode&& value) { m_errorCode = std::move(value); } /** *

If job status is failed, error code to understand reason for the failure. *

*/ inline DescribeTableDataImportJobResult& WithErrorCode(const ErrorCode& value) { SetErrorCode(value); return *this;} /** *

If job status is failed, error code to understand reason for the failure. *

*/ inline DescribeTableDataImportJobResult& WithErrorCode(ErrorCode&& value) { SetErrorCode(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 DescribeTableDataImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTableDataImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTableDataImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TableDataImportJobStatus m_jobStatus; Aws::String m_message; TableDataImportJobMetadata m_jobMetadata; ErrorCode m_errorCode; Aws::String m_requestId; }; } // namespace Model } // namespace Honeycode } // namespace Aws