7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/WorkflowEngine.h>
11#include <aws/core/utils/Array.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/omics/model/Accelerators.h>
14#include <aws/omics/model/StorageType.h>
15#include <aws/omics/model/WorkflowParameter.h>
17#include <aws/core/utils/UUID.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
82 template<
typename DefinitionZipT = Aws::Utils::ByteBuffer>
83 void SetDefinitionZip(DefinitionZipT&& value) { m_definitionZipHasBeenSet =
true; m_definitionZip = std::forward<DefinitionZipT>(value); }
84 template<
typename DefinitionZipT = Aws::Utils::ByteBuffer>
94 template<
typename DefinitionUriT = Aws::String>
95 void SetDefinitionUri(DefinitionUriT&& value) { m_definitionUriHasBeenSet =
true; m_definitionUri = std::forward<DefinitionUriT>(value); }
96 template<
typename DefinitionUriT = Aws::String>
106 template<
typename MainT = Aws::String>
107 void SetMain(MainT&& value) { m_mainHasBeenSet =
true; m_main = std::forward<MainT>(value); }
108 template<
typename MainT = Aws::String>
118 template<
typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
119 void SetParameterTemplate(ParameterTemplateT&& value) { m_parameterTemplateHasBeenSet =
true; m_parameterTemplate = std::forward<ParameterTemplateT>(value); }
120 template<
typename ParameterTemplateT = Aws::Map<Aws::String, WorkflowParameter>>
122 template<
typename ParameterTemplateKeyT = Aws::String,
typename ParameterTemplateValueT = WorkflowParameter>
124 m_parameterTemplateHasBeenSet =
true; m_parameterTemplate.emplace(std::forward<ParameterTemplateKeyT>(key), std::forward<ParameterTemplateValueT>(value));
return *
this;
135 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
162 template<
typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
164 template<
typename RequestIdT = Aws::String>
195 bool m_nameHasBeenSet =
false;
198 bool m_descriptionHasBeenSet =
false;
201 bool m_engineHasBeenSet =
false;
204 bool m_definitionZipHasBeenSet =
false;
207 bool m_definitionUriHasBeenSet =
false;
210 bool m_mainHasBeenSet =
false;
213 bool m_parameterTemplateHasBeenSet =
false;
215 int m_storageCapacity{0};
216 bool m_storageCapacityHasBeenSet =
false;
219 bool m_tagsHasBeenSet =
false;
222 bool m_requestIdHasBeenSet =
true;
225 bool m_acceleratorsHasBeenSet =
false;
228 bool m_storageTypeHasBeenSet =
false;
bool DefinitionZipHasBeenSet() const
const Aws::String & GetRequestId() const
CreateWorkflowRequest & WithRequestId(RequestIdT &&value)
const Aws::String & GetDefinitionUri() const
CreateWorkflowRequest & WithDefinitionUri(DefinitionUriT &&value)
AWS_OMICS_API CreateWorkflowRequest()=default
CreateWorkflowRequest & WithDefinitionZip(DefinitionZipT &&value)
const Aws::Utils::ByteBuffer & GetDefinitionZip() const
CreateWorkflowRequest & WithParameterTemplate(ParameterTemplateT &&value)
void SetAccelerators(Accelerators value)
void SetDescription(DescriptionT &&value)
bool EngineHasBeenSet() const
const Aws::Map< Aws::String, WorkflowParameter > & GetParameterTemplate() const
void SetMain(MainT &&value)
void SetName(NameT &&value)
void SetStorageType(StorageType value)
bool MainHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateWorkflowRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
bool StorageTypeHasBeenSet() const
Accelerators GetAccelerators() const
AWS_OMICS_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetDefinitionZip(DefinitionZipT &&value)
CreateWorkflowRequest & WithMain(MainT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
bool RequestIdHasBeenSet() const
CreateWorkflowRequest & WithEngine(WorkflowEngine value)
CreateWorkflowRequest & WithStorageCapacity(int value)
WorkflowEngine GetEngine() const
CreateWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateWorkflowRequest & WithName(NameT &&value)
void SetEngine(WorkflowEngine value)
bool AcceleratorsHasBeenSet() const
bool StorageCapacityHasBeenSet() const
const Aws::String & GetDescription() const
void SetParameterTemplate(ParameterTemplateT &&value)
CreateWorkflowRequest & WithDescription(DescriptionT &&value)
CreateWorkflowRequest & AddParameterTemplate(ParameterTemplateKeyT &&key, ParameterTemplateValueT &&value)
void SetStorageCapacity(int value)
void SetRequestId(RequestIdT &&value)
void SetDefinitionUri(DefinitionUriT &&value)
bool DefinitionUriHasBeenSet() const
bool ParameterTemplateHasBeenSet() const
bool TagsHasBeenSet() const
StorageType GetStorageType() const
CreateWorkflowRequest & WithAccelerators(Accelerators value)
const Aws::String & GetMain() const
CreateWorkflowRequest & WithStorageType(StorageType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
int GetStorageCapacity() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String