AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartBackupJobResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUP_API StartBackupJobResult() = default;
34
35
37
40 inline const Aws::String& GetBackupJobId() const { return m_backupJobId; }
41 template<typename BackupJobIdT = Aws::String>
42 void SetBackupJobId(BackupJobIdT&& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = std::forward<BackupJobIdT>(value); }
43 template<typename BackupJobIdT = Aws::String>
44 StartBackupJobResult& WithBackupJobId(BackupJobIdT&& value) { SetBackupJobId(std::forward<BackupJobIdT>(value)); return *this;}
46
48
54 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
55 template<typename RecoveryPointArnT = Aws::String>
56 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
57 template<typename RecoveryPointArnT = Aws::String>
58 StartBackupJobResult& WithRecoveryPointArn(RecoveryPointArnT&& value) { SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value)); return *this;}
60
62
68 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
69 template<typename CreationDateT = Aws::Utils::DateTime>
70 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
71 template<typename CreationDateT = Aws::Utils::DateTime>
72 StartBackupJobResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
74
76
80 inline bool GetIsParent() const { return m_isParent; }
81 inline void SetIsParent(bool value) { m_isParentHasBeenSet = true; m_isParent = value; }
82 inline StartBackupJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 StartBackupJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 Aws::String m_backupJobId;
96 bool m_backupJobIdHasBeenSet = false;
97
98 Aws::String m_recoveryPointArn;
99 bool m_recoveryPointArnHasBeenSet = false;
100
101 Aws::Utils::DateTime m_creationDate{};
102 bool m_creationDateHasBeenSet = false;
103
104 bool m_isParent{false};
105 bool m_isParentHasBeenSet = false;
106
107 Aws::String m_requestId;
108 bool m_requestIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Backup
113} // namespace Aws
AWS_BACKUP_API StartBackupJobResult()=default
void SetRecoveryPointArn(RecoveryPointArnT &&value)
StartBackupJobResult & WithIsParent(bool value)
StartBackupJobResult & WithRecoveryPointArn(RecoveryPointArnT &&value)
const Aws::String & GetRecoveryPointArn() const
StartBackupJobResult & WithRequestId(RequestIdT &&value)
AWS_BACKUP_API StartBackupJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBackupJobResult & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_BACKUP_API StartBackupJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBackupJobResult & WithBackupJobId(BackupJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue