AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetActivityTaskResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SFN
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SFN_API GetActivityTaskResult();
33
34
36
42 inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
43 inline void SetTaskToken(const Aws::String& value) { m_taskToken = value; }
44 inline void SetTaskToken(Aws::String&& value) { m_taskToken = std::move(value); }
45 inline void SetTaskToken(const char* value) { m_taskToken.assign(value); }
46 inline GetActivityTaskResult& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
47 inline GetActivityTaskResult& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
48 inline GetActivityTaskResult& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
50
52
56 inline const Aws::String& GetInput() const{ return m_input; }
57 inline void SetInput(const Aws::String& value) { m_input = value; }
58 inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
59 inline void SetInput(const char* value) { m_input.assign(value); }
60 inline GetActivityTaskResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
61 inline GetActivityTaskResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
62 inline GetActivityTaskResult& WithInput(const char* value) { SetInput(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline GetActivityTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline GetActivityTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline GetActivityTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_taskToken;
78
79 Aws::String m_input;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace SFN
86} // namespace Aws
GetActivityTaskResult & WithInput(const char *value)
AWS_SFN_API GetActivityTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInput(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetActivityTaskResult & WithRequestId(const char *value)
GetActivityTaskResult & WithTaskToken(const Aws::String &value)
AWS_SFN_API GetActivityTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetActivityTaskResult & WithInput(const Aws::String &value)
GetActivityTaskResult & WithRequestId(const Aws::String &value)
GetActivityTaskResult & WithInput(Aws::String &&value)
GetActivityTaskResult & WithRequestId(Aws::String &&value)
GetActivityTaskResult & WithTaskToken(const char *value)
GetActivityTaskResult & WithTaskToken(Aws::String &&value)
void SetTaskToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue