7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = Aws::String>
73 template<
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
74 void SetDefaultRunProperties(DefaultRunPropertiesT&& value) { m_defaultRunPropertiesHasBeenSet =
true; m_defaultRunProperties = std::forward<DefaultRunPropertiesT>(value); }
75 template<
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename DefaultRunPropertiesKeyT = Aws::String,
typename DefaultRunPropertiesValueT = Aws::String>
79 m_defaultRunPropertiesHasBeenSet =
true; m_defaultRunProperties.emplace(std::forward<DefaultRunPropertiesKeyT>(key), std::forward<DefaultRunPropertiesValueT>(value));
return *
this;
89 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
91 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
95 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
108 inline void SetMaxConcurrentRuns(
int value) { m_maxConcurrentRunsHasBeenSet =
true; m_maxConcurrentRuns = value; }
114 bool m_nameHasBeenSet =
false;
117 bool m_descriptionHasBeenSet =
false;
120 bool m_defaultRunPropertiesHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
125 int m_maxConcurrentRuns{0};
126 bool m_maxConcurrentRunsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateWorkflowRequest & WithTags(TagsT &&value)
CreateWorkflowRequest & WithDescription(DescriptionT &&value)
bool MaxConcurrentRunsHasBeenSet() const
AWS_GLUE_API CreateWorkflowRequest()=default
const Aws::String & GetDescription() const
const Aws::String & GetName() const
CreateWorkflowRequest & AddDefaultRunProperties(DefaultRunPropertiesKeyT &&key, DefaultRunPropertiesValueT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
bool DefaultRunPropertiesHasBeenSet() const
CreateWorkflowRequest & WithMaxConcurrentRuns(int value)
void SetName(NameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
bool TagsHasBeenSet() const
int GetMaxConcurrentRuns() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateWorkflowRequest & WithName(NameT &&value)
void SetMaxConcurrentRuns(int value)
CreateWorkflowRequest & WithDefaultRunProperties(DefaultRunPropertiesT &&value)
void SetDefaultRunProperties(DefaultRunPropertiesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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