AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartWorkflowRunRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalystRequest.h>
8#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CodeCatalyst {
19namespace Model {
20
24 public:
25 AWS_CODECATALYST_API StartWorkflowRunRequest() = default;
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 "StartWorkflowRun"; }
32
33 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
34
35 AWS_CODECATALYST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
42 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
43 template <typename SpaceNameT = Aws::String>
44 void SetSpaceName(SpaceNameT&& value) {
45 m_spaceNameHasBeenSet = true;
46 m_spaceName = std::forward<SpaceNameT>(value);
47 }
48 template <typename SpaceNameT = Aws::String>
50 SetSpaceName(std::forward<SpaceNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetProjectName() const { return m_projectName; }
60 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
61 template <typename ProjectNameT = Aws::String>
62 void SetProjectName(ProjectNameT&& value) {
63 m_projectNameHasBeenSet = true;
64 m_projectName = std::forward<ProjectNameT>(value);
65 }
66 template <typename ProjectNameT = Aws::String>
68 SetProjectName(std::forward<ProjectNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
79 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
80 template <typename WorkflowIdT = Aws::String>
81 void SetWorkflowId(WorkflowIdT&& value) {
82 m_workflowIdHasBeenSet = true;
83 m_workflowId = std::forward<WorkflowIdT>(value);
84 }
85 template <typename WorkflowIdT = Aws::String>
87 SetWorkflowId(std::forward<WorkflowIdT>(value));
88 return *this;
89 }
91
93
99 inline const Aws::String& GetClientToken() const { return m_clientToken; }
100 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
101 template <typename ClientTokenT = Aws::String>
102 void SetClientToken(ClientTokenT&& value) {
103 m_clientTokenHasBeenSet = true;
104 m_clientToken = std::forward<ClientTokenT>(value);
105 }
106 template <typename ClientTokenT = Aws::String>
108 SetClientToken(std::forward<ClientTokenT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_spaceName;
114 bool m_spaceNameHasBeenSet = false;
115
116 Aws::String m_projectName;
117 bool m_projectNameHasBeenSet = false;
118
119 Aws::String m_workflowId;
120 bool m_workflowIdHasBeenSet = false;
121
123 bool m_clientTokenHasBeenSet = true;
124};
125
126} // namespace Model
127} // namespace CodeCatalyst
128} // 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