/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Honeycode { namespace Model { /** *

The metadata associated with the table data import job that was * submitted.

See Also:

AWS * API Reference

*/ class TableDataImportJobMetadata { public: AWS_HONEYCODE_API TableDataImportJobMetadata(); AWS_HONEYCODE_API TableDataImportJobMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_HONEYCODE_API TableDataImportJobMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_HONEYCODE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Details about the submitter of the import request.

*/ inline const ImportJobSubmitter& GetSubmitter() const{ return m_submitter; } /** *

Details about the submitter of the import request.

*/ inline bool SubmitterHasBeenSet() const { return m_submitterHasBeenSet; } /** *

Details about the submitter of the import request.

*/ inline void SetSubmitter(const ImportJobSubmitter& value) { m_submitterHasBeenSet = true; m_submitter = value; } /** *

Details about the submitter of the import request.

*/ inline void SetSubmitter(ImportJobSubmitter&& value) { m_submitterHasBeenSet = true; m_submitter = std::move(value); } /** *

Details about the submitter of the import request.

*/ inline TableDataImportJobMetadata& WithSubmitter(const ImportJobSubmitter& value) { SetSubmitter(value); return *this;} /** *

Details about the submitter of the import request.

*/ inline TableDataImportJobMetadata& WithSubmitter(ImportJobSubmitter&& value) { SetSubmitter(std::move(value)); return *this;} /** *

The timestamp when the job was submitted for import.

*/ inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } /** *

The timestamp when the job was submitted for import.

*/ inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } /** *

The timestamp when the job was submitted for import.

*/ inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } /** *

The timestamp when the job was submitted for import.

*/ inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } /** *

The timestamp when the job was submitted for import.

*/ inline TableDataImportJobMetadata& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} /** *

The timestamp when the job was submitted for import.

*/ inline TableDataImportJobMetadata& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} /** *

The options that was specified at the time of submitting the import * request.

*/ inline const ImportOptions& GetImportOptions() const{ return m_importOptions; } /** *

The options that was specified at the time of submitting the import * request.

*/ inline bool ImportOptionsHasBeenSet() const { return m_importOptionsHasBeenSet; } /** *

The options that was specified at the time of submitting the import * request.

*/ inline void SetImportOptions(const ImportOptions& value) { m_importOptionsHasBeenSet = true; m_importOptions = value; } /** *

The options that was specified at the time of submitting the import * request.

*/ inline void SetImportOptions(ImportOptions&& value) { m_importOptionsHasBeenSet = true; m_importOptions = std::move(value); } /** *

The options that was specified at the time of submitting the import * request.

*/ inline TableDataImportJobMetadata& WithImportOptions(const ImportOptions& value) { SetImportOptions(value); return *this;} /** *

The options that was specified at the time of submitting the import * request.

*/ inline TableDataImportJobMetadata& WithImportOptions(ImportOptions&& value) { SetImportOptions(std::move(value)); return *this;} /** *

The source of the data that was submitted for import.

*/ inline const ImportDataSource& GetDataSource() const{ return m_dataSource; } /** *

The source of the data that was submitted for import.

*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *

The source of the data that was submitted for import.

*/ inline void SetDataSource(const ImportDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *

The source of the data that was submitted for import.

*/ inline void SetDataSource(ImportDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *

The source of the data that was submitted for import.

*/ inline TableDataImportJobMetadata& WithDataSource(const ImportDataSource& value) { SetDataSource(value); return *this;} /** *

The source of the data that was submitted for import.

*/ inline TableDataImportJobMetadata& WithDataSource(ImportDataSource&& value) { SetDataSource(std::move(value)); return *this;} private: ImportJobSubmitter m_submitter; bool m_submitterHasBeenSet = false; Aws::Utils::DateTime m_submitTime; bool m_submitTimeHasBeenSet = false; ImportOptions m_importOptions; bool m_importOptionsHasBeenSet = false; ImportDataSource m_dataSource; bool m_dataSourceHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws