68 lines
1.8 KiB
C
68 lines
1.8 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/dynamodb/DynamoDB_EXPORTS.h>
|
|||
|
|
#include <aws/dynamodb/model/BackupDetails.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DynamoDB
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_DYNAMODB_API CreateBackupResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateBackupResult();
|
|||
|
|
CreateBackupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateBackupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains the details of the backup created for the table.</p>
|
|||
|
|
*/
|
|||
|
|
inline const BackupDetails& GetBackupDetails() const{ return m_backupDetails; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains the details of the backup created for the table.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBackupDetails(const BackupDetails& value) { m_backupDetails = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains the details of the backup created for the table.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBackupDetails(BackupDetails&& value) { m_backupDetails = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains the details of the backup created for the table.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateBackupResult& WithBackupDetails(const BackupDetails& value) { SetBackupDetails(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains the details of the backup created for the table.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateBackupResult& WithBackupDetails(BackupDetails&& value) { SetBackupDetails(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
BackupDetails m_backupDetails;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DynamoDB
|
|||
|
|
} // namespace Aws
|