AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
45 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
46 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
47 inline SendWorkflowStepStateRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
48 inline SendWorkflowStepStateRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
49 inline SendWorkflowStepStateRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
51
53
56 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
57 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
58 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
59 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
60 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
61 inline SendWorkflowStepStateRequest& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
62 inline SendWorkflowStepStateRequest& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
63 inline SendWorkflowStepStateRequest& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
65
67
71 inline const Aws::String& GetToken() const{ return m_token; }
72 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
73 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
74 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
75 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
76 inline SendWorkflowStepStateRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
77 inline SendWorkflowStepStateRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
78 inline SendWorkflowStepStateRequest& WithToken(const char* value) { SetToken(value); return *this;}
80
82
85 inline const CustomStepStatus& GetStatus() const{ return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(const CustomStepStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 inline void SetStatus(CustomStepStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 inline SendWorkflowStepStateRequest& WithStatus(const CustomStepStatus& value) { SetStatus(value); return *this;}
90 inline SendWorkflowStepStateRequest& WithStatus(CustomStepStatus&& value) { SetStatus(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_workflowId;
95 bool m_workflowIdHasBeenSet = false;
96
97 Aws::String m_executionId;
98 bool m_executionIdHasBeenSet = false;
99
100 Aws::String m_token;
101 bool m_tokenHasBeenSet = false;
102
103 CustomStepStatus m_status;
104 bool m_statusHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Transfer
109} // namespace Aws
SendWorkflowStepStateRequest & WithExecutionId(const Aws::String &value)
SendWorkflowStepStateRequest & WithExecutionId(Aws::String &&value)
SendWorkflowStepStateRequest & WithWorkflowId(Aws::String &&value)
SendWorkflowStepStateRequest & WithWorkflowId(const char *value)
SendWorkflowStepStateRequest & WithExecutionId(const char *value)
SendWorkflowStepStateRequest & WithStatus(const CustomStepStatus &value)
SendWorkflowStepStateRequest & WithToken(const char *value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
SendWorkflowStepStateRequest & WithWorkflowId(const Aws::String &value)
SendWorkflowStepStateRequest & WithToken(Aws::String &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendWorkflowStepStateRequest & WithStatus(CustomStepStatus &&value)
SendWorkflowStepStateRequest & WithToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String