AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateWorkflowRunRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaActRequest.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/ClientInfo.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NovaAct {
17namespace Model {
18
22 public:
23 AWS_NOVAACT_API CreateWorkflowRunRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateWorkflowRun"; }
30
31 AWS_NOVAACT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetWorkflowDefinitionName() const { return m_workflowDefinitionName; }
38 inline bool WorkflowDefinitionNameHasBeenSet() const { return m_workflowDefinitionNameHasBeenSet; }
39 template <typename WorkflowDefinitionNameT = Aws::String>
40 void SetWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
41 m_workflowDefinitionNameHasBeenSet = true;
42 m_workflowDefinitionName = std::forward<WorkflowDefinitionNameT>(value);
43 }
44 template <typename WorkflowDefinitionNameT = Aws::String>
45 CreateWorkflowRunRequest& WithWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
46 SetWorkflowDefinitionName(std::forward<WorkflowDefinitionNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetModelId() const { return m_modelId; }
56 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
57 template <typename ModelIdT = Aws::String>
58 void SetModelId(ModelIdT&& value) {
59 m_modelIdHasBeenSet = true;
60 m_modelId = std::forward<ModelIdT>(value);
61 }
62 template <typename ModelIdT = Aws::String>
64 SetModelId(std::forward<ModelIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetClientToken() const { return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 template <typename ClientTokenT = Aws::String>
77 void SetClientToken(ClientTokenT&& value) {
78 m_clientTokenHasBeenSet = true;
79 m_clientToken = std::forward<ClientTokenT>(value);
80 }
81 template <typename ClientTokenT = Aws::String>
83 SetClientToken(std::forward<ClientTokenT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
93 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
94 template <typename LogGroupNameT = Aws::String>
95 void SetLogGroupName(LogGroupNameT&& value) {
96 m_logGroupNameHasBeenSet = true;
97 m_logGroupName = std::forward<LogGroupNameT>(value);
98 }
99 template <typename LogGroupNameT = Aws::String>
101 SetLogGroupName(std::forward<LogGroupNameT>(value));
102 return *this;
103 }
105
107
111 inline const ClientInfo& GetClientInfo() const { return m_clientInfo; }
112 inline bool ClientInfoHasBeenSet() const { return m_clientInfoHasBeenSet; }
113 template <typename ClientInfoT = ClientInfo>
114 void SetClientInfo(ClientInfoT&& value) {
115 m_clientInfoHasBeenSet = true;
116 m_clientInfo = std::forward<ClientInfoT>(value);
117 }
118 template <typename ClientInfoT = ClientInfo>
120 SetClientInfo(std::forward<ClientInfoT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_workflowDefinitionName;
126
127 Aws::String m_modelId;
128
130
131 Aws::String m_logGroupName;
132
133 ClientInfo m_clientInfo;
134 bool m_workflowDefinitionNameHasBeenSet = false;
135 bool m_modelIdHasBeenSet = false;
136 bool m_clientTokenHasBeenSet = true;
137 bool m_logGroupNameHasBeenSet = false;
138 bool m_clientInfoHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace NovaAct
143} // namespace Aws
AWS_NOVAACT_API CreateWorkflowRunRequest()=default
CreateWorkflowRunRequest & WithClientInfo(ClientInfoT &&value)
CreateWorkflowRunRequest & WithWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
AWS_NOVAACT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateWorkflowRunRequest & WithLogGroupName(LogGroupNameT &&value)
void SetWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
CreateWorkflowRunRequest & WithModelId(ModelIdT &&value)
CreateWorkflowRunRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String