AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartWorkflowRunRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/CodeCatalystRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeCatalyst
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CODECATALYST_API StartWorkflowRunRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartWorkflowRun"; }
36
37 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
38
39 AWS_CODECATALYST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
47 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
48 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
49 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
50 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
51 inline StartWorkflowRunRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
52 inline StartWorkflowRunRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
53 inline StartWorkflowRunRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const{ return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
63 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
64 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
65 inline StartWorkflowRunRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
66 inline StartWorkflowRunRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
67 inline StartWorkflowRunRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
69
71
75 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
76 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
77 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
78 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
79 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
80 inline StartWorkflowRunRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
81 inline StartWorkflowRunRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
82 inline StartWorkflowRunRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
84
86
92 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
95 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
96 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
97 inline StartWorkflowRunRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
98 inline StartWorkflowRunRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
99 inline StartWorkflowRunRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
101 private:
102
103 Aws::String m_spaceName;
104 bool m_spaceNameHasBeenSet = false;
105
106 Aws::String m_projectName;
107 bool m_projectNameHasBeenSet = false;
108
109 Aws::String m_workflowId;
110 bool m_workflowIdHasBeenSet = false;
111
112 Aws::String m_clientToken;
113 bool m_clientTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace CodeCatalyst
118} // namespace Aws
StartWorkflowRunRequest & WithProjectName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartWorkflowRunRequest & WithWorkflowId(Aws::String &&value)
StartWorkflowRunRequest & WithClientToken(const Aws::String &value)
StartWorkflowRunRequest & WithClientToken(const char *value)
StartWorkflowRunRequest & WithProjectName(const char *value)
StartWorkflowRunRequest & WithSpaceName(Aws::String &&value)
StartWorkflowRunRequest & WithProjectName(const Aws::String &value)
StartWorkflowRunRequest & WithSpaceName(const Aws::String &value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
StartWorkflowRunRequest & WithWorkflowId(const Aws::String &value)
StartWorkflowRunRequest & WithSpaceName(const char *value)
StartWorkflowRunRequest & WithClientToken(Aws::String &&value)
StartWorkflowRunRequest & WithWorkflowId(const char *value)
AWS_CODECATALYST_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String