AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLegalHoldResult.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 CreateLegalHoldResult();
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 CreateLegalHoldResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
47 inline CreateLegalHoldResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
48 inline CreateLegalHoldResult& 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 CreateLegalHoldResult& WithStatus(const LegalHoldStatus& value) { SetStatus(value); return *this;}
59 inline CreateLegalHoldResult& 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 CreateLegalHoldResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline CreateLegalHoldResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline CreateLegalHoldResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetLegalHoldId() const{ return m_legalHoldId; }
80 inline void SetLegalHoldId(const Aws::String& value) { m_legalHoldId = value; }
81 inline void SetLegalHoldId(Aws::String&& value) { m_legalHoldId = std::move(value); }
82 inline void SetLegalHoldId(const char* value) { m_legalHoldId.assign(value); }
83 inline CreateLegalHoldResult& WithLegalHoldId(const Aws::String& value) { SetLegalHoldId(value); return *this;}
84 inline CreateLegalHoldResult& WithLegalHoldId(Aws::String&& value) { SetLegalHoldId(std::move(value)); return *this;}
85 inline CreateLegalHoldResult& WithLegalHoldId(const char* value) { SetLegalHoldId(value); return *this;}
87
89
92 inline const Aws::String& GetLegalHoldArn() const{ return m_legalHoldArn; }
93 inline void SetLegalHoldArn(const Aws::String& value) { m_legalHoldArn = value; }
94 inline void SetLegalHoldArn(Aws::String&& value) { m_legalHoldArn = std::move(value); }
95 inline void SetLegalHoldArn(const char* value) { m_legalHoldArn.assign(value); }
96 inline CreateLegalHoldResult& WithLegalHoldArn(const Aws::String& value) { SetLegalHoldArn(value); return *this;}
97 inline CreateLegalHoldResult& WithLegalHoldArn(Aws::String&& value) { SetLegalHoldArn(std::move(value)); return *this;}
98 inline CreateLegalHoldResult& WithLegalHoldArn(const char* value) { SetLegalHoldArn(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
106 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
107 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
108 inline CreateLegalHoldResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
109 inline CreateLegalHoldResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
111
113
117 inline const RecoveryPointSelection& GetRecoveryPointSelection() const{ return m_recoveryPointSelection; }
118 inline void SetRecoveryPointSelection(const RecoveryPointSelection& value) { m_recoveryPointSelection = value; }
119 inline void SetRecoveryPointSelection(RecoveryPointSelection&& value) { m_recoveryPointSelection = std::move(value); }
123
125
126 inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
128 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
129 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
130 inline CreateLegalHoldResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
131 inline CreateLegalHoldResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
132 inline CreateLegalHoldResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
134 private:
135
136 Aws::String m_title;
137
138 LegalHoldStatus m_status;
139
140 Aws::String m_description;
141
142 Aws::String m_legalHoldId;
143
144 Aws::String m_legalHoldArn;
145
146 Aws::Utils::DateTime m_creationDate;
147
148 RecoveryPointSelection m_recoveryPointSelection;
149
150 Aws::String m_requestId;
151 };
152
153} // namespace Model
154} // namespace Backup
155} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue