AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetExecutionHistoryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/states/SFN_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SFN {
15namespace Model {
16
20 public:
21 AWS_SFN_API GetExecutionHistoryRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetExecutionHistory"; }
28
29 AWS_SFN_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
38 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
39 template <typename ExecutionArnT = Aws::String>
40 void SetExecutionArn(ExecutionArnT&& value) {
41 m_executionArnHasBeenSet = true;
42 m_executionArn = std::forward<ExecutionArnT>(value);
43 }
44 template <typename ExecutionArnT = Aws::String>
46 SetExecutionArn(std::forward<ExecutionArnT>(value));
47 return *this;
48 }
50
52
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) {
62 m_maxResultsHasBeenSet = true;
63 m_maxResults = value;
64 }
66 SetMaxResults(value);
67 return *this;
68 }
70
72
75 inline bool GetReverseOrder() const { return m_reverseOrder; }
76 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
77 inline void SetReverseOrder(bool value) {
78 m_reverseOrderHasBeenSet = true;
79 m_reverseOrder = value;
80 }
82 SetReverseOrder(value);
83 return *this;
84 }
86
88
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109
111
115 inline bool GetIncludeExecutionData() const { return m_includeExecutionData; }
116 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
117 inline void SetIncludeExecutionData(bool value) {
118 m_includeExecutionDataHasBeenSet = true;
119 m_includeExecutionData = value;
120 }
123 return *this;
124 }
126 private:
127 Aws::String m_executionArn;
128
129 int m_maxResults{0};
130
131 bool m_reverseOrder{false};
132
133 Aws::String m_nextToken;
134
135 bool m_includeExecutionData{false};
136 bool m_executionArnHasBeenSet = false;
137 bool m_maxResultsHasBeenSet = false;
138 bool m_reverseOrderHasBeenSet = false;
139 bool m_nextTokenHasBeenSet = false;
140 bool m_includeExecutionDataHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace SFN
145} // namespace Aws
GetExecutionHistoryRequest & WithNextToken(NextTokenT &&value)
AWS_SFN_API GetExecutionHistoryRequest()=default
GetExecutionHistoryRequest & WithExecutionArn(ExecutionArnT &&value)
GetExecutionHistoryRequest & WithIncludeExecutionData(bool value)
GetExecutionHistoryRequest & WithReverseOrder(bool value)
GetExecutionHistoryRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SFN_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String