AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RespondActivityTaskCanceledRequest.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 "RespondActivityTaskCanceled"; }
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 RespondActivityTaskCanceledRequest& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
51 inline RespondActivityTaskCanceledRequest& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
52 inline RespondActivityTaskCanceledRequest& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
54
56
59 inline const Aws::String& GetDetails() const{ return m_details; }
60 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
61 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
62 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
63 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
64 inline RespondActivityTaskCanceledRequest& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
65 inline RespondActivityTaskCanceledRequest& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
66 inline RespondActivityTaskCanceledRequest& WithDetails(const char* value) { SetDetails(value); return *this;}
68 private:
69
70 Aws::String m_taskToken;
71 bool m_taskTokenHasBeenSet = false;
72
73 Aws::String m_details;
74 bool m_detailsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SWF
79} // namespace Aws
RespondActivityTaskCanceledRequest & WithTaskToken(const Aws::String &value)
RespondActivityTaskCanceledRequest & WithTaskToken(const char *value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RespondActivityTaskCanceledRequest & WithTaskToken(Aws::String &&value)
RespondActivityTaskCanceledRequest & WithDetails(const Aws::String &value)
RespondActivityTaskCanceledRequest & WithDetails(Aws::String &&value)
RespondActivityTaskCanceledRequest & WithDetails(const char *value)
AWS_SWF_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String