AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendTaskSuccessRequest.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:
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 "SendTaskSuccess"; }
31
32 AWS_SFN_API Aws::String SerializePayload() const override;
33
35
36
38
45 inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
46 inline bool TaskTokenHasBeenSet() const { return m_taskTokenHasBeenSet; }
47 inline void SetTaskToken(const Aws::String& value) { m_taskTokenHasBeenSet = true; m_taskToken = value; }
48 inline void SetTaskToken(Aws::String&& value) { m_taskTokenHasBeenSet = true; m_taskToken = std::move(value); }
49 inline void SetTaskToken(const char* value) { m_taskTokenHasBeenSet = true; m_taskToken.assign(value); }
50 inline SendTaskSuccessRequest& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
51 inline SendTaskSuccessRequest& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
52 inline SendTaskSuccessRequest& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
54
56
60 inline const Aws::String& GetOutput() const{ return m_output; }
61 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
62 inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
63 inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
64 inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
65 inline SendTaskSuccessRequest& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
66 inline SendTaskSuccessRequest& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
67 inline SendTaskSuccessRequest& WithOutput(const char* value) { SetOutput(value); return *this;}
69 private:
70
71 Aws::String m_taskToken;
72 bool m_taskTokenHasBeenSet = false;
73
74 Aws::String m_output;
75 bool m_outputHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SFN
80} // namespace Aws
AWS_SFN_API Aws::String SerializePayload() const override
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendTaskSuccessRequest & WithOutput(Aws::String &&value)
SendTaskSuccessRequest & WithTaskToken(const char *value)
SendTaskSuccessRequest & WithOutput(const Aws::String &value)
SendTaskSuccessRequest & WithTaskToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SendTaskSuccessRequest & WithOutput(const char *value)
SendTaskSuccessRequest & WithTaskToken(Aws::String &&value)
void SetTaskToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String