/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace DynamoDB { namespace Model { /** */ class DescribeBackupRequest : public DynamoDBRequest { public: AWS_DYNAMODB_API DescribeBackupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeBackup"; } AWS_DYNAMODB_API Aws::String SerializePayload() const override; AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline const Aws::String& GetBackupArn() const{ return m_backupArn; } /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline bool BackupArnHasBeenSet() const { return m_backupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline void SetBackupArn(const Aws::String& value) { m_backupArnHasBeenSet = true; m_backupArn = value; } /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline void SetBackupArn(Aws::String&& value) { m_backupArnHasBeenSet = true; m_backupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline void SetBackupArn(const char* value) { m_backupArnHasBeenSet = true; m_backupArn.assign(value); } /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline DescribeBackupRequest& WithBackupArn(const Aws::String& value) { SetBackupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline DescribeBackupRequest& WithBackupArn(Aws::String&& value) { SetBackupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) associated with the backup.

*/ inline DescribeBackupRequest& WithBackupArn(const char* value) { SetBackupArn(value); return *this;} private: Aws::String m_backupArn; bool m_backupArnHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws