/** * 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 Backup { namespace Model { /** */ class DescribeBackupJobRequest : public BackupRequest { public: AWS_BACKUP_API DescribeBackupJobRequest(); // 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 "DescribeBackupJob"; } AWS_BACKUP_API Aws::String SerializePayload() const override; /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline bool BackupJobIdHasBeenSet() const { return m_backupJobIdHasBeenSet; } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(const Aws::String& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = value; } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(Aws::String&& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = std::move(value); } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline void SetBackupJobId(const char* value) { m_backupJobIdHasBeenSet = true; m_backupJobId.assign(value); } /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobRequest& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;} /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobRequest& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;} /** *

Uniquely identifies a request to Backup to back up a resource.

*/ inline DescribeBackupJobRequest& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;} private: Aws::String m_backupJobId; bool m_backupJobIdHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws