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

Contains the details of the backup created for the table.

*/ inline const BackupDetails& GetBackupDetails() const{ return m_backupDetails; } /** *

Contains the details of the backup created for the table.

*/ inline void SetBackupDetails(const BackupDetails& value) { m_backupDetails = value; } /** *

Contains the details of the backup created for the table.

*/ inline void SetBackupDetails(BackupDetails&& value) { m_backupDetails = std::move(value); } /** *

Contains the details of the backup created for the table.

*/ inline CreateBackupResult& WithBackupDetails(const BackupDetails& value) { SetBackupDetails(value); return *this;} /** *

Contains the details of the backup created for the table.

*/ inline CreateBackupResult& WithBackupDetails(BackupDetails&& value) { SetBackupDetails(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 CreateBackupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateBackupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateBackupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: BackupDetails m_backupDetails; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws