AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetDurableExecutionStateResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Operation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lambda {
24namespace Model {
32 public:
33 AWS_LAMBDA_API GetDurableExecutionStateResult() = default;
36
38
43 inline const Aws::Vector<Operation>& GetOperations() const { return m_operations; }
44 template <typename OperationsT = Aws::Vector<Operation>>
45 void SetOperations(OperationsT&& value) {
46 m_operationsHasBeenSet = true;
47 m_operations = std::forward<OperationsT>(value);
48 }
49 template <typename OperationsT = Aws::Vector<Operation>>
51 SetOperations(std::forward<OperationsT>(value));
52 return *this;
53 }
54 template <typename OperationsT = Operation>
56 m_operationsHasBeenSet = true;
57 m_operations.emplace_back(std::forward<OperationsT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
69 template <typename NextMarkerT = Aws::String>
70 void SetNextMarker(NextMarkerT&& value) {
71 m_nextMarkerHasBeenSet = true;
72 m_nextMarker = std::forward<NextMarkerT>(value);
73 }
74 template <typename NextMarkerT = Aws::String>
76 SetNextMarker(std::forward<NextMarkerT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::Vector<Operation> m_operations;
97
98 Aws::String m_nextMarker;
99
100 Aws::String m_requestId;
101 bool m_operationsHasBeenSet = false;
102 bool m_nextMarkerHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Lambda
108} // namespace Aws
GetDurableExecutionStateResult & AddOperations(OperationsT &&value)
AWS_LAMBDA_API GetDurableExecutionStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LAMBDA_API GetDurableExecutionStateResult()=default
GetDurableExecutionStateResult & WithRequestId(RequestIdT &&value)
AWS_LAMBDA_API GetDurableExecutionStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDurableExecutionStateResult & WithNextMarker(NextMarkerT &&value)
GetDurableExecutionStateResult & WithOperations(OperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue