AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLegalHoldResult.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/LegalHoldStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/backup/model/RecoveryPointSelection.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Backup
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BACKUP_API GetLegalHoldResult();
36
37
39
42 inline const Aws::String& GetTitle() const{ return m_title; }
43 inline void SetTitle(const Aws::String& value) { m_title = value; }
44 inline void SetTitle(Aws::String&& value) { m_title = std::move(value); }
45 inline void SetTitle(const char* value) { m_title.assign(value); }
46 inline GetLegalHoldResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
47 inline GetLegalHoldResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
48 inline GetLegalHoldResult& WithTitle(const char* value) { SetTitle(value); return *this;}
50
52
55 inline const LegalHoldStatus& GetStatus() const{ return m_status; }
56 inline void SetStatus(const LegalHoldStatus& value) { m_status = value; }
57 inline void SetStatus(LegalHoldStatus&& value) { m_status = std::move(value); }
58 inline GetLegalHoldResult& WithStatus(const LegalHoldStatus& value) { SetStatus(value); return *this;}
59 inline GetLegalHoldResult& WithStatus(LegalHoldStatus&& value) { SetStatus(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetLegalHoldResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetLegalHoldResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetLegalHoldResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetCancelDescription() const{ return m_cancelDescription; }
80 inline void SetCancelDescription(const Aws::String& value) { m_cancelDescription = value; }
81 inline void SetCancelDescription(Aws::String&& value) { m_cancelDescription = std::move(value); }
82 inline void SetCancelDescription(const char* value) { m_cancelDescription.assign(value); }
83 inline GetLegalHoldResult& WithCancelDescription(const Aws::String& value) { SetCancelDescription(value); return *this;}
84 inline GetLegalHoldResult& WithCancelDescription(Aws::String&& value) { SetCancelDescription(std::move(value)); return *this;}
85 inline GetLegalHoldResult& WithCancelDescription(const char* value) { SetCancelDescription(value); return *this;}
87
89
92 inline const Aws::String& GetLegalHoldId() const{ return m_legalHoldId; }
93 inline void SetLegalHoldId(const Aws::String& value) { m_legalHoldId = value; }
94 inline void SetLegalHoldId(Aws::String&& value) { m_legalHoldId = std::move(value); }
95 inline void SetLegalHoldId(const char* value) { m_legalHoldId.assign(value); }
96 inline GetLegalHoldResult& WithLegalHoldId(const Aws::String& value) { SetLegalHoldId(value); return *this;}
97 inline GetLegalHoldResult& WithLegalHoldId(Aws::String&& value) { SetLegalHoldId(std::move(value)); return *this;}
98 inline GetLegalHoldResult& WithLegalHoldId(const char* value) { SetLegalHoldId(value); return *this;}
100
102
106 inline const Aws::String& GetLegalHoldArn() const{ return m_legalHoldArn; }
107 inline void SetLegalHoldArn(const Aws::String& value) { m_legalHoldArn = value; }
108 inline void SetLegalHoldArn(Aws::String&& value) { m_legalHoldArn = std::move(value); }
109 inline void SetLegalHoldArn(const char* value) { m_legalHoldArn.assign(value); }
110 inline GetLegalHoldResult& WithLegalHoldArn(const Aws::String& value) { SetLegalHoldArn(value); return *this;}
111 inline GetLegalHoldResult& WithLegalHoldArn(Aws::String&& value) { SetLegalHoldArn(std::move(value)); return *this;}
112 inline GetLegalHoldResult& WithLegalHoldArn(const char* value) { SetLegalHoldArn(value); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
120 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
121 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
122 inline GetLegalHoldResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
123 inline GetLegalHoldResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCancellationDate() const{ return m_cancellationDate; }
131 inline void SetCancellationDate(const Aws::Utils::DateTime& value) { m_cancellationDate = value; }
132 inline void SetCancellationDate(Aws::Utils::DateTime&& value) { m_cancellationDate = std::move(value); }
134 inline GetLegalHoldResult& WithCancellationDate(Aws::Utils::DateTime&& value) { SetCancellationDate(std::move(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetRetainRecordUntil() const{ return m_retainRecordUntil; }
142 inline void SetRetainRecordUntil(const Aws::Utils::DateTime& value) { m_retainRecordUntil = value; }
143 inline void SetRetainRecordUntil(Aws::Utils::DateTime&& value) { m_retainRecordUntil = std::move(value); }
145 inline GetLegalHoldResult& WithRetainRecordUntil(Aws::Utils::DateTime&& value) { SetRetainRecordUntil(std::move(value)); return *this;}
147
149
153 inline const RecoveryPointSelection& GetRecoveryPointSelection() const{ return m_recoveryPointSelection; }
154 inline void SetRecoveryPointSelection(const RecoveryPointSelection& value) { m_recoveryPointSelection = value; }
155 inline void SetRecoveryPointSelection(RecoveryPointSelection&& value) { m_recoveryPointSelection = std::move(value); }
159
161
162 inline const Aws::String& GetRequestId() const{ return m_requestId; }
163 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
164 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
165 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
166 inline GetLegalHoldResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
167 inline GetLegalHoldResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 inline GetLegalHoldResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
170 private:
171
172 Aws::String m_title;
173
174 LegalHoldStatus m_status;
175
176 Aws::String m_description;
177
178 Aws::String m_cancelDescription;
179
180 Aws::String m_legalHoldId;
181
182 Aws::String m_legalHoldArn;
183
184 Aws::Utils::DateTime m_creationDate;
185
186 Aws::Utils::DateTime m_cancellationDate;
187
188 Aws::Utils::DateTime m_retainRecordUntil;
189
190 RecoveryPointSelection m_recoveryPointSelection;
191
192 Aws::String m_requestId;
193 };
194
195} // namespace Model
196} // namespace Backup
197} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue