AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CheckpointDurableExecutionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/CheckpointUpdatedExecutionState.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 CheckpointDurableExecutionResult() = default;
36
38
43 inline const Aws::String& GetCheckpointToken() const { return m_checkpointToken; }
44 template <typename CheckpointTokenT = Aws::String>
45 void SetCheckpointToken(CheckpointTokenT&& value) {
46 m_checkpointTokenHasBeenSet = true;
47 m_checkpointToken = std::forward<CheckpointTokenT>(value);
48 }
49 template <typename CheckpointTokenT = Aws::String>
51 SetCheckpointToken(std::forward<CheckpointTokenT>(value));
52 return *this;
53 }
55
57
62 inline const CheckpointUpdatedExecutionState& GetNewExecutionState() const { return m_newExecutionState; }
63 template <typename NewExecutionStateT = CheckpointUpdatedExecutionState>
64 void SetNewExecutionState(NewExecutionStateT&& value) {
65 m_newExecutionStateHasBeenSet = true;
66 m_newExecutionState = std::forward<NewExecutionStateT>(value);
67 }
68 template <typename NewExecutionStateT = CheckpointUpdatedExecutionState>
70 SetNewExecutionState(std::forward<NewExecutionStateT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
92 Aws::String m_checkpointToken;
93
94 CheckpointUpdatedExecutionState m_newExecutionState;
95
96 Aws::String m_requestId;
97 Aws::Http::HttpResponseCode m_HttpResponseCode;
98 bool m_checkpointTokenHasBeenSet = false;
99 bool m_newExecutionStateHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Lambda
105} // namespace Aws
CheckpointDurableExecutionResult & WithRequestId(RequestIdT &&value)
AWS_LAMBDA_API CheckpointDurableExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckpointDurableExecutionResult & WithNewExecutionState(NewExecutionStateT &&value)
const CheckpointUpdatedExecutionState & GetNewExecutionState() const
AWS_LAMBDA_API CheckpointDurableExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckpointDurableExecutionResult & WithCheckpointToken(CheckpointTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue