7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/VolumeLifecycle.h>
11#include <aws/fsx/model/OntapVolumeConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/fsx/model/VolumeType.h>
14#include <aws/fsx/model/LifecycleTransitionReason.h>
15#include <aws/fsx/model/AdministrativeAction.h>
16#include <aws/fsx/model/OpenZFSVolumeConfiguration.h>
17#include <aws/fsx/model/Tag.h>
34 class AdministrativeAction;
66 inline void SetFileSystemId(
const char* value) { m_fileSystemIdHasBeenSet =
true; m_fileSystemId.assign(value); }
100 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
122 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
136 inline Volume&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
137 inline Volume&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
148 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
208 bool m_creationTimeHasBeenSet =
false;
211 bool m_fileSystemIdHasBeenSet =
false;
214 bool m_lifecycleHasBeenSet =
false;
217 bool m_nameHasBeenSet =
false;
220 bool m_ontapConfigurationHasBeenSet =
false;
223 bool m_resourceARNHasBeenSet =
false;
226 bool m_tagsHasBeenSet =
false;
229 bool m_volumeIdHasBeenSet =
false;
232 bool m_volumeTypeHasBeenSet =
false;
235 bool m_lifecycleTransitionReasonHasBeenSet =
false;
238 bool m_administrativeActionsHasBeenSet =
false;
241 bool m_openZFSConfigurationHasBeenSet =
false;
void SetFileSystemId(Aws::String &&value)
Volume & WithResourceARN(const char *value)
const Aws::String & GetVolumeId() const
Volume & WithCreationTime(const Aws::Utils::DateTime &value)
Volume & WithVolumeId(const char *value)
void SetVolumeId(const Aws::String &value)
Volume & WithTags(Aws::Vector< Tag > &&value)
void SetFileSystemId(const Aws::String &value)
void SetOntapConfiguration(const OntapVolumeConfiguration &value)
void SetVolumeId(const char *value)
Volume & WithAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
const OpenZFSVolumeConfiguration & GetOpenZFSConfiguration() const
Volume & WithOpenZFSConfiguration(const OpenZFSVolumeConfiguration &value)
Volume & WithResourceARN(Aws::String &&value)
Volume & WithVolumeType(const VolumeType &value)
bool AdministrativeActionsHasBeenSet() const
AWS_FSX_API Volume & operator=(Aws::Utils::Json::JsonView jsonValue)
Volume & AddAdministrativeActions(const AdministrativeAction &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTags(const Aws::Vector< Tag > &value)
Volume & WithTags(const Aws::Vector< Tag > &value)
void SetName(Aws::String &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOpenZFSConfiguration(OpenZFSVolumeConfiguration &&value)
const VolumeLifecycle & GetLifecycle() const
Volume & WithAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
bool LifecycleHasBeenSet() const
void SetVolumeType(const VolumeType &value)
void SetLifecycle(const VolumeLifecycle &value)
const OntapVolumeConfiguration & GetOntapConfiguration() const
Volume & WithFileSystemId(const Aws::String &value)
Volume & WithFileSystemId(Aws::String &&value)
Volume & AddAdministrativeActions(AdministrativeAction &&value)
bool CreationTimeHasBeenSet() const
Volume & WithOntapConfiguration(OntapVolumeConfiguration &&value)
Volume & AddTags(const Tag &value)
Volume & WithVolumeType(VolumeType &&value)
bool FileSystemIdHasBeenSet() const
void SetVolumeType(VolumeType &&value)
Volume & WithLifecycleTransitionReason(const LifecycleTransitionReason &value)
bool VolumeIdHasBeenSet() const
void SetLifecycleTransitionReason(LifecycleTransitionReason &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
bool LifecycleTransitionReasonHasBeenSet() const
Volume & WithOntapConfiguration(const OntapVolumeConfiguration &value)
bool NameHasBeenSet() const
bool OpenZFSConfigurationHasBeenSet() const
Volume & AddTags(Tag &&value)
void SetAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
void SetFileSystemId(const char *value)
void SetVolumeId(Aws::String &&value)
void SetLifecycleTransitionReason(const LifecycleTransitionReason &value)
Volume & WithOpenZFSConfiguration(OpenZFSVolumeConfiguration &&value)
Volume & WithLifecycle(const VolumeLifecycle &value)
Volume & WithName(const Aws::String &value)
void SetResourceARN(const char *value)
Volume & WithName(const char *value)
const Aws::String & GetResourceARN() const
void SetName(const Aws::String &value)
bool VolumeTypeHasBeenSet() const
Volume & WithResourceARN(const Aws::String &value)
const LifecycleTransitionReason & GetLifecycleTransitionReason() const
const Aws::String & GetFileSystemId() const
void SetTags(Aws::Vector< Tag > &&value)
Volume & WithLifecycleTransitionReason(LifecycleTransitionReason &&value)
void SetResourceARN(Aws::String &&value)
void SetOpenZFSConfiguration(const OpenZFSVolumeConfiguration &value)
bool OntapConfigurationHasBeenSet() const
const Aws::String & GetName() const
Volume & WithName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
Volume & WithVolumeId(Aws::String &&value)
Volume & WithFileSystemId(const char *value)
void SetAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
bool TagsHasBeenSet() const
void SetOntapConfiguration(OntapVolumeConfiguration &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
bool ResourceARNHasBeenSet() const
AWS_FSX_API Volume(Aws::Utils::Json::JsonView jsonValue)
void SetResourceARN(const Aws::String &value)
const Aws::Vector< AdministrativeAction > & GetAdministrativeActions() const
void SetLifecycle(VolumeLifecycle &&value)
Volume & WithVolumeId(const Aws::String &value)
Volume & WithLifecycle(VolumeLifecycle &&value)
const VolumeType & GetVolumeType() const
Volume & WithCreationTime(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