AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartExecutionRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SFN
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SFN_API StartExecutionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartExecution"; }
31
32 AWS_SFN_API Aws::String SerializePayload() const override;
33
35
36
38
62 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
63 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
64 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
65 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
66 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
67 inline StartExecutionRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
68 inline StartExecutionRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
69 inline StartExecutionRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
71
73
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline StartExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline StartExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline StartExecutionRequest& WithName(const char* value) { SetName(value); return *this;}
98
100
108 inline const Aws::String& GetInput() const{ return m_input; }
109 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
110 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
111 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
112 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
113 inline StartExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
114 inline StartExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
115 inline StartExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
117
119
123 inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
124 inline bool TraceHeaderHasBeenSet() const { return m_traceHeaderHasBeenSet; }
125 inline void SetTraceHeader(const Aws::String& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = value; }
126 inline void SetTraceHeader(Aws::String&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::move(value); }
127 inline void SetTraceHeader(const char* value) { m_traceHeaderHasBeenSet = true; m_traceHeader.assign(value); }
128 inline StartExecutionRequest& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
129 inline StartExecutionRequest& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
130 inline StartExecutionRequest& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
132 private:
133
134 Aws::String m_stateMachineArn;
135 bool m_stateMachineArnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_input;
141 bool m_inputHasBeenSet = false;
142
143 Aws::String m_traceHeader;
144 bool m_traceHeaderHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SFN
149} // namespace Aws
StartExecutionRequest & WithStateMachineArn(Aws::String &&value)
StartExecutionRequest & WithTraceHeader(const Aws::String &value)
const Aws::String & GetStateMachineArn() const
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SFN_API Aws::String SerializePayload() const override
void SetInput(const Aws::String &value)
StartExecutionRequest & WithStateMachineArn(const Aws::String &value)
StartExecutionRequest & WithTraceHeader(const char *value)
StartExecutionRequest & WithTraceHeader(Aws::String &&value)
StartExecutionRequest & WithStateMachineArn(const char *value)
StartExecutionRequest & WithName(const char *value)
StartExecutionRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartExecutionRequest & WithName(const Aws::String &value)
StartExecutionRequest & WithInput(const Aws::String &value)
void SetTraceHeader(const Aws::String &value)
void SetName(const Aws::String &value)
StartExecutionRequest & WithInput(Aws::String &&value)
void SetStateMachineArn(const Aws::String &value)
StartExecutionRequest & WithInput(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String