AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExecutionResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/DescribedExecution.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Transfer
25{
26namespace Model
27{
29 {
30 public:
31 AWS_TRANSFER_API DescribeExecutionResult();
34
35
37
40 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
41 inline void SetWorkflowId(const Aws::String& value) { m_workflowId = value; }
42 inline void SetWorkflowId(Aws::String&& value) { m_workflowId = std::move(value); }
43 inline void SetWorkflowId(const char* value) { m_workflowId.assign(value); }
44 inline DescribeExecutionResult& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
45 inline DescribeExecutionResult& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
46 inline DescribeExecutionResult& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
48
50
53 inline const DescribedExecution& GetExecution() const{ return m_execution; }
54 inline void SetExecution(const DescribedExecution& value) { m_execution = value; }
55 inline void SetExecution(DescribedExecution&& value) { m_execution = std::move(value); }
56 inline DescribeExecutionResult& WithExecution(const DescribedExecution& value) { SetExecution(value); return *this;}
57 inline DescribeExecutionResult& WithExecution(DescribedExecution&& value) { SetExecution(std::move(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline DescribeExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline DescribeExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline DescribeExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::String m_workflowId;
73
74 DescribedExecution m_execution;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace Transfer
81} // namespace Aws
void SetExecution(const DescribedExecution &value)
const DescribedExecution & GetExecution() const
DescribeExecutionResult & WithExecution(const DescribedExecution &value)
DescribeExecutionResult & WithWorkflowId(const char *value)
DescribeExecutionResult & WithRequestId(const Aws::String &value)
DescribeExecutionResult & WithRequestId(Aws::String &&value)
DescribeExecutionResult & WithRequestId(const char *value)
AWS_TRANSFER_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithWorkflowId(Aws::String &&value)
DescribeExecutionResult & WithExecution(DescribedExecution &&value)
AWS_TRANSFER_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithWorkflowId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue