7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/TaskInputConfigurationSummary.h>
9#include <aws/context/model/TaskOutput.h>
10#include <aws/context/model/TaskStatistics.h>
11#include <aws/context/model/TaskStatus.h>
12#include <aws/context/model/TaskStatusReasonCode.h>
13#include <aws/context/model/TaskType.h>
14#include <aws/core/http/HttpResponse.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/crt/cbor/Cbor.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
78 template <
typename AgentContextIdT = Aws::String>
80 m_agentContextIdHasBeenSet =
true;
81 m_agentContextId = std::forward<AgentContextIdT>(value);
83 template <
typename AgentContextIdT = Aws::String>
98 m_typeHasBeenSet =
true;
116 m_statusHasBeenSet =
true;
130 template <
typename DescriptionT = Aws::String>
132 m_descriptionHasBeenSet =
true;
133 m_description = std::forward<DescriptionT>(value);
135 template <
typename DescriptionT = Aws::String>
147 template <
typename CreatedAtT = Aws::Utils::DateTime>
149 m_createdAtHasBeenSet =
true;
150 m_createdAt = std::forward<CreatedAtT>(value);
152 template <
typename CreatedAtT = Aws::Utils::DateTime>
165 template <
typename UpdatedAtT = Aws::Utils::DateTime>
167 m_updatedAtHasBeenSet =
true;
168 m_updatedAt = std::forward<UpdatedAtT>(value);
170 template <
typename UpdatedAtT = Aws::Utils::DateTime>
191 m_statusReasonCodeHasBeenSet =
true;
192 m_statusReasonCode = value;
205 template <
typename StatusMessageT = Aws::String>
207 m_statusMessageHasBeenSet =
true;
208 m_statusMessage = std::forward<StatusMessageT>(value);
210 template <
typename StatusMessageT = Aws::String>
224 template <
typename StatisticsT = TaskStatistics>
226 m_statisticsHasBeenSet =
true;
227 m_statistics = std::forward<StatisticsT>(value);
229 template <
typename StatisticsT = TaskStatistics>
243 template <
typename InputConfigurationT = TaskInputConfigurationSummary>
245 m_inputConfigurationHasBeenSet =
true;
246 m_inputConfiguration = std::forward<InputConfigurationT>(value);
248 template <
typename InputConfigurationT = TaskInputConfigurationSummary>
260 template <
typename OutputsT = Aws::Vector<TaskOutput>>
262 m_outputsHasBeenSet =
true;
263 m_outputs = std::forward<OutputsT>(value);
265 template <
typename OutputsT = Aws::Vector<TaskOutput>>
270 template <
typename OutputsT = TaskOutput>
272 m_outputsHasBeenSet =
true;
273 m_outputs.emplace_back(std::forward<OutputsT>(value));
281 template <
typename RequestIdT = Aws::String>
283 m_requestIdHasBeenSet =
true;
284 m_requestId = std::forward<RequestIdT>(value);
286 template <
typename RequestIdT = Aws::String>
315 TaskStatistics m_statistics;
317 TaskInputConfigurationSummary m_inputConfiguration;
323 bool m_idHasBeenSet =
false;
324 bool m_arnHasBeenSet =
false;
325 bool m_agentContextIdHasBeenSet =
false;
326 bool m_typeHasBeenSet =
false;
327 bool m_statusHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
329 bool m_createdAtHasBeenSet =
false;
330 bool m_updatedAtHasBeenSet =
false;
331 bool m_statusReasonCodeHasBeenSet =
false;
332 bool m_statusMessageHasBeenSet =
false;
333 bool m_statisticsHasBeenSet =
false;
334 bool m_inputConfigurationHasBeenSet =
false;
335 bool m_outputsHasBeenSet =
false;
336 bool m_requestIdHasBeenSet =
false;
CancelTaskResult & AddOutputs(OutputsT &&value)
AWS_CONTEXT_API CancelTaskResult()=default
void SetAgentContextId(AgentContextIdT &&value)
CancelTaskResult & WithInputConfiguration(InputConfigurationT &&value)
CancelTaskResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
AWS_CONTEXT_API CancelTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
CancelTaskResult & WithRequestId(RequestIdT &&value)
CancelTaskResult & WithStatistics(StatisticsT &&value)
CancelTaskResult & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
CancelTaskResult & WithStatus(TaskStatus value)
CancelTaskResult & WithAgentContextId(AgentContextIdT &&value)
const Aws::String & GetArn() const
CancelTaskResult & WithDescription(DescriptionT &&value)
TaskStatusReasonCode GetStatusReasonCode() const
CancelTaskResult & WithId(IdT &&value)
const Aws::Vector< TaskOutput > & GetOutputs() const
void SetStatistics(StatisticsT &&value)
const Aws::String & GetStatusMessage() const
void SetCreatedAt(CreatedAtT &&value)
CancelTaskResult & WithStatusMessage(StatusMessageT &&value)
TaskStatus GetStatus() const
void SetOutputs(OutputsT &&value)
AWS_CONTEXT_API CancelTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetStatusReasonCode(TaskStatusReasonCode value)
const TaskStatistics & GetStatistics() const
CancelTaskResult & WithArn(ArnT &&value)
void SetType(TaskType value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetId() const
const Aws::String & GetRequestId() const
void SetStatus(TaskStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetAgentContextId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetInputConfiguration(InputConfigurationT &&value)
CancelTaskResult & WithStatusReasonCode(TaskStatusReasonCode value)
CancelTaskResult & WithType(TaskType value)
void SetStatusMessage(StatusMessageT &&value)
CancelTaskResult & WithOutputs(OutputsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const TaskInputConfigurationSummary & GetInputConfiguration() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector