AWS SDK for C++  1.9.104
AWS SDK for C++
GetActivityTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SFN
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
41  inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
42 
49  inline void SetTaskToken(const Aws::String& value) { m_taskToken = value; }
50 
57  inline void SetTaskToken(Aws::String&& value) { m_taskToken = std::move(value); }
58 
65  inline void SetTaskToken(const char* value) { m_taskToken.assign(value); }
66 
73  inline GetActivityTaskResult& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
74 
81  inline GetActivityTaskResult& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
82 
89  inline GetActivityTaskResult& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
90 
91 
96  inline const Aws::String& GetInput() const{ return m_input; }
97 
102  inline void SetInput(const Aws::String& value) { m_input = value; }
103 
108  inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
109 
114  inline void SetInput(const char* value) { m_input.assign(value); }
115 
120  inline GetActivityTaskResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
121 
126  inline GetActivityTaskResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
127 
132  inline GetActivityTaskResult& WithInput(const char* value) { SetInput(value); return *this;}
133 
134  private:
135 
136  Aws::String m_taskToken;
137 
138  Aws::String m_input;
139  };
140 
141 } // namespace Model
142 } // namespace SFN
143 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SFN::Model::GetActivityTaskResult::SetTaskToken
void SetTaskToken(const char *value)
Definition: GetActivityTaskResult.h:65
Aws::SFN::Model::GetActivityTaskResult::WithInput
GetActivityTaskResult & WithInput(const char *value)
Definition: GetActivityTaskResult.h:132
Aws::SFN::Model::GetActivityTaskResult
Definition: GetActivityTaskResult.h:28
Aws::SFN::Model::GetActivityTaskResult::SetTaskToken
void SetTaskToken(Aws::String &&value)
Definition: GetActivityTaskResult.h:57
Aws::SFN::Model::GetActivityTaskResult::GetTaskToken
const Aws::String & GetTaskToken() const
Definition: GetActivityTaskResult.h:41
Aws::SFN::Model::GetActivityTaskResult::WithInput
GetActivityTaskResult & WithInput(Aws::String &&value)
Definition: GetActivityTaskResult.h:126
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::GetActivityTaskResult::WithInput
GetActivityTaskResult & WithInput(const Aws::String &value)
Definition: GetActivityTaskResult.h:120
Aws::SFN::Model::GetActivityTaskResult::SetTaskToken
void SetTaskToken(const Aws::String &value)
Definition: GetActivityTaskResult.h:49
AWSString.h
Aws::SFN::Model::GetActivityTaskResult::GetActivityTaskResult
GetActivityTaskResult()
Aws::SFN::Model::GetActivityTaskResult::WithTaskToken
GetActivityTaskResult & WithTaskToken(const Aws::String &value)
Definition: GetActivityTaskResult.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::GetActivityTaskResult::GetInput
const Aws::String & GetInput() const
Definition: GetActivityTaskResult.h:96
Aws::SFN::Model::GetActivityTaskResult::operator=
GetActivityTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::GetActivityTaskResult::GetActivityTaskResult
GetActivityTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SFN::Model::GetActivityTaskResult::WithTaskToken
GetActivityTaskResult & WithTaskToken(Aws::String &&value)
Definition: GetActivityTaskResult.h:81
Aws::SFN::Model::GetActivityTaskResult::WithTaskToken
GetActivityTaskResult & WithTaskToken(const char *value)
Definition: GetActivityTaskResult.h:89
Aws::SFN::Model::GetActivityTaskResult::SetInput
void SetInput(const char *value)
Definition: GetActivityTaskResult.h:114
Aws::SFN::Model::GetActivityTaskResult::SetInput
void SetInput(Aws::String &&value)
Definition: GetActivityTaskResult.h:108
Aws::SFN::Model::GetActivityTaskResult::SetInput
void SetInput(const Aws::String &value)
Definition: GetActivityTaskResult.h:102