AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RespondActivityTaskCompletedRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SWF
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 "RespondActivityTaskCompleted"; }
31
32 AWS_SWF_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 RespondActivityTaskCompletedRequest& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
51 inline RespondActivityTaskCompletedRequest& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
52 inline RespondActivityTaskCompletedRequest& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
54
56
60 inline const Aws::String& GetResult() const{ return m_result; }
61 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
62 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
63 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
64 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
65 inline RespondActivityTaskCompletedRequest& WithResult(const Aws::String& value) { SetResult(value); return *this;}
66 inline RespondActivityTaskCompletedRequest& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
67 inline RespondActivityTaskCompletedRequest& WithResult(const char* value) { SetResult(value); return *this;}
69 private:
70
71 Aws::String m_taskToken;
72 bool m_taskTokenHasBeenSet = false;
73
74 Aws::String m_result;
75 bool m_resultHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SWF
80} // namespace Aws
RespondActivityTaskCompletedRequest & WithResult(const char *value)
RespondActivityTaskCompletedRequest & WithTaskToken(const Aws::String &value)
RespondActivityTaskCompletedRequest & WithResult(Aws::String &&value)
RespondActivityTaskCompletedRequest & WithResult(const Aws::String &value)
AWS_SWF_API Aws::String SerializePayload() const override
RespondActivityTaskCompletedRequest & WithTaskToken(const char *value)
RespondActivityTaskCompletedRequest & WithTaskToken(Aws::String &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String