AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSyncExecutionRequest.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 <aws/states/model/IncludedData.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SFN
16{
17namespace Model
18{
19
23 {
24 public:
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 "StartSyncExecution"; }
32
33 AWS_SFN_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
43 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
44 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
45 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
46 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
47 inline StartSyncExecutionRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
48 inline StartSyncExecutionRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
49 inline StartSyncExecutionRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline StartSyncExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline StartSyncExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline StartSyncExecutionRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
75 inline const Aws::String& GetInput() const{ return m_input; }
76 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
77 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
78 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
79 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
80 inline StartSyncExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
81 inline StartSyncExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
82 inline StartSyncExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
84
86
90 inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
91 inline bool TraceHeaderHasBeenSet() const { return m_traceHeaderHasBeenSet; }
92 inline void SetTraceHeader(const Aws::String& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = value; }
93 inline void SetTraceHeader(Aws::String&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::move(value); }
94 inline void SetTraceHeader(const char* value) { m_traceHeaderHasBeenSet = true; m_traceHeader.assign(value); }
95 inline StartSyncExecutionRequest& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
96 inline StartSyncExecutionRequest& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
97 inline StartSyncExecutionRequest& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
99
101
108 inline const IncludedData& GetIncludedData() const{ return m_includedData; }
109 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
110 inline void SetIncludedData(const IncludedData& value) { m_includedDataHasBeenSet = true; m_includedData = value; }
111 inline void SetIncludedData(IncludedData&& value) { m_includedDataHasBeenSet = true; m_includedData = std::move(value); }
112 inline StartSyncExecutionRequest& WithIncludedData(const IncludedData& value) { SetIncludedData(value); return *this;}
113 inline StartSyncExecutionRequest& WithIncludedData(IncludedData&& value) { SetIncludedData(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_stateMachineArn;
118 bool m_stateMachineArnHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_input;
124 bool m_inputHasBeenSet = false;
125
126 Aws::String m_traceHeader;
127 bool m_traceHeaderHasBeenSet = false;
128
129 IncludedData m_includedData;
130 bool m_includedDataHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SFN
135} // namespace Aws
StartSyncExecutionRequest & WithTraceHeader(Aws::String &&value)
StartSyncExecutionRequest & WithName(const Aws::String &value)
StartSyncExecutionRequest & WithInput(Aws::String &&value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartSyncExecutionRequest & WithStateMachineArn(Aws::String &&value)
StartSyncExecutionRequest & WithInput(const char *value)
StartSyncExecutionRequest & WithStateMachineArn(const char *value)
StartSyncExecutionRequest & WithTraceHeader(const Aws::String &value)
StartSyncExecutionRequest & WithIncludedData(const IncludedData &value)
StartSyncExecutionRequest & WithName(Aws::String &&value)
StartSyncExecutionRequest & WithStateMachineArn(const Aws::String &value)
AWS_SFN_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StartSyncExecutionRequest & WithName(const char *value)
StartSyncExecutionRequest & WithTraceHeader(const char *value)
StartSyncExecutionRequest & WithIncludedData(IncludedData &&value)
StartSyncExecutionRequest & WithInput(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String