AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetDurableExecutionStateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/Operation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda {
25namespace Model {
33 public:
34 AWS_LAMBDA_API GetDurableExecutionStateResult() = default;
37
39
44 inline const Aws::Vector<Operation>& GetOperations() const { return m_operations; }
45 template <typename OperationsT = Aws::Vector<Operation>>
46 void SetOperations(OperationsT&& value) {
47 m_operationsHasBeenSet = true;
48 m_operations = std::forward<OperationsT>(value);
49 }
50 template <typename OperationsT = Aws::Vector<Operation>>
52 SetOperations(std::forward<OperationsT>(value));
53 return *this;
54 }
55 template <typename OperationsT = Operation>
57 m_operationsHasBeenSet = true;
58 m_operations.emplace_back(std::forward<OperationsT>(value));
59 return *this;
60 }
62
64
69 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
70 template <typename NextMarkerT = Aws::String>
71 void SetNextMarker(NextMarkerT&& value) {
72 m_nextMarkerHasBeenSet = true;
73 m_nextMarker = std::forward<NextMarkerT>(value);
74 }
75 template <typename NextMarkerT = Aws::String>
77 SetNextMarker(std::forward<NextMarkerT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::Vector<Operation> m_operations;
100
101 Aws::String m_nextMarker;
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_operationsHasBeenSet = false;
106 bool m_nextMarkerHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Lambda
112} // 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