AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBackupPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/BackupPlan.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/backup/model/AdvancedBackupSetting.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Backup
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BACKUP_API GetBackupPlanResult();
37
38
40
44 inline const BackupPlan& GetBackupPlan() const{ return m_backupPlan; }
45 inline void SetBackupPlan(const BackupPlan& value) { m_backupPlan = value; }
46 inline void SetBackupPlan(BackupPlan&& value) { m_backupPlan = std::move(value); }
47 inline GetBackupPlanResult& WithBackupPlan(const BackupPlan& value) { SetBackupPlan(value); return *this;}
48 inline GetBackupPlanResult& WithBackupPlan(BackupPlan&& value) { SetBackupPlan(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
56 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
57 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
58 inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
59 inline GetBackupPlanResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
60 inline GetBackupPlanResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
61 inline GetBackupPlanResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
63
65
70 inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
71 inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArn = value; }
72 inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArn = std::move(value); }
73 inline void SetBackupPlanArn(const char* value) { m_backupPlanArn.assign(value); }
74 inline GetBackupPlanResult& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
75 inline GetBackupPlanResult& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
76 inline GetBackupPlanResult& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
78
80
84 inline const Aws::String& GetVersionId() const{ return m_versionId; }
85 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
86 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
87 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
88 inline GetBackupPlanResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
89 inline GetBackupPlanResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
90 inline GetBackupPlanResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
92
94
98 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
99 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestId = value; }
100 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestId = std::move(value); }
101 inline void SetCreatorRequestId(const char* value) { m_creatorRequestId.assign(value); }
102 inline GetBackupPlanResult& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
103 inline GetBackupPlanResult& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
104 inline GetBackupPlanResult& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
106
108
114 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
115 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
116 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
117 inline GetBackupPlanResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
118 inline GetBackupPlanResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
120
122
128 inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
129 inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; }
130 inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); }
131 inline GetBackupPlanResult& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;}
132 inline GetBackupPlanResult& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;}
134
136
142 inline const Aws::Utils::DateTime& GetLastExecutionDate() const{ return m_lastExecutionDate; }
143 inline void SetLastExecutionDate(const Aws::Utils::DateTime& value) { m_lastExecutionDate = value; }
144 inline void SetLastExecutionDate(Aws::Utils::DateTime&& value) { m_lastExecutionDate = std::move(value); }
146 inline GetBackupPlanResult& WithLastExecutionDate(Aws::Utils::DateTime&& value) { SetLastExecutionDate(std::move(value)); return *this;}
148
150
154 inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
155 inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettings = value; }
156 inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettings = std::move(value); }
159 inline GetBackupPlanResult& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettings.push_back(value); return *this; }
160 inline GetBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettings.push_back(std::move(value)); return *this; }
162
164
165 inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 inline GetBackupPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline GetBackupPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline GetBackupPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 BackupPlan m_backupPlan;
176
177 Aws::String m_backupPlanId;
178
179 Aws::String m_backupPlanArn;
180
181 Aws::String m_versionId;
182
183 Aws::String m_creatorRequestId;
184
185 Aws::Utils::DateTime m_creationDate;
186
187 Aws::Utils::DateTime m_deletionDate;
188
189 Aws::Utils::DateTime m_lastExecutionDate;
190
191 Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
192
193 Aws::String m_requestId;
194 };
195
196} // namespace Model
197} // namespace Backup
198} // namespace Aws
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GetBackupPlanResult & WithBackupPlan(BackupPlan &&value)
GetBackupPlanResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
GetBackupPlanResult & WithLastExecutionDate(const Aws::Utils::DateTime &value)
GetBackupPlanResult & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
GetBackupPlanResult & WithCreationDate(Aws::Utils::DateTime &&value)
GetBackupPlanResult & WithCreatorRequestId(const char *value)
GetBackupPlanResult & WithRequestId(const Aws::String &value)
GetBackupPlanResult & WithBackupPlan(const BackupPlan &value)
GetBackupPlanResult & WithBackupPlanArn(const char *value)
GetBackupPlanResult & WithLastExecutionDate(Aws::Utils::DateTime &&value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
void SetDeletionDate(Aws::Utils::DateTime &&value)
AWS_BACKUP_API GetBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupPlanResult & WithCreatorRequestId(const Aws::String &value)
GetBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
void SetBackupPlanArn(const Aws::String &value)
void SetBackupPlan(const BackupPlan &value)
AWS_BACKUP_API GetBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupPlanResult & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
GetBackupPlanResult & WithBackupPlanId(const char *value)
void SetRequestId(const Aws::String &value)
GetBackupPlanResult & WithVersionId(const char *value)
GetBackupPlanResult & WithRequestId(const char *value)
GetBackupPlanResult & WithVersionId(Aws::String &&value)
void SetDeletionDate(const Aws::Utils::DateTime &value)
GetBackupPlanResult & WithBackupPlanArn(Aws::String &&value)
GetBackupPlanResult & WithDeletionDate(Aws::Utils::DateTime &&value)
void SetBackupPlanId(const Aws::String &value)
GetBackupPlanResult & WithDeletionDate(const Aws::Utils::DateTime &value)
GetBackupPlanResult & WithVersionId(const Aws::String &value)
void SetVersionId(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetBackupPlanResult & WithBackupPlanId(Aws::String &&value)
GetBackupPlanResult & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
const Aws::String & GetBackupPlanId() const
void SetCreatorRequestId(const Aws::String &value)
const Aws::String & GetBackupPlanArn() const
void SetLastExecutionDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetDeletionDate() const
GetBackupPlanResult & WithCreatorRequestId(Aws::String &&value)
GetBackupPlanResult & WithRequestId(Aws::String &&value)
GetBackupPlanResult & WithBackupPlanArn(const Aws::String &value)
const Aws::String & GetCreatorRequestId() const
const Aws::Utils::DateTime & GetLastExecutionDate() const
GetBackupPlanResult & WithBackupPlanId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue