AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeExecutionResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/DescribedExecution.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Transfer {
24namespace Model {
26 public:
27 AWS_TRANSFER_API DescribeExecutionResult() = default;
30
32
35 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
36 template <typename WorkflowIdT = Aws::String>
37 void SetWorkflowId(WorkflowIdT&& value) {
38 m_workflowIdHasBeenSet = true;
39 m_workflowId = std::forward<WorkflowIdT>(value);
40 }
41 template <typename WorkflowIdT = Aws::String>
43 SetWorkflowId(std::forward<WorkflowIdT>(value));
44 return *this;
45 }
47
49
52 inline const DescribedExecution& GetExecution() const { return m_execution; }
53 template <typename ExecutionT = DescribedExecution>
54 void SetExecution(ExecutionT&& value) {
55 m_executionHasBeenSet = true;
56 m_execution = std::forward<ExecutionT>(value);
57 }
58 template <typename ExecutionT = DescribedExecution>
60 SetExecution(std::forward<ExecutionT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_workflowId;
83
84 DescribedExecution m_execution;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_workflowIdHasBeenSet = false;
89 bool m_executionHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Transfer
95} // namespace Aws
const DescribedExecution & GetExecution() const
AWS_TRANSFER_API DescribeExecutionResult()=default
DescribeExecutionResult & WithRequestId(RequestIdT &&value)
DescribeExecutionResult & WithExecution(ExecutionT &&value)
AWS_TRANSFER_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithWorkflowId(WorkflowIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_TRANSFER_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue