AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutWorkflowRunPropertiesRequest.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:
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 "PutWorkflowRunProperties"; }
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 PutWorkflowRunPropertiesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline PutWorkflowRunPropertiesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline PutWorkflowRunPropertiesRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
57 inline const Aws::String& GetRunId() const{ return m_runId; }
58 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
59 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
60 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
61 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
62 inline PutWorkflowRunPropertiesRequest& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
63 inline PutWorkflowRunPropertiesRequest& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
64 inline PutWorkflowRunPropertiesRequest& WithRunId(const char* value) { SetRunId(value); return *this;}
66
68
71 inline const Aws::Map<Aws::String, Aws::String>& GetRunProperties() const{ return m_runProperties; }
72 inline bool RunPropertiesHasBeenSet() const { return m_runPropertiesHasBeenSet; }
73 inline void SetRunProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_runPropertiesHasBeenSet = true; m_runProperties = value; }
74 inline void SetRunProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_runPropertiesHasBeenSet = true; m_runProperties = std::move(value); }
77 inline PutWorkflowRunPropertiesRequest& AddRunProperties(const Aws::String& key, const Aws::String& value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(key, value); return *this; }
78 inline PutWorkflowRunPropertiesRequest& AddRunProperties(Aws::String&& key, const Aws::String& value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(std::move(key), value); return *this; }
79 inline PutWorkflowRunPropertiesRequest& AddRunProperties(const Aws::String& key, Aws::String&& value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(key, std::move(value)); return *this; }
80 inline PutWorkflowRunPropertiesRequest& AddRunProperties(Aws::String&& key, Aws::String&& value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(std::move(key), std::move(value)); return *this; }
81 inline PutWorkflowRunPropertiesRequest& AddRunProperties(const char* key, Aws::String&& value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(key, std::move(value)); return *this; }
82 inline PutWorkflowRunPropertiesRequest& AddRunProperties(Aws::String&& key, const char* value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(std::move(key), value); return *this; }
83 inline PutWorkflowRunPropertiesRequest& AddRunProperties(const char* key, const char* value) { m_runPropertiesHasBeenSet = true; m_runProperties.emplace(key, value); return *this; }
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 Aws::String m_runId;
91 bool m_runIdHasBeenSet = false;
92
94 bool m_runPropertiesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Glue
99} // namespace Aws
PutWorkflowRunPropertiesRequest & AddRunProperties(const Aws::String &key, Aws::String &&value)
PutWorkflowRunPropertiesRequest & WithRunId(const char *value)
PutWorkflowRunPropertiesRequest & AddRunProperties(const Aws::String &key, const Aws::String &value)
PutWorkflowRunPropertiesRequest & AddRunProperties(const char *key, const char *value)
PutWorkflowRunPropertiesRequest & AddRunProperties(Aws::String &&key, const char *value)
PutWorkflowRunPropertiesRequest & WithName(const char *value)
void SetRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
PutWorkflowRunPropertiesRequest & AddRunProperties(Aws::String &&key, Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutWorkflowRunPropertiesRequest & AddRunProperties(const char *key, Aws::String &&value)
PutWorkflowRunPropertiesRequest & WithName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRunProperties() const
PutWorkflowRunPropertiesRequest & WithName(const Aws::String &value)
PutWorkflowRunPropertiesRequest & WithRunId(const Aws::String &value)
PutWorkflowRunPropertiesRequest & WithRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
PutWorkflowRunPropertiesRequest & WithRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
PutWorkflowRunPropertiesRequest & AddRunProperties(Aws::String &&key, const Aws::String &value)
PutWorkflowRunPropertiesRequest & WithRunId(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetRunProperties(const Aws::Map< Aws::String, 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