AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
WorkflowDetail.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
33 public:
34 AWS_TRANSFER_API WorkflowDetail() = default;
35 AWS_TRANSFER_API WorkflowDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
44 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
45 template <typename WorkflowIdT = Aws::String>
46 void SetWorkflowId(WorkflowIdT&& value) {
47 m_workflowIdHasBeenSet = true;
48 m_workflowId = std::forward<WorkflowIdT>(value);
49 }
50 template <typename WorkflowIdT = Aws::String>
51 WorkflowDetail& WithWorkflowId(WorkflowIdT&& value) {
52 SetWorkflowId(std::forward<WorkflowIdT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
64 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
65 template <typename ExecutionRoleT = Aws::String>
66 void SetExecutionRole(ExecutionRoleT&& value) {
67 m_executionRoleHasBeenSet = true;
68 m_executionRole = std::forward<ExecutionRoleT>(value);
69 }
70 template <typename ExecutionRoleT = Aws::String>
71 WorkflowDetail& WithExecutionRole(ExecutionRoleT&& value) {
72 SetExecutionRole(std::forward<ExecutionRoleT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_workflowId;
78
79 Aws::String m_executionRole;
80 bool m_workflowIdHasBeenSet = false;
81 bool m_executionRoleHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Transfer
86} // namespace Aws
void SetWorkflowId(WorkflowIdT &&value)
WorkflowDetail & WithWorkflowId(WorkflowIdT &&value)
AWS_TRANSFER_API WorkflowDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API WorkflowDetail()=default
const Aws::String & GetExecutionRole() const
void SetExecutionRole(ExecutionRoleT &&value)
WorkflowDetail & WithExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetWorkflowId() const
AWS_TRANSFER_API WorkflowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue