AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CheckpointDurableExecutionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/CheckpointUpdatedExecutionState.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Lambda {
23namespace Model {
31 public:
32 AWS_LAMBDA_API CheckpointDurableExecutionResult() = default;
35
37
42 inline const Aws::String& GetCheckpointToken() const { return m_checkpointToken; }
43 template <typename CheckpointTokenT = Aws::String>
44 void SetCheckpointToken(CheckpointTokenT&& value) {
45 m_checkpointTokenHasBeenSet = true;
46 m_checkpointToken = std::forward<CheckpointTokenT>(value);
47 }
48 template <typename CheckpointTokenT = Aws::String>
50 SetCheckpointToken(std::forward<CheckpointTokenT>(value));
51 return *this;
52 }
54
56
61 inline const CheckpointUpdatedExecutionState& GetNewExecutionState() const { return m_newExecutionState; }
62 template <typename NewExecutionStateT = CheckpointUpdatedExecutionState>
63 void SetNewExecutionState(NewExecutionStateT&& value) {
64 m_newExecutionStateHasBeenSet = true;
65 m_newExecutionState = std::forward<NewExecutionStateT>(value);
66 }
67 template <typename NewExecutionStateT = CheckpointUpdatedExecutionState>
69 SetNewExecutionState(std::forward<NewExecutionStateT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_checkpointToken;
90
91 CheckpointUpdatedExecutionState m_newExecutionState;
92
93 Aws::String m_requestId;
94 bool m_checkpointTokenHasBeenSet = false;
95 bool m_newExecutionStateHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Lambda
101} // 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