167 lines
6.5 KiB
C
167 lines
6.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/backup/Backup_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Backup
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_BACKUP_API StartBackupJobResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
StartBackupJobResult();
|
|||
|
|
StartBackupJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
StartBackupJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBackupJobId(const Aws::String& value) { m_backupJobId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBackupJobId(Aws::String&& value) { m_backupJobId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBackupJobId(const char* value) { m_backupJobId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Uniquely identifies a request to AWS Backup to back up a resource.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|||
|
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that a backup job is started, in Unix format and
|
|||
|
|
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
|
|||
|
|
* accurate to milliseconds. For example, the value 1516925490.087 represents
|
|||
|
|
* Friday, January 26, 2018 12:11:30.087 AM.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that a backup job is started, in Unix format and
|
|||
|
|
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
|
|||
|
|
* accurate to milliseconds. For example, the value 1516925490.087 represents
|
|||
|
|
* Friday, January 26, 2018 12:11:30.087 AM.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that a backup job is started, in Unix format and
|
|||
|
|
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
|
|||
|
|
* accurate to milliseconds. For example, the value 1516925490.087 represents
|
|||
|
|
* Friday, January 26, 2018 12:11:30.087 AM.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that a backup job is started, in Unix format and
|
|||
|
|
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
|
|||
|
|
* accurate to milliseconds. For example, the value 1516925490.087 represents
|
|||
|
|
* Friday, January 26, 2018 12:11:30.087 AM.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time that a backup job is started, in Unix format and
|
|||
|
|
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
|
|||
|
|
* accurate to milliseconds. For example, the value 1516925490.087 represents
|
|||
|
|
* Friday, January 26, 2018 12:11:30.087 AM.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartBackupJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_backupJobId;
|
|||
|
|
|
|||
|
|
Aws::String m_recoveryPointArn;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_creationDate;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Backup
|
|||
|
|
} // namespace Aws
|