AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListExecutionsResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/ListedExecution.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Transfer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_TRANSFER_API ListExecutionsResult() = default;
35
36
38
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 template<typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<typename NextTokenT = Aws::String>
47 ListExecutionsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
49
51
54 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
55 template<typename WorkflowIdT = Aws::String>
56 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
57 template<typename WorkflowIdT = Aws::String>
58 ListExecutionsResult& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
60
62
66 inline const Aws::Vector<ListedExecution>& GetExecutions() const { return m_executions; }
67 template<typename ExecutionsT = Aws::Vector<ListedExecution>>
68 void SetExecutions(ExecutionsT&& value) { m_executionsHasBeenSet = true; m_executions = std::forward<ExecutionsT>(value); }
69 template<typename ExecutionsT = Aws::Vector<ListedExecution>>
70 ListExecutionsResult& WithExecutions(ExecutionsT&& value) { SetExecutions(std::forward<ExecutionsT>(value)); return *this;}
71 template<typename ExecutionsT = ListedExecution>
72 ListExecutionsResult& AddExecutions(ExecutionsT&& value) { m_executionsHasBeenSet = true; m_executions.emplace_back(std::forward<ExecutionsT>(value)); return *this; }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 ListExecutionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 Aws::String m_workflowId;
89 bool m_workflowIdHasBeenSet = false;
90
92 bool m_executionsHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Transfer
100} // namespace Aws
ListExecutionsResult & WithWorkflowId(WorkflowIdT &&value)
AWS_TRANSFER_API ListExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListExecutionsResult & WithRequestId(RequestIdT &&value)
ListExecutionsResult & WithNextToken(NextTokenT &&value)
AWS_TRANSFER_API ListExecutionsResult()=default
const Aws::Vector< ListedExecution > & GetExecutions() const
ListExecutionsResult & WithExecutions(ExecutionsT &&value)
ListExecutionsResult & AddExecutions(ExecutionsT &&value)
AWS_TRANSFER_API ListExecutionsResult & 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