AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
UpdateRecoveryPointLifecycleResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/CalculatedLifecycle.h>
9#include <aws/backup/model/Lifecycle.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Backup {
24namespace Model {
26 public:
27 AWS_BACKUP_API UpdateRecoveryPointLifecycleResult() = default;
30
32
36 inline const Aws::String& GetBackupVaultArn() const { return m_backupVaultArn; }
37 template <typename BackupVaultArnT = Aws::String>
38 void SetBackupVaultArn(BackupVaultArnT&& value) {
39 m_backupVaultArnHasBeenSet = true;
40 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
41 }
42 template <typename BackupVaultArnT = Aws::String>
44 SetBackupVaultArn(std::forward<BackupVaultArnT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
56 template <typename RecoveryPointArnT = Aws::String>
57 void SetRecoveryPointArn(RecoveryPointArnT&& value) {
58 m_recoveryPointArnHasBeenSet = true;
59 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
60 }
61 template <typename RecoveryPointArnT = Aws::String>
63 SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value));
64 return *this;
65 }
67
69
82 inline const Lifecycle& GetLifecycle() const { return m_lifecycle; }
83 template <typename LifecycleT = Lifecycle>
84 void SetLifecycle(LifecycleT&& value) {
85 m_lifecycleHasBeenSet = true;
86 m_lifecycle = std::forward<LifecycleT>(value);
87 }
88 template <typename LifecycleT = Lifecycle>
90 SetLifecycle(std::forward<LifecycleT>(value));
91 return *this;
92 }
94
96
100 inline const CalculatedLifecycle& GetCalculatedLifecycle() const { return m_calculatedLifecycle; }
101 template <typename CalculatedLifecycleT = CalculatedLifecycle>
102 void SetCalculatedLifecycle(CalculatedLifecycleT&& value) {
103 m_calculatedLifecycleHasBeenSet = true;
104 m_calculatedLifecycle = std::forward<CalculatedLifecycleT>(value);
105 }
106 template <typename CalculatedLifecycleT = CalculatedLifecycle>
108 SetCalculatedLifecycle(std::forward<CalculatedLifecycleT>(value));
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_backupVaultArn;
129
130 Aws::String m_recoveryPointArn;
131
132 Lifecycle m_lifecycle;
133
134 CalculatedLifecycle m_calculatedLifecycle;
135
136 Aws::String m_requestId;
137 bool m_backupVaultArnHasBeenSet = false;
138 bool m_recoveryPointArnHasBeenSet = false;
139 bool m_lifecycleHasBeenSet = false;
140 bool m_calculatedLifecycleHasBeenSet = false;
141 bool m_requestIdHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Backup
146} // namespace Aws
UpdateRecoveryPointLifecycleResult & WithCalculatedLifecycle(CalculatedLifecycleT &&value)
UpdateRecoveryPointLifecycleResult & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API UpdateRecoveryPointLifecycleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryPointLifecycleResult & WithRequestId(RequestIdT &&value)
UpdateRecoveryPointLifecycleResult & WithBackupVaultArn(BackupVaultArnT &&value)
AWS_BACKUP_API UpdateRecoveryPointLifecycleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecoveryPointLifecycleResult & WithLifecycle(LifecycleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue