AWS SDK for C++  1.9.40
AWS SDK for C++
StartExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
41 
45  inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
46 
50  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
51 
55  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
56 
60  inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
61 
65  inline StartExecutionRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
66 
70  inline StartExecutionRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
71 
75  inline StartExecutionRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
76 
77 
91  inline const Aws::String& GetName() const{ return m_name; }
92 
106  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 
121  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
122 
136  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 
151  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
152 
166  inline StartExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
167 
181  inline StartExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
182 
196  inline StartExecutionRequest& WithName(const char* value) { SetName(value); return *this;}
197 
198 
207  inline const Aws::String& GetInput() const{ return m_input; }
208 
217  inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
218 
227  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
228 
237  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
238 
247  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
248 
257  inline StartExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
258 
267  inline StartExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
268 
277  inline StartExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
278 
279 
284  inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
285 
290  inline bool TraceHeaderHasBeenSet() const { return m_traceHeaderHasBeenSet; }
291 
296  inline void SetTraceHeader(const Aws::String& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = value; }
297 
302  inline void SetTraceHeader(Aws::String&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::move(value); }
303 
308  inline void SetTraceHeader(const char* value) { m_traceHeaderHasBeenSet = true; m_traceHeader.assign(value); }
309 
314  inline StartExecutionRequest& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
315 
320  inline StartExecutionRequest& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
321 
326  inline StartExecutionRequest& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
327 
328  private:
329 
330  Aws::String m_stateMachineArn;
331  bool m_stateMachineArnHasBeenSet;
332 
333  Aws::String m_name;
334  bool m_nameHasBeenSet;
335 
336  Aws::String m_input;
337  bool m_inputHasBeenSet;
338 
339  Aws::String m_traceHeader;
340  bool m_traceHeaderHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace SFN
345 } // namespace Aws
Aws::SFN::Model::StartExecutionRequest::StartExecutionRequest
StartExecutionRequest()
Aws::SFN::Model::StartExecutionRequest::InputHasBeenSet
bool InputHasBeenSet() const
Definition: StartExecutionRequest.h:217
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::StartExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::StartExecutionRequest::SetTraceHeader
void SetTraceHeader(Aws::String &&value)
Definition: StartExecutionRequest.h:302
Aws::SFN::Model::StartExecutionRequest::WithName
StartExecutionRequest & WithName(const char *value)
Definition: StartExecutionRequest.h:196
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::StartExecutionRequest::SetInput
void SetInput(Aws::String &&value)
Definition: StartExecutionRequest.h:237
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::StartExecutionRequest::WithStateMachineArn
StartExecutionRequest & WithStateMachineArn(const char *value)
Definition: StartExecutionRequest.h:75
Aws::SFN::Model::StartExecutionRequest::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: StartExecutionRequest.h:40
SFN_EXPORTS.h
Aws::SFN::Model::StartExecutionRequest::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: StartExecutionRequest.h:50
Aws::SFN::Model::StartExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartExecutionRequest.h:30
Aws::SFN::Model::StartExecutionRequest::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: StartExecutionRequest.h:45
Aws::SFN::Model::StartExecutionRequest::SetName
void SetName(const Aws::String &value)
Definition: StartExecutionRequest.h:121
Aws::SFN::Model::StartExecutionRequest::WithInput
StartExecutionRequest & WithInput(const Aws::String &value)
Definition: StartExecutionRequest.h:257
Aws::SFN::Model::StartExecutionRequest::WithStateMachineArn
StartExecutionRequest & WithStateMachineArn(Aws::String &&value)
Definition: StartExecutionRequest.h:70
Aws::SFN::Model::StartExecutionRequest::WithName
StartExecutionRequest & WithName(Aws::String &&value)
Definition: StartExecutionRequest.h:181
Aws::SFN::Model::StartExecutionRequest::SetTraceHeader
void SetTraceHeader(const Aws::String &value)
Definition: StartExecutionRequest.h:296
Aws::SFN::Model::StartExecutionRequest::GetInput
const Aws::String & GetInput() const
Definition: StartExecutionRequest.h:207
Aws::SFN::Model::StartExecutionRequest::WithTraceHeader
StartExecutionRequest & WithTraceHeader(const char *value)
Definition: StartExecutionRequest.h:326
Aws::SFN::Model::StartExecutionRequest::SetInput
void SetInput(const char *value)
Definition: StartExecutionRequest.h:247
Aws::SFN::Model::StartExecutionRequest::TraceHeaderHasBeenSet
bool TraceHeaderHasBeenSet() const
Definition: StartExecutionRequest.h:290
Aws::SFN::Model::StartExecutionRequest::WithStateMachineArn
StartExecutionRequest & WithStateMachineArn(const Aws::String &value)
Definition: StartExecutionRequest.h:65
Aws::SFN::Model::StartExecutionRequest::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: StartExecutionRequest.h:60
Aws::SFN::Model::StartExecutionRequest::SetName
void SetName(const char *value)
Definition: StartExecutionRequest.h:151
SFNRequest.h
AWSString.h
Aws::SFN::Model::StartExecutionRequest::GetTraceHeader
const Aws::String & GetTraceHeader() const
Definition: StartExecutionRequest.h:284
Aws::SFN::Model::StartExecutionRequest::SetTraceHeader
void SetTraceHeader(const char *value)
Definition: StartExecutionRequest.h:308
Aws::SFN::Model::StartExecutionRequest::WithInput
StartExecutionRequest & WithInput(Aws::String &&value)
Definition: StartExecutionRequest.h:267
Aws::SFN::Model::StartExecutionRequest::WithTraceHeader
StartExecutionRequest & WithTraceHeader(const Aws::String &value)
Definition: StartExecutionRequest.h:314
Aws::SFN::Model::StartExecutionRequest
Definition: StartExecutionRequest.h:22
Aws::SFN::Model::StartExecutionRequest::SetInput
void SetInput(const Aws::String &value)
Definition: StartExecutionRequest.h:227
Aws::SFN::Model::StartExecutionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StartExecutionRequest.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::StartExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::Model::StartExecutionRequest::WithTraceHeader
StartExecutionRequest & WithTraceHeader(Aws::String &&value)
Definition: StartExecutionRequest.h:320
Aws::SFN::Model::StartExecutionRequest::WithName
StartExecutionRequest & WithName(const Aws::String &value)
Definition: StartExecutionRequest.h:166
Aws::SFN::Model::StartExecutionRequest::GetName
const Aws::String & GetName() const
Definition: StartExecutionRequest.h:91
Aws::SFN::Model::StartExecutionRequest::WithInput
StartExecutionRequest & WithInput(const char *value)
Definition: StartExecutionRequest.h:277
Aws::SFN::Model::StartExecutionRequest::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: StartExecutionRequest.h:55
Aws::SFN::Model::StartExecutionRequest::SetName
void SetName(Aws::String &&value)
Definition: StartExecutionRequest.h:136