AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecoveryPointLifecycleResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/Lifecycle.h>
10#include <aws/backup/model/CalculatedLifecycle.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
43 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
44 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
45 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
47 inline UpdateRecoveryPointLifecycleResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
48 inline UpdateRecoveryPointLifecycleResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
50
52
57 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
58 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
59 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
60 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
63 inline UpdateRecoveryPointLifecycleResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
65
67
80 inline const Lifecycle& GetLifecycle() const{ return m_lifecycle; }
81 inline void SetLifecycle(const Lifecycle& value) { m_lifecycle = value; }
82 inline void SetLifecycle(Lifecycle&& value) { m_lifecycle = std::move(value); }
83 inline UpdateRecoveryPointLifecycleResult& WithLifecycle(const Lifecycle& value) { SetLifecycle(value); return *this;}
84 inline UpdateRecoveryPointLifecycleResult& WithLifecycle(Lifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
86
88
92 inline const CalculatedLifecycle& GetCalculatedLifecycle() const{ return m_calculatedLifecycle; }
93 inline void SetCalculatedLifecycle(const CalculatedLifecycle& value) { m_calculatedLifecycle = value; }
94 inline void SetCalculatedLifecycle(CalculatedLifecycle&& value) { m_calculatedLifecycle = std::move(value); }
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline UpdateRecoveryPointLifecycleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline UpdateRecoveryPointLifecycleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline UpdateRecoveryPointLifecycleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_backupVaultArn;
112
113 Aws::String m_recoveryPointArn;
114
115 Lifecycle m_lifecycle;
116
117 CalculatedLifecycle m_calculatedLifecycle;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace Backup
124} // namespace Aws
UpdateRecoveryPointLifecycleResult & WithBackupVaultArn(const Aws::String &value)
UpdateRecoveryPointLifecycleResult & WithCalculatedLifecycle(CalculatedLifecycle &&value)
UpdateRecoveryPointLifecycleResult & WithRecoveryPointArn(const char *value)
UpdateRecoveryPointLifecycleResult & WithCalculatedLifecycle(const CalculatedLifecycle &value)
AWS_BACKUP_API UpdateRecoveryPointLifecycleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryPointLifecycleResult & WithBackupVaultArn(const char *value)
UpdateRecoveryPointLifecycleResult & WithRecoveryPointArn(const Aws::String &value)
UpdateRecoveryPointLifecycleResult & WithRecoveryPointArn(Aws::String &&value)
AWS_BACKUP_API UpdateRecoveryPointLifecycleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryPointLifecycleResult & WithLifecycle(Lifecycle &&value)
UpdateRecoveryPointLifecycleResult & WithRequestId(Aws::String &&value)
UpdateRecoveryPointLifecycleResult & WithRequestId(const char *value)
UpdateRecoveryPointLifecycleResult & WithRequestId(const Aws::String &value)
UpdateRecoveryPointLifecycleResult & WithLifecycle(const Lifecycle &value)
UpdateRecoveryPointLifecycleResult & WithBackupVaultArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue