AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackupPlansListMember.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/backup/model/AdvancedBackupSetting.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BACKUP_API BackupPlansListMember();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
50 inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; }
51 inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = value; }
52 inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::move(value); }
53 inline void SetBackupPlanArn(const char* value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn.assign(value); }
54 inline BackupPlansListMember& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
55 inline BackupPlansListMember& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
56 inline BackupPlansListMember& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
58
60
63 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
64 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
65 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
66 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
67 inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
68 inline BackupPlansListMember& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
69 inline BackupPlansListMember& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
70 inline BackupPlansListMember& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
72
74
80 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
81 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
82 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
83 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
84 inline BackupPlansListMember& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
85 inline BackupPlansListMember& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
87
89
95 inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
96 inline bool DeletionDateHasBeenSet() const { return m_deletionDateHasBeenSet; }
97 inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDateHasBeenSet = true; m_deletionDate = value; }
98 inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDateHasBeenSet = true; m_deletionDate = std::move(value); }
99 inline BackupPlansListMember& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;}
100 inline BackupPlansListMember& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;}
102
104
108 inline const Aws::String& GetVersionId() const{ return m_versionId; }
109 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
110 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
111 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
112 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
113 inline BackupPlansListMember& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
114 inline BackupPlansListMember& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
115 inline BackupPlansListMember& WithVersionId(const char* value) { SetVersionId(value); return *this;}
117
119
122 inline const Aws::String& GetBackupPlanName() const{ return m_backupPlanName; }
123 inline bool BackupPlanNameHasBeenSet() const { return m_backupPlanNameHasBeenSet; }
124 inline void SetBackupPlanName(const Aws::String& value) { m_backupPlanNameHasBeenSet = true; m_backupPlanName = value; }
125 inline void SetBackupPlanName(Aws::String&& value) { m_backupPlanNameHasBeenSet = true; m_backupPlanName = std::move(value); }
126 inline void SetBackupPlanName(const char* value) { m_backupPlanNameHasBeenSet = true; m_backupPlanName.assign(value); }
127 inline BackupPlansListMember& WithBackupPlanName(const Aws::String& value) { SetBackupPlanName(value); return *this;}
128 inline BackupPlansListMember& WithBackupPlanName(Aws::String&& value) { SetBackupPlanName(std::move(value)); return *this;}
129 inline BackupPlansListMember& WithBackupPlanName(const char* value) { SetBackupPlanName(value); return *this;}
131
133
139 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
140 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
141 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
142 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
143 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
144 inline BackupPlansListMember& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
145 inline BackupPlansListMember& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
146 inline BackupPlansListMember& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
148
150
156 inline const Aws::Utils::DateTime& GetLastExecutionDate() const{ return m_lastExecutionDate; }
157 inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; }
158 inline void SetLastExecutionDate(const Aws::Utils::DateTime& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = value; }
159 inline void SetLastExecutionDate(Aws::Utils::DateTime&& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = std::move(value); }
163
165
168 inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
169 inline bool AdvancedBackupSettingsHasBeenSet() const { return m_advancedBackupSettingsHasBeenSet; }
170 inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings = value; }
171 inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings = std::move(value); }
174 inline BackupPlansListMember& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings.push_back(value); return *this; }
175 inline BackupPlansListMember& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings.push_back(std::move(value)); return *this; }
177 private:
178
179 Aws::String m_backupPlanArn;
180 bool m_backupPlanArnHasBeenSet = false;
181
182 Aws::String m_backupPlanId;
183 bool m_backupPlanIdHasBeenSet = false;
184
185 Aws::Utils::DateTime m_creationDate;
186 bool m_creationDateHasBeenSet = false;
187
188 Aws::Utils::DateTime m_deletionDate;
189 bool m_deletionDateHasBeenSet = false;
190
191 Aws::String m_versionId;
192 bool m_versionIdHasBeenSet = false;
193
194 Aws::String m_backupPlanName;
195 bool m_backupPlanNameHasBeenSet = false;
196
197 Aws::String m_creatorRequestId;
198 bool m_creatorRequestIdHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastExecutionDate;
201 bool m_lastExecutionDateHasBeenSet = false;
202
203 Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
204 bool m_advancedBackupSettingsHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace Backup
209} // namespace Aws
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeletionDate() const
BackupPlansListMember & WithVersionId(Aws::String &&value)
BackupPlansListMember & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
BackupPlansListMember & WithCreatorRequestId(const char *value)
void SetDeletionDate(Aws::Utils::DateTime &&value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
void SetBackupPlanArn(const Aws::String &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
BackupPlansListMember & WithVersionId(const char *value)
void SetBackupPlanName(const Aws::String &value)
BackupPlansListMember & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
BackupPlansListMember & WithBackupPlanArn(const Aws::String &value)
void SetCreatorRequestId(const Aws::String &value)
void SetBackupPlanId(const Aws::String &value)
BackupPlansListMember & WithBackupPlanId(const char *value)
BackupPlansListMember & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
BackupPlansListMember & WithBackupPlanName(Aws::String &&value)
BackupPlansListMember & WithBackupPlanArn(Aws::String &&value)
AWS_BACKUP_API BackupPlansListMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastExecutionDate(Aws::Utils::DateTime &&value)
BackupPlansListMember & WithCreatorRequestId(Aws::String &&value)
BackupPlansListMember & WithBackupPlanId(const Aws::String &value)
BackupPlansListMember & WithCreationDate(const Aws::Utils::DateTime &value)
BackupPlansListMember & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
BackupPlansListMember & WithDeletionDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API BackupPlansListMember(Aws::Utils::Json::JsonView jsonValue)
void SetDeletionDate(const Aws::Utils::DateTime &value)
BackupPlansListMember & WithBackupPlanName(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
BackupPlansListMember & WithBackupPlanArn(const char *value)
BackupPlansListMember & WithBackupPlanId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastExecutionDate() const
BackupPlansListMember & WithBackupPlanName(const Aws::String &value)
BackupPlansListMember & WithVersionId(const Aws::String &value)
BackupPlansListMember & WithCreationDate(Aws::Utils::DateTime &&value)
BackupPlansListMember & WithLastExecutionDate(Aws::Utils::DateTime &&value)
BackupPlansListMember & WithCreatorRequestId(const Aws::String &value)
BackupPlansListMember & WithDeletionDate(Aws::Utils::DateTime &&value)
BackupPlansListMember & WithLastExecutionDate(const Aws::Utils::DateTime &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