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/core/utils/memory/stl/AWSVector.h>
11#include <aws/fsx/model/RestoreOpenZFSVolumeOption.h>
13#include <aws/core/utils/UUID.h>
46 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
60 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
75 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
104 bool m_clientRequestTokenHasBeenSet =
false;
107 bool m_volumeIdHasBeenSet =
false;
110 bool m_snapshotIdHasBeenSet =
false;
113 bool m_optionsHasBeenSet =
false;
const Aws::Vector< RestoreOpenZFSVolumeOption > & GetOptions() const
AWS_FSX_API RestoreVolumeFromSnapshotRequest()
RestoreVolumeFromSnapshotRequest & AddOptions(const RestoreOpenZFSVolumeOption &value)
RestoreVolumeFromSnapshotRequest & WithVolumeId(const char *value)
const Aws::String & GetSnapshotId() const
RestoreVolumeFromSnapshotRequest & WithOptions(const Aws::Vector< RestoreOpenZFSVolumeOption > &value)
void SetOptions(Aws::Vector< RestoreOpenZFSVolumeOption > &&value)
RestoreVolumeFromSnapshotRequest & WithSnapshotId(const char *value)
void SetSnapshotId(const Aws::String &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RestoreVolumeFromSnapshotRequest & WithClientRequestToken(Aws::String &&value)
void SetVolumeId(const Aws::String &value)
void SetClientRequestToken(Aws::String &&value)
void SetVolumeId(const char *value)
AWS_FSX_API Aws::String SerializePayload() const override
bool SnapshotIdHasBeenSet() const
RestoreVolumeFromSnapshotRequest & AddOptions(RestoreOpenZFSVolumeOption &&value)
void SetSnapshotId(Aws::String &&value)
void SetSnapshotId(const char *value)
RestoreVolumeFromSnapshotRequest & WithSnapshotId(const Aws::String &value)
void SetVolumeId(Aws::String &&value)
bool ClientRequestTokenHasBeenSet() const
RestoreVolumeFromSnapshotRequest & WithClientRequestToken(const Aws::String &value)
void SetOptions(const Aws::Vector< RestoreOpenZFSVolumeOption > &value)
const Aws::String & GetClientRequestToken() const
void SetClientRequestToken(const Aws::String &value)
RestoreVolumeFromSnapshotRequest & WithClientRequestToken(const char *value)
const Aws::String & GetVolumeId() const
bool OptionsHasBeenSet() const
bool VolumeIdHasBeenSet() const
RestoreVolumeFromSnapshotRequest & WithVolumeId(const Aws::String &value)
RestoreVolumeFromSnapshotRequest & WithOptions(Aws::Vector< RestoreOpenZFSVolumeOption > &&value)
virtual const char * GetServiceRequestName() const override
RestoreVolumeFromSnapshotRequest & WithVolumeId(Aws::String &&value)
RestoreVolumeFromSnapshotRequest & WithSnapshotId(Aws::String &&value)
void SetClientRequestToken(const char *value)
RestoreOpenZFSVolumeOption
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector