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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
45 template<
typename BackupPlanT = BackupPlan>
46 void SetBackupPlan(BackupPlanT&& value) { m_backupPlanHasBeenSet =
true; m_backupPlan = std::forward<BackupPlanT>(value); }
47 template<
typename BackupPlanT = BackupPlan>
56 template<
typename BackupPlanIdT = Aws::String>
57 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet =
true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
58 template<
typename BackupPlanIdT = Aws::String>
69 template<
typename BackupPlanArnT = Aws::String>
70 void SetBackupPlanArn(BackupPlanArnT&& value) { m_backupPlanArnHasBeenSet =
true; m_backupPlanArn = std::forward<BackupPlanArnT>(value); }
71 template<
typename BackupPlanArnT = Aws::String>
81 template<
typename VersionIdT = Aws::String>
82 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
83 template<
typename VersionIdT = Aws::String>
93 template<
typename CreatorRequestIdT = Aws::String>
94 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
95 template<
typename CreatorRequestIdT = Aws::String>
107 template<
typename CreationDateT = Aws::Utils::DateTime>
108 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
109 template<
typename CreationDateT = Aws::Utils::DateTime>
121 template<
typename DeletionDateT = Aws::Utils::DateTime>
122 void SetDeletionDate(DeletionDateT&& value) { m_deletionDateHasBeenSet =
true; m_deletionDate = std::forward<DeletionDateT>(value); }
123 template<
typename DeletionDateT = Aws::Utils::DateTime>
135 template<
typename LastExecutionDateT = Aws::Utils::DateTime>
136 void SetLastExecutionDate(LastExecutionDateT&& value) { m_lastExecutionDateHasBeenSet =
true; m_lastExecutionDate = std::forward<LastExecutionDateT>(value); }
137 template<
typename LastExecutionDateT = Aws::Utils::DateTime>
147 template<
typename AdvancedBackupSettingsT = Aws::Vector<AdvancedBackupSetting>>
148 void SetAdvancedBackupSettings(AdvancedBackupSettingsT&& value) { m_advancedBackupSettingsHasBeenSet =
true; m_advancedBackupSettings = std::forward<AdvancedBackupSettingsT>(value); }
149 template<
typename AdvancedBackupSettingsT = Aws::Vector<AdvancedBackupSetting>>
151 template<
typename AdvancedBackupSettingsT = AdvancedBackupSetting>
158 template<
typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
160 template<
typename RequestIdT = Aws::String>
166 bool m_backupPlanHasBeenSet =
false;
169 bool m_backupPlanIdHasBeenSet =
false;
172 bool m_backupPlanArnHasBeenSet =
false;
175 bool m_versionIdHasBeenSet =
false;
178 bool m_creatorRequestIdHasBeenSet =
false;
181 bool m_creationDateHasBeenSet =
false;
184 bool m_deletionDateHasBeenSet =
false;
187 bool m_lastExecutionDateHasBeenSet =
false;
190 bool m_advancedBackupSettingsHasBeenSet =
false;
193 bool m_requestIdHasBeenSet =
false;
GetBackupPlanResult & WithDeletionDate(DeletionDateT &&value)
GetBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
GetBackupPlanResult & WithBackupPlan(BackupPlanT &&value)
void SetDeletionDate(DeletionDateT &&value)
GetBackupPlanResult & WithCreatorRequestId(CreatorRequestIdT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
GetBackupPlanResult & WithAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
AWS_BACKUP_API GetBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupPlanResult & WithVersionId(VersionIdT &&value)
const Aws::String & GetVersionId() const
AWS_BACKUP_API GetBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const BackupPlan & GetBackupPlan() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
void SetLastExecutionDate(LastExecutionDateT &&value)
void SetVersionId(VersionIdT &&value)
GetBackupPlanResult & WithCreationDate(CreationDateT &&value)
GetBackupPlanResult & WithLastExecutionDate(LastExecutionDateT &&value)
GetBackupPlanResult & WithBackupPlanId(BackupPlanIdT &&value)
AWS_BACKUP_API GetBackupPlanResult()=default
const Aws::String & GetRequestId() const
void SetBackupPlanId(BackupPlanIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetBackupPlanArn(BackupPlanArnT &&value)
GetBackupPlanResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetBackupPlanId() const
const Aws::String & GetBackupPlanArn() const
const Aws::Utils::DateTime & GetCreationDate() const
GetBackupPlanResult & WithBackupPlanArn(BackupPlanArnT &&value)
const Aws::Utils::DateTime & GetDeletionDate() const
void SetAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
const Aws::String & GetCreatorRequestId() const
void SetBackupPlan(BackupPlanT &&value)
const Aws::Utils::DateTime & GetLastExecutionDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue