7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/BackupLifecycle.h>
10#include <aws/fsx/model/BackupFailureDetails.h>
11#include <aws/fsx/model/BackupType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/fsx/model/FileSystem.h>
15#include <aws/fsx/model/ActiveDirectoryBackupAttributes.h>
16#include <aws/fsx/model/ResourceType.h>
17#include <aws/fsx/model/Volume.h>
18#include <aws/fsx/model/Tag.h>
60 inline void SetBackupId(
const char* value) { m_backupIdHasBeenSet =
true; m_backupId.assign(value); }
115 inline void SetProgressPercent(
int value) { m_progressPercentHasBeenSet =
true; m_progressPercent = value; }
140 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
154 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
170 inline Backup&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
171 inline Backup&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
206 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
218 inline void SetSourceBackupId(
const char* value) { m_sourceBackupIdHasBeenSet =
true; m_sourceBackupId.assign(value); }
233 inline void SetSourceBackupRegion(
const char* value) { m_sourceBackupRegionHasBeenSet =
true; m_sourceBackupRegion.assign(value); }
255 inline void SetVolume(
const Volume& value) { m_volumeHasBeenSet =
true; m_volume = value; }
256 inline void SetVolume(
Volume&& value) { m_volumeHasBeenSet =
true; m_volume = std::move(value); }
263 bool m_backupIdHasBeenSet =
false;
266 bool m_lifecycleHasBeenSet =
false;
269 bool m_failureDetailsHasBeenSet =
false;
272 bool m_typeHasBeenSet =
false;
274 int m_progressPercent;
275 bool m_progressPercentHasBeenSet =
false;
278 bool m_creationTimeHasBeenSet =
false;
281 bool m_kmsKeyIdHasBeenSet =
false;
284 bool m_resourceARNHasBeenSet =
false;
287 bool m_tagsHasBeenSet =
false;
290 bool m_fileSystemHasBeenSet =
false;
293 bool m_directoryInformationHasBeenSet =
false;
296 bool m_ownerIdHasBeenSet =
false;
299 bool m_sourceBackupIdHasBeenSet =
false;
302 bool m_sourceBackupRegionHasBeenSet =
false;
305 bool m_resourceTypeHasBeenSet =
false;
308 bool m_volumeHasBeenSet =
false;
void SetBackupId(Aws::String &&value)
void SetFileSystem(const FileSystem &value)
const Aws::String & GetOwnerId() const
Backup & WithCreationTime(const Aws::Utils::DateTime &value)
void SetResourceType(ResourceType &&value)
bool BackupIdHasBeenSet() const
Backup & WithFileSystem(FileSystem &&value)
void SetLifecycle(const BackupLifecycle &value)
void SetType(BackupType &&value)
void SetFailureDetails(const BackupFailureDetails &value)
Backup & WithOwnerId(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
bool FileSystemHasBeenSet() const
Backup & WithSourceBackupRegion(const char *value)
Backup & WithKmsKeyId(const char *value)
Backup & WithSourceBackupRegion(const Aws::String &value)
void SetDirectoryInformation(ActiveDirectoryBackupAttributes &&value)
void SetOwnerId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetBackupId() const
const Volume & GetVolume() const
bool ResourceARNHasBeenSet() const
const Aws::String & GetResourceARN() const
Backup & WithBackupId(const Aws::String &value)
void SetResourceType(const ResourceType &value)
const BackupFailureDetails & GetFailureDetails() const
AWS_FSX_API Backup(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< Tag > &value)
Backup & WithVolume(Volume &&value)
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetSourceBackupId() const
bool FailureDetailsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool LifecycleHasBeenSet() const
void SetSourceBackupRegion(const char *value)
bool OwnerIdHasBeenSet() const
Backup & WithType(const BackupType &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
Backup & WithResourceARN(const char *value)
const BackupLifecycle & GetLifecycle() const
Backup & WithResourceARN(const Aws::String &value)
Backup & WithBackupId(Aws::String &&value)
bool VolumeHasBeenSet() const
Backup & AddTags(const Tag &value)
void SetResourceARN(const char *value)
Backup & WithBackupId(const char *value)
Backup & WithCreationTime(Aws::Utils::DateTime &&value)
void SetVolume(Volume &&value)
Backup & WithTags(const Aws::Vector< Tag > &value)
bool ProgressPercentHasBeenSet() const
void SetType(const BackupType &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetSourceBackupRegion(const Aws::String &value)
Backup & WithLifecycle(const BackupLifecycle &value)
void SetSourceBackupRegion(Aws::String &&value)
Backup & WithResourceType(const ResourceType &value)
void SetTags(Aws::Vector< Tag > &&value)
Backup & WithOwnerId(const char *value)
void SetOwnerId(const Aws::String &value)
Backup & WithKmsKeyId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
Backup & WithFailureDetails(BackupFailureDetails &&value)
bool SourceBackupRegionHasBeenSet() const
void SetDirectoryInformation(const ActiveDirectoryBackupAttributes &value)
void SetResourceARN(Aws::String &&value)
const FileSystem & GetFileSystem() const
void SetCreationTime(Aws::Utils::DateTime &&value)
Backup & WithType(BackupType &&value)
const Aws::String & GetSourceBackupRegion() const
bool DirectoryInformationHasBeenSet() const
Backup & WithSourceBackupId(Aws::String &&value)
Backup & WithKmsKeyId(const Aws::String &value)
void SetSourceBackupId(Aws::String &&value)
Backup & AddTags(Tag &&value)
Backup & WithFailureDetails(const BackupFailureDetails &value)
void SetKmsKeyId(const char *value)
Backup & WithLifecycle(BackupLifecycle &&value)
Backup & WithDirectoryInformation(const ActiveDirectoryBackupAttributes &value)
void SetFileSystem(FileSystem &&value)
Backup & WithTags(Aws::Vector< Tag > &&value)
bool CreationTimeHasBeenSet() const
int GetProgressPercent() const
void SetResourceARN(const Aws::String &value)
Backup & WithResourceType(ResourceType &&value)
const ActiveDirectoryBackupAttributes & GetDirectoryInformation() const
Backup & WithOwnerId(const Aws::String &value)
void SetSourceBackupId(const Aws::String &value)
bool TagsHasBeenSet() const
void SetVolume(const Volume &value)
void SetBackupId(const char *value)
Backup & WithFileSystem(const FileSystem &value)
void SetLifecycle(BackupLifecycle &&value)
Backup & WithDirectoryInformation(ActiveDirectoryBackupAttributes &&value)
Backup & WithSourceBackupId(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
void SetOwnerId(Aws::String &&value)
bool SourceBackupIdHasBeenSet() const
const ResourceType & GetResourceType() const
Backup & WithSourceBackupRegion(Aws::String &&value)
Backup & WithSourceBackupId(const char *value)
void SetFailureDetails(BackupFailureDetails &&value)
const BackupType & GetType() const
bool KmsKeyIdHasBeenSet() const
void SetProgressPercent(int value)
Backup & WithProgressPercent(int value)
void SetBackupId(const Aws::String &value)
void SetSourceBackupId(const char *value)
Backup & WithResourceARN(Aws::String &&value)
AWS_FSX_API Backup & operator=(Aws::Utils::Json::JsonView jsonValue)
Backup & WithVolume(const Volume &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