AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetDurableExecutionStateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Lambda {
18namespace Model {
19
23 public:
24 AWS_LAMBDA_API GetDurableExecutionStateRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetDurableExecutionState"; }
31
32 AWS_LAMBDA_API Aws::String SerializePayload() const override;
33
34 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDurableExecutionArn() const { return m_durableExecutionArn; }
41 inline bool DurableExecutionArnHasBeenSet() const { return m_durableExecutionArnHasBeenSet; }
42 template <typename DurableExecutionArnT = Aws::String>
43 void SetDurableExecutionArn(DurableExecutionArnT&& value) {
44 m_durableExecutionArnHasBeenSet = true;
45 m_durableExecutionArn = std::forward<DurableExecutionArnT>(value);
46 }
47 template <typename DurableExecutionArnT = Aws::String>
49 SetDurableExecutionArn(std::forward<DurableExecutionArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetCheckpointToken() const { return m_checkpointToken; }
61 inline bool CheckpointTokenHasBeenSet() const { return m_checkpointTokenHasBeenSet; }
62 template <typename CheckpointTokenT = Aws::String>
63 void SetCheckpointToken(CheckpointTokenT&& value) {
64 m_checkpointTokenHasBeenSet = true;
65 m_checkpointToken = std::forward<CheckpointTokenT>(value);
66 }
67 template <typename CheckpointTokenT = Aws::String>
69 SetCheckpointToken(std::forward<CheckpointTokenT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetMarker() const { return m_marker; }
81 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
82 template <typename MarkerT = Aws::String>
83 void SetMarker(MarkerT&& value) {
84 m_markerHasBeenSet = true;
85 m_marker = std::forward<MarkerT>(value);
86 }
87 template <typename MarkerT = Aws::String>
89 SetMarker(std::forward<MarkerT>(value));
90 return *this;
91 }
93
95
100 inline int GetMaxItems() const { return m_maxItems; }
101 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
102 inline void SetMaxItems(int value) {
103 m_maxItemsHasBeenSet = true;
104 m_maxItems = value;
105 }
107 SetMaxItems(value);
108 return *this;
109 }
111 private:
112 Aws::String m_durableExecutionArn;
113
114 Aws::String m_checkpointToken;
115
116 Aws::String m_marker;
117
118 int m_maxItems{0};
119 bool m_durableExecutionArnHasBeenSet = false;
120 bool m_checkpointTokenHasBeenSet = false;
121 bool m_markerHasBeenSet = false;
122 bool m_maxItemsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Lambda
127} // namespace Aws
AWS_LAMBDA_API Aws::String SerializePayload() const override
AWS_LAMBDA_API GetDurableExecutionStateRequest()=default
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDurableExecutionStateRequest & WithDurableExecutionArn(DurableExecutionArnT &&value)
GetDurableExecutionStateRequest & WithMaxItems(int value)
GetDurableExecutionStateRequest & WithCheckpointToken(CheckpointTokenT &&value)
GetDurableExecutionStateRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String