AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListWorkflowsResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Glue
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GLUE_API ListWorkflowsResult() = default;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetWorkflows() const { return m_workflows; }
41 template<typename WorkflowsT = Aws::Vector<Aws::String>>
42 void SetWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet = true; m_workflows = std::forward<WorkflowsT>(value); }
43 template<typename WorkflowsT = Aws::Vector<Aws::String>>
44 ListWorkflowsResult& WithWorkflows(WorkflowsT&& value) { SetWorkflows(std::forward<WorkflowsT>(value)); return *this;}
45 template<typename WorkflowsT = Aws::String>
46 ListWorkflowsResult& AddWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet = true; m_workflows.emplace_back(std::forward<WorkflowsT>(value)); return *this; }
48
50
53 inline const Aws::String& GetNextToken() const { return m_nextToken; }
54 template<typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
56 template<typename NextTokenT = Aws::String>
57 ListWorkflowsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 ListWorkflowsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::Vector<Aws::String> m_workflows;
71 bool m_workflowsHasBeenSet = false;
72
73 Aws::String m_nextToken;
74 bool m_nextTokenHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::String > & GetWorkflows() const
AWS_GLUE_API ListWorkflowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListWorkflowsResult & AddWorkflows(WorkflowsT &&value)
ListWorkflowsResult & WithNextToken(NextTokenT &&value)
AWS_GLUE_API ListWorkflowsResult()=default
ListWorkflowsResult & WithWorkflows(WorkflowsT &&value)
ListWorkflowsResult & WithRequestId(RequestIdT &&value)
AWS_GLUE_API ListWorkflowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue