7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/FSxRequest.h>
11#include <aws/fsx/FSx_EXPORTS.h>
12#include <aws/fsx/model/CreateOntapVolumeConfiguration.h>
13#include <aws/fsx/model/Tag.h>
41 template <
typename BackupIdT = Aws::String>
43 m_backupIdHasBeenSet =
true;
44 m_backupId = std::forward<BackupIdT>(value);
46 template <
typename BackupIdT = Aws::String>
57 template <
typename ClientRequestTokenT = Aws::String>
59 m_clientRequestTokenHasBeenSet =
true;
60 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
62 template <
typename ClientRequestTokenT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
93 template <
typename OntapConfigurationT = CreateOntapVolumeConfiguration>
95 m_ontapConfigurationHasBeenSet =
true;
96 m_ontapConfiguration = std::forward<OntapConfigurationT>(value);
98 template <
typename OntapConfigurationT = CreateOntapVolumeConfiguration>
109 template <
typename TagsT = Aws::Vector<Tag>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Vector<Tag>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsT = Tag>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace_back(std::forward<TagsT>(value));
133 CreateOntapVolumeConfiguration m_ontapConfiguration;
136 bool m_backupIdHasBeenSet =
false;
137 bool m_clientRequestTokenHasBeenSet =
true;
138 bool m_nameHasBeenSet =
false;
139 bool m_ontapConfigurationHasBeenSet =
false;
140 bool m_tagsHasBeenSet =
false;
CreateVolumeFromBackupRequest & WithTags(TagsT &&value)
const Aws::String & GetClientRequestToken() const
CreateVolumeFromBackupRequest & WithOntapConfiguration(OntapConfigurationT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
bool BackupIdHasBeenSet() const
const Aws::String & GetBackupId() const
CreateVolumeFromBackupRequest & AddTags(TagsT &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetOntapConfiguration(OntapConfigurationT &&value)
AWS_FSX_API CreateVolumeFromBackupRequest()=default
void SetName(NameT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
CreateVolumeFromBackupRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetBackupId(BackupIdT &&value)
const Aws::String & GetName() const
bool ClientRequestTokenHasBeenSet() const
CreateVolumeFromBackupRequest & WithBackupId(BackupIdT &&value)
const CreateOntapVolumeConfiguration & GetOntapConfiguration() const
CreateVolumeFromBackupRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
bool OntapConfigurationHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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