AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkflowRequest.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API CreateWorkflowRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateWorkflow"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline CreateWorkflowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateWorkflowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateWorkflowRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateWorkflowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateWorkflowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateWorkflowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultRunProperties() const{ return m_defaultRunProperties; }
73 inline bool DefaultRunPropertiesHasBeenSet() const { return m_defaultRunPropertiesHasBeenSet; }
74 inline void SetDefaultRunProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = value; }
75 inline void SetDefaultRunProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = std::move(value); }
78 inline CreateWorkflowRequest& AddDefaultRunProperties(const Aws::String& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
79 inline CreateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
80 inline CreateWorkflowRequest& AddDefaultRunProperties(const Aws::String& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
81 inline CreateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), std::move(value)); return *this; }
82 inline CreateWorkflowRequest& AddDefaultRunProperties(const char* key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
83 inline CreateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
84 inline CreateWorkflowRequest& AddDefaultRunProperties(const char* key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
94 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
95 inline CreateWorkflowRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
96 inline CreateWorkflowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 inline CreateWorkflowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 inline CreateWorkflowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateWorkflowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline CreateWorkflowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
101 inline CreateWorkflowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline CreateWorkflowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline CreateWorkflowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105
107
113 inline int GetMaxConcurrentRuns() const{ return m_maxConcurrentRuns; }
114 inline bool MaxConcurrentRunsHasBeenSet() const { return m_maxConcurrentRunsHasBeenSet; }
115 inline void SetMaxConcurrentRuns(int value) { m_maxConcurrentRunsHasBeenSet = true; m_maxConcurrentRuns = value; }
116 inline CreateWorkflowRequest& WithMaxConcurrentRuns(int value) { SetMaxConcurrentRuns(value); return *this;}
118 private:
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::Map<Aws::String, Aws::String> m_defaultRunProperties;
127 bool m_defaultRunPropertiesHasBeenSet = false;
128
130 bool m_tagsHasBeenSet = false;
131
132 int m_maxConcurrentRuns;
133 bool m_maxConcurrentRunsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
void SetDescription(const Aws::String &value)
CreateWorkflowRequest & WithDescription(const char *value)
CreateWorkflowRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateWorkflowRequest & AddDefaultRunProperties(const Aws::String &key, const Aws::String &value)
CreateWorkflowRequest & AddTags(Aws::String &&key, const char *value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateWorkflowRequest & AddDefaultRunProperties(const char *key, Aws::String &&value)
CreateWorkflowRequest & WithMaxConcurrentRuns(int value)
CreateWorkflowRequest & WithName(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateWorkflowRequest & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
CreateWorkflowRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkflowRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowRequest & WithDescription(Aws::String &&value)
void SetDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkflowRequest & AddDefaultRunProperties(const char *key, const char *value)
CreateWorkflowRequest & AddDefaultRunProperties(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkflowRequest & AddTags(const char *key, const char *value)
CreateWorkflowRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateWorkflowRequest & WithDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, const Aws::String &value)
CreateWorkflowRequest & WithDescription(const Aws::String &value)
CreateWorkflowRequest & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, const char *value)
CreateWorkflowRequest & AddTags(const char *key, Aws::String &&value)
CreateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, Aws::String &&value)
void SetDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkflowRequest & WithDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkflowRequest & AddTags(Aws::String &&key, const Aws::String &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