AWS SDK for C++  1.9.104
AWS SDK for C++
StartSyncExecutionRequest.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 "StartSyncExecution"; }
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 StartSyncExecutionRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
66 
70  inline StartSyncExecutionRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
71 
75  inline StartSyncExecutionRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline StartSyncExecutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline StartSyncExecutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline StartSyncExecutionRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
127  inline const Aws::String& GetInput() const{ return m_input; }
128 
137  inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
138 
147  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
148 
157  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
158 
167  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
168 
177  inline StartSyncExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
178 
187  inline StartSyncExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
188 
197  inline StartSyncExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
198 
199 
204  inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
205 
210  inline bool TraceHeaderHasBeenSet() const { return m_traceHeaderHasBeenSet; }
211 
216  inline void SetTraceHeader(const Aws::String& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = value; }
217 
222  inline void SetTraceHeader(Aws::String&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::move(value); }
223 
228  inline void SetTraceHeader(const char* value) { m_traceHeaderHasBeenSet = true; m_traceHeader.assign(value); }
229 
234  inline StartSyncExecutionRequest& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
235 
240  inline StartSyncExecutionRequest& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
241 
246  inline StartSyncExecutionRequest& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
247 
248  private:
249 
250  Aws::String m_stateMachineArn;
251  bool m_stateMachineArnHasBeenSet;
252 
253  Aws::String m_name;
254  bool m_nameHasBeenSet;
255 
256  Aws::String m_input;
257  bool m_inputHasBeenSet;
258 
259  Aws::String m_traceHeader;
260  bool m_traceHeaderHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace SFN
265 } // namespace Aws
Aws::SFN::Model::StartSyncExecutionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StartSyncExecutionRequest.h:86
Aws::SFN::Model::StartSyncExecutionRequest::StartSyncExecutionRequest
StartSyncExecutionRequest()
Aws::SFN::Model::StartSyncExecutionRequest::InputHasBeenSet
bool InputHasBeenSet() const
Definition: StartSyncExecutionRequest.h:137
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::StartSyncExecutionRequest::SetName
void SetName(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:96
Aws::SFN::Model::StartSyncExecutionRequest::WithTraceHeader
StartSyncExecutionRequest & WithTraceHeader(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:240
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::StartSyncExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::Model::StartSyncExecutionRequest::WithTraceHeader
StartSyncExecutionRequest & WithTraceHeader(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:234
Aws::SFN::Model::StartSyncExecutionRequest::TraceHeaderHasBeenSet
bool TraceHeaderHasBeenSet() const
Definition: StartSyncExecutionRequest.h:210
Aws::SFN::Model::StartSyncExecutionRequest::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: StartSyncExecutionRequest.h:45
Aws::SFN::Model::StartSyncExecutionRequest::GetTraceHeader
const Aws::String & GetTraceHeader() const
Definition: StartSyncExecutionRequest.h:204
Aws::SFN::Model::StartSyncExecutionRequest::SetTraceHeader
void SetTraceHeader(const char *value)
Definition: StartSyncExecutionRequest.h:228
Aws::SFN::Model::StartSyncExecutionRequest::WithInput
StartSyncExecutionRequest & WithInput(const char *value)
Definition: StartSyncExecutionRequest.h:197
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::StartSyncExecutionRequest::WithInput
StartSyncExecutionRequest & WithInput(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:187
SFN_EXPORTS.h
Aws::SFN::Model::StartSyncExecutionRequest::SetName
void SetName(const char *value)
Definition: StartSyncExecutionRequest.h:101
Aws::SFN::Model::StartSyncExecutionRequest::WithName
StartSyncExecutionRequest & WithName(const char *value)
Definition: StartSyncExecutionRequest.h:116
Aws::SFN::Model::StartSyncExecutionRequest::WithName
StartSyncExecutionRequest & WithName(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:106
Aws::SFN::Model::StartSyncExecutionRequest::WithStateMachineArn
StartSyncExecutionRequest & WithStateMachineArn(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:65
Aws::SFN::Model::StartSyncExecutionRequest::SetInput
void SetInput(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:157
Aws::SFN::Model::StartSyncExecutionRequest::GetInput
const Aws::String & GetInput() const
Definition: StartSyncExecutionRequest.h:127
Aws::SFN::Model::StartSyncExecutionRequest::WithInput
StartSyncExecutionRequest & WithInput(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:177
Aws::SFN::Model::StartSyncExecutionRequest::SetTraceHeader
void SetTraceHeader(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:216
Aws::SFN::Model::StartSyncExecutionRequest::GetName
const Aws::String & GetName() const
Definition: StartSyncExecutionRequest.h:81
Aws::SFN::Model::StartSyncExecutionRequest::WithStateMachineArn
StartSyncExecutionRequest & WithStateMachineArn(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:70
Aws::SFN::Model::StartSyncExecutionRequest::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: StartSyncExecutionRequest.h:40
Aws::SFN::Model::StartSyncExecutionRequest::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:50
Aws::SFN::Model::StartSyncExecutionRequest::WithTraceHeader
StartSyncExecutionRequest & WithTraceHeader(const char *value)
Definition: StartSyncExecutionRequest.h:246
SFNRequest.h
AWSString.h
Aws::SFN::Model::StartSyncExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSyncExecutionRequest.h:30
Aws::SFN::Model::StartSyncExecutionRequest::SetInput
void SetInput(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::StartSyncExecutionRequest::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:55
Aws::SFN::Model::StartSyncExecutionRequest::SetTraceHeader
void SetTraceHeader(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:222
Aws::SFN::Model::StartSyncExecutionRequest::WithName
StartSyncExecutionRequest & WithName(Aws::String &&value)
Definition: StartSyncExecutionRequest.h:111
Aws::SFN::Model::StartSyncExecutionRequest::SetInput
void SetInput(const char *value)
Definition: StartSyncExecutionRequest.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::StartSyncExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::StartSyncExecutionRequest
Definition: StartSyncExecutionRequest.h:22
Aws::SFN::Model::StartSyncExecutionRequest::SetName
void SetName(const Aws::String &value)
Definition: StartSyncExecutionRequest.h:91
Aws::SFN::Model::StartSyncExecutionRequest::WithStateMachineArn
StartSyncExecutionRequest & WithStateMachineArn(const char *value)
Definition: StartSyncExecutionRequest.h:75
Aws::SFN::Model::StartSyncExecutionRequest::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: StartSyncExecutionRequest.h:60