AWS SDK for C++  1.9.103
AWS SDK for C++
SendTaskSuccessRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
15 {
16 namespace 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::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
45 
53  inline bool TaskTokenHasBeenSet() const { return m_taskTokenHasBeenSet; }
54 
62  inline void SetTaskToken(const Aws::String& value) { m_taskTokenHasBeenSet = true; m_taskToken = value; }
63 
71  inline void SetTaskToken(Aws::String&& value) { m_taskTokenHasBeenSet = true; m_taskToken = std::move(value); }
72 
80  inline void SetTaskToken(const char* value) { m_taskTokenHasBeenSet = true; m_taskToken.assign(value); }
81 
89  inline SendTaskSuccessRequest& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
90 
98  inline SendTaskSuccessRequest& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
99 
107  inline SendTaskSuccessRequest& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
108 
109 
114  inline const Aws::String& GetOutput() const{ return m_output; }
115 
120  inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
121 
126  inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
127 
132  inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
133 
138  inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
139 
144  inline SendTaskSuccessRequest& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
145 
150  inline SendTaskSuccessRequest& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
151 
156  inline SendTaskSuccessRequest& WithOutput(const char* value) { SetOutput(value); return *this;}
157 
158  private:
159 
160  Aws::String m_taskToken;
161  bool m_taskTokenHasBeenSet;
162 
163  Aws::String m_output;
164  bool m_outputHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace SFN
169 } // namespace Aws
Aws::SFN::Model::SendTaskSuccessRequest::WithTaskToken
SendTaskSuccessRequest & WithTaskToken(const Aws::String &value)
Definition: SendTaskSuccessRequest.h:89
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::SendTaskSuccessRequest::SetTaskToken
void SetTaskToken(const char *value)
Definition: SendTaskSuccessRequest.h:80
Aws::SFN::Model::SendTaskSuccessRequest::TaskTokenHasBeenSet
bool TaskTokenHasBeenSet() const
Definition: SendTaskSuccessRequest.h:53
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::SendTaskSuccessRequest::GetTaskToken
const Aws::String & GetTaskToken() const
Definition: SendTaskSuccessRequest.h:44
Aws::SFN::Model::SendTaskSuccessRequest::SetOutput
void SetOutput(const Aws::String &value)
Definition: SendTaskSuccessRequest.h:126
Aws::SFN::Model::SendTaskSuccessRequest::WithOutput
SendTaskSuccessRequest & WithOutput(Aws::String &&value)
Definition: SendTaskSuccessRequest.h:150
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::SendTaskSuccessRequest::WithTaskToken
SendTaskSuccessRequest & WithTaskToken(const char *value)
Definition: SendTaskSuccessRequest.h:107
SFN_EXPORTS.h
Aws::SFN::Model::SendTaskSuccessRequest::OutputHasBeenSet
bool OutputHasBeenSet() const
Definition: SendTaskSuccessRequest.h:120
Aws::SFN::Model::SendTaskSuccessRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::SendTaskSuccessRequest::SetOutput
void SetOutput(const char *value)
Definition: SendTaskSuccessRequest.h:138
SFNRequest.h
AWSString.h
Aws::SFN::Model::SendTaskSuccessRequest::WithTaskToken
SendTaskSuccessRequest & WithTaskToken(Aws::String &&value)
Definition: SendTaskSuccessRequest.h:98
Aws::SFN::Model::SendTaskSuccessRequest
Definition: SendTaskSuccessRequest.h:22
Aws::SFN::Model::SendTaskSuccessRequest::WithOutput
SendTaskSuccessRequest & WithOutput(const Aws::String &value)
Definition: SendTaskSuccessRequest.h:144
Aws::SFN::Model::SendTaskSuccessRequest::SetTaskToken
void SetTaskToken(Aws::String &&value)
Definition: SendTaskSuccessRequest.h:71
Aws::SFN::Model::SendTaskSuccessRequest::SendTaskSuccessRequest
SendTaskSuccessRequest()
Aws::SFN::Model::SendTaskSuccessRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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::SendTaskSuccessRequest::GetOutput
const Aws::String & GetOutput() const
Definition: SendTaskSuccessRequest.h:114
Aws::SFN::Model::SendTaskSuccessRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SendTaskSuccessRequest.h:30
Aws::SFN::Model::SendTaskSuccessRequest::SetTaskToken
void SetTaskToken(const Aws::String &value)
Definition: SendTaskSuccessRequest.h:62
Aws::SFN::Model::SendTaskSuccessRequest::WithOutput
SendTaskSuccessRequest & WithOutput(const char *value)
Definition: SendTaskSuccessRequest.h:156
Aws::SFN::Model::SendTaskSuccessRequest::SetOutput
void SetOutput(Aws::String &&value)
Definition: SendTaskSuccessRequest.h:132