AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SendWorkflowStepStateRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/CustomStepStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API SendWorkflowStepStateRequest() = 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 "SendWorkflowStepState"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
43 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
44 template<typename WorkflowIdT = Aws::String>
45 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
46 template<typename WorkflowIdT = Aws::String>
47 SendWorkflowStepStateRequest& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetExecutionId() const { return m_executionId; }
55 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
56 template<typename ExecutionIdT = Aws::String>
57 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
58 template<typename ExecutionIdT = Aws::String>
59 SendWorkflowStepStateRequest& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetToken() const { return m_token; }
68 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
69 template<typename TokenT = Aws::String>
70 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
71 template<typename TokenT = Aws::String>
72 SendWorkflowStepStateRequest& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
74
76
79 inline CustomStepStatus GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(CustomStepStatus value) { m_statusHasBeenSet = true; m_status = value; }
82 inline SendWorkflowStepStateRequest& WithStatus(CustomStepStatus value) { SetStatus(value); return *this;}
84 private:
85
86 Aws::String m_workflowId;
87 bool m_workflowIdHasBeenSet = false;
88
89 Aws::String m_executionId;
90 bool m_executionIdHasBeenSet = false;
91
92 Aws::String m_token;
93 bool m_tokenHasBeenSet = false;
94
96 bool m_statusHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Transfer
101} // namespace Aws
SendWorkflowStepStateRequest & WithToken(TokenT &&value)
SendWorkflowStepStateRequest & WithStatus(CustomStepStatus value)
SendWorkflowStepStateRequest & WithExecutionId(ExecutionIdT &&value)
SendWorkflowStepStateRequest & WithWorkflowId(WorkflowIdT &&value)
AWS_TRANSFER_API SendWorkflowStepStateRequest()=default
AWS_TRANSFER_API Aws::String SerializePayload() const override
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String