AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_TRANSFER_API WorkflowDetail() = default;
40 AWS_TRANSFER_API WorkflowDetail(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
50 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
51 template<typename WorkflowIdT = Aws::String>
52 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
53 template<typename WorkflowIdT = Aws::String>
54 WorkflowDetail& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
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) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
67 template<typename ExecutionRoleT = Aws::String>
68 WorkflowDetail& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
70 private:
71
72 Aws::String m_workflowId;
73 bool m_workflowIdHasBeenSet = false;
74
75 Aws::String m_executionRole;
76 bool m_executionRoleHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Transfer
81} // 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