7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/UpdateOntapVolumeConfiguration.h>
11#include <aws/fsx/model/UpdateOpenZFSVolumeConfiguration.h>
13#include <aws/core/utils/UUID.h>
44 template<
typename ClientRequestTokenT = Aws::String>
45 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
46 template<
typename ClientRequestTokenT = Aws::String>
57 template<
typename VolumeIdT = Aws::String>
58 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
59 template<
typename VolumeIdT = Aws::String>
69 template<
typename OntapConfigurationT = UpdateOntapVolumeConfiguration>
70 void SetOntapConfiguration(OntapConfigurationT&& value) { m_ontapConfigurationHasBeenSet =
true; m_ontapConfiguration = std::forward<OntapConfigurationT>(value); }
71 template<
typename OntapConfigurationT = UpdateOntapVolumeConfiguration>
84 template<
typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
86 template<
typename NameT = Aws::String>
96 template<
typename OpenZFSConfigurationT = UpdateOpenZFSVolumeConfiguration>
97 void SetOpenZFSConfiguration(OpenZFSConfigurationT&& value) { m_openZFSConfigurationHasBeenSet =
true; m_openZFSConfiguration = std::forward<OpenZFSConfigurationT>(value); }
98 template<
typename OpenZFSConfigurationT = UpdateOpenZFSVolumeConfiguration>
104 bool m_clientRequestTokenHasBeenSet =
true;
107 bool m_volumeIdHasBeenSet =
false;
109 UpdateOntapVolumeConfiguration m_ontapConfiguration;
110 bool m_ontapConfigurationHasBeenSet =
false;
113 bool m_nameHasBeenSet =
false;
115 UpdateOpenZFSVolumeConfiguration m_openZFSConfiguration;
116 bool m_openZFSConfigurationHasBeenSet =
false;
bool VolumeIdHasBeenSet() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetVolumeId() const
UpdateVolumeRequest & WithClientRequestToken(ClientRequestTokenT &&value)
UpdateVolumeRequest & WithName(NameT &&value)
void SetVolumeId(VolumeIdT &&value)
UpdateVolumeRequest & WithOpenZFSConfiguration(OpenZFSConfigurationT &&value)
bool NameHasBeenSet() const
bool OntapConfigurationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ClientRequestTokenHasBeenSet() const
AWS_FSX_API UpdateVolumeRequest()=default
void SetOpenZFSConfiguration(OpenZFSConfigurationT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
const UpdateOntapVolumeConfiguration & GetOntapConfiguration() const
void SetName(NameT &&value)
const UpdateOpenZFSVolumeConfiguration & GetOpenZFSConfiguration() const
bool OpenZFSConfigurationHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetName() const
void SetOntapConfiguration(OntapConfigurationT &&value)
UpdateVolumeRequest & WithOntapConfiguration(OntapConfigurationT &&value)
const Aws::String & GetClientRequestToken() const
UpdateVolumeRequest & WithVolumeId(VolumeIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String