AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; }
41 inline void SetBackupJobId(const Aws::String& value) { m_backupJobId = value; }
42 inline void SetBackupJobId(Aws::String&& value) { m_backupJobId = std::move(value); }
43 inline void SetBackupJobId(const char* value) { m_backupJobId.assign(value); }
44 inline StartBackupJobResult& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;}
45 inline StartBackupJobResult& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;}
46 inline StartBackupJobResult& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;}
48
50
56 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
57 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
58 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
59 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
60 inline StartBackupJobResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
61 inline StartBackupJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
62 inline StartBackupJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
64
66
72 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
73 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
74 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
75 inline StartBackupJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
76 inline StartBackupJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
78
80
84 inline bool GetIsParent() const{ return m_isParent; }
85 inline void SetIsParent(bool value) { m_isParent = value; }
86 inline StartBackupJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline StartBackupJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline StartBackupJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline StartBackupJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_backupJobId;
102
103 Aws::String m_recoveryPointArn;
104
105 Aws::Utils::DateTime m_creationDate;
106
107 bool m_isParent;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace Backup
114} // namespace Aws
StartBackupJobResult & WithRequestId(Aws::String &&value)
StartBackupJobResult & WithIsParent(bool value)
StartBackupJobResult & WithBackupJobId(const Aws::String &value)
const Aws::String & GetRecoveryPointArn() const
StartBackupJobResult & WithBackupJobId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
StartBackupJobResult & WithRequestId(const Aws::String &value)
StartBackupJobResult & WithRecoveryPointArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetRecoveryPointArn(const Aws::String &value)
AWS_BACKUP_API StartBackupJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBackupJobResult & WithBackupJobId(Aws::String &&value)
StartBackupJobResult & WithCreationDate(const Aws::Utils::DateTime &value)
StartBackupJobResult & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDate() const
StartBackupJobResult & WithRecoveryPointArn(const char *value)
void SetBackupJobId(const Aws::String &value)
StartBackupJobResult & WithRequestId(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API StartBackupJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBackupJobResult & WithRecoveryPointArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue