AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetExecutionHistoryRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SFN
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SFN_API GetExecutionHistoryRequest() = 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 "GetExecutionHistory"; }
31
32 AWS_SFN_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
42 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
43 template<typename ExecutionArnT = Aws::String>
44 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
45 template<typename ExecutionArnT = Aws::String>
46 GetExecutionHistoryRequest& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
48
50
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline GetExecutionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
67 inline bool GetReverseOrder() const { return m_reverseOrder; }
68 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
69 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
70 inline GetExecutionHistoryRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
72
74
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 GetExecutionHistoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
95 inline bool GetIncludeExecutionData() const { return m_includeExecutionData; }
96 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
97 inline void SetIncludeExecutionData(bool value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
100 private:
101
102 Aws::String m_executionArn;
103 bool m_executionArnHasBeenSet = false;
104
105 int m_maxResults{0};
106 bool m_maxResultsHasBeenSet = false;
107
108 bool m_reverseOrder{false};
109 bool m_reverseOrderHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113
114 bool m_includeExecutionData{false};
115 bool m_includeExecutionDataHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SFN
120} // 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