AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateWorkflowRequest.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 UpdateWorkflowRequest();
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 "UpdateWorkflow"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline UpdateWorkflowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline UpdateWorkflowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline UpdateWorkflowRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateWorkflowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateWorkflowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateWorkflowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
71 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultRunProperties() const{ return m_defaultRunProperties; }
72 inline bool DefaultRunPropertiesHasBeenSet() const { return m_defaultRunPropertiesHasBeenSet; }
73 inline void SetDefaultRunProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = value; }
74 inline void SetDefaultRunProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = std::move(value); }
77 inline UpdateWorkflowRequest& AddDefaultRunProperties(const Aws::String& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
78 inline UpdateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
79 inline UpdateWorkflowRequest& AddDefaultRunProperties(const Aws::String& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
80 inline UpdateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), std::move(value)); return *this; }
81 inline UpdateWorkflowRequest& AddDefaultRunProperties(const char* key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
82 inline UpdateWorkflowRequest& AddDefaultRunProperties(Aws::String&& key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
83 inline UpdateWorkflowRequest& AddDefaultRunProperties(const char* key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
85
87
93 inline int GetMaxConcurrentRuns() const{ return m_maxConcurrentRuns; }
94 inline bool MaxConcurrentRunsHasBeenSet() const { return m_maxConcurrentRunsHasBeenSet; }
95 inline void SetMaxConcurrentRuns(int value) { m_maxConcurrentRunsHasBeenSet = true; m_maxConcurrentRuns = value; }
96 inline UpdateWorkflowRequest& WithMaxConcurrentRuns(int value) { SetMaxConcurrentRuns(value); return *this;}
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Aws::Map<Aws::String, Aws::String> m_defaultRunProperties;
107 bool m_defaultRunPropertiesHasBeenSet = false;
108
109 int m_maxConcurrentRuns;
110 bool m_maxConcurrentRunsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
UpdateWorkflowRequest & AddDefaultRunProperties(const char *key, Aws::String &&value)
UpdateWorkflowRequest & WithDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
UpdateWorkflowRequest & WithDescription(const Aws::String &value)
UpdateWorkflowRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateWorkflowRequest & AddDefaultRunProperties(const Aws::String &key, const Aws::String &value)
UpdateWorkflowRequest & AddDefaultRunProperties(const Aws::String &key, Aws::String &&value)
UpdateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, const char *value)
UpdateWorkflowRequest & WithName(const Aws::String &value)
UpdateWorkflowRequest & WithName(Aws::String &&value)
UpdateWorkflowRequest & AddDefaultRunProperties(Aws::String &&key, Aws::String &&value)
UpdateWorkflowRequest & WithDescription(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateWorkflowRequest & WithDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateWorkflowRequest & WithName(const char *value)
UpdateWorkflowRequest & AddDefaultRunProperties(const char *key, const char *value)
void SetDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateWorkflowRequest & WithMaxConcurrentRuns(int 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