/** * 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 DynamoDB { namespace Model { class ImportTableResult { public: AWS_DYNAMODB_API ImportTableResult(); AWS_DYNAMODB_API ImportTableResult(const Aws::AmazonWebServiceResult& result); AWS_DYNAMODB_API ImportTableResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Represents the properties of the table created for the import, and * parameters of the import. The import parameters include import status, how many * items were processed, and how many errors were encountered.

*/ inline const ImportTableDescription& GetImportTableDescription() const{ return m_importTableDescription; } /** *

Represents the properties of the table created for the import, and * parameters of the import. The import parameters include import status, how many * items were processed, and how many errors were encountered.

*/ inline void SetImportTableDescription(const ImportTableDescription& value) { m_importTableDescription = value; } /** *

Represents the properties of the table created for the import, and * parameters of the import. The import parameters include import status, how many * items were processed, and how many errors were encountered.

*/ inline void SetImportTableDescription(ImportTableDescription&& value) { m_importTableDescription = std::move(value); } /** *

Represents the properties of the table created for the import, and * parameters of the import. The import parameters include import status, how many * items were processed, and how many errors were encountered.

*/ inline ImportTableResult& WithImportTableDescription(const ImportTableDescription& value) { SetImportTableDescription(value); return *this;} /** *

Represents the properties of the table created for the import, and * parameters of the import. The import parameters include import status, how many * items were processed, and how many errors were encountered.

*/ inline ImportTableResult& WithImportTableDescription(ImportTableDescription&& value) { SetImportTableDescription(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 ImportTableResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ImportTableResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ImportTableResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ImportTableDescription m_importTableDescription; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws