AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SpaceNameT = Aws::String>
49 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
50 template<typename SpaceNameT = Aws::String>
51 StartWorkflowRunRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetProjectName() const { return m_projectName; }
59 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
60 template<typename ProjectNameT = Aws::String>
61 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
62 template<typename ProjectNameT = Aws::String>
63 StartWorkflowRunRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
72 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
73 template<typename WorkflowIdT = Aws::String>
74 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
75 template<typename WorkflowIdT = Aws::String>
76 StartWorkflowRunRequest& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
78
80
86 inline const Aws::String& GetClientToken() const { return m_clientToken; }
87 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
88 template<typename ClientTokenT = Aws::String>
89 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
90 template<typename ClientTokenT = Aws::String>
91 StartWorkflowRunRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
93 private:
94
95 Aws::String m_spaceName;
96 bool m_spaceNameHasBeenSet = false;
97
98 Aws::String m_projectName;
99 bool m_projectNameHasBeenSet = false;
100
101 Aws::String m_workflowId;
102 bool m_workflowIdHasBeenSet = false;
103
105 bool m_clientTokenHasBeenSet = true;
106 };
107
108} // namespace Model
109} // namespace CodeCatalyst
110} // namespace Aws
StartWorkflowRunRequest & WithSpaceName(SpaceNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODECATALYST_API StartWorkflowRunRequest()=default
StartWorkflowRunRequest & WithWorkflowId(WorkflowIdT &&value)
StartWorkflowRunRequest & WithClientToken(ClientTokenT &&value)
StartWorkflowRunRequest & WithProjectName(ProjectNameT &&value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
AWS_CODECATALYST_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String