AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
44 inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
45 inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
46 inline GetExecutionHistoryRequest& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
47 inline GetExecutionHistoryRequest& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
48 inline GetExecutionHistoryRequest& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
50
52
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline GetExecutionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
69 inline bool GetReverseOrder() const{ return m_reverseOrder; }
70 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
71 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
72 inline GetExecutionHistoryRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
74
76
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline GetExecutionHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline GetExecutionHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline GetExecutionHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93
95
99 inline bool GetIncludeExecutionData() const{ return m_includeExecutionData; }
100 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
101 inline void SetIncludeExecutionData(bool value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
104 private:
105
106 Aws::String m_executionArn;
107 bool m_executionArnHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 bool m_reverseOrder;
113 bool m_reverseOrderHasBeenSet = false;
114
115 Aws::String m_nextToken;
116 bool m_nextTokenHasBeenSet = false;
117
118 bool m_includeExecutionData;
119 bool m_includeExecutionDataHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SFN
124} // namespace Aws
GetExecutionHistoryRequest & WithExecutionArn(const char *value)
GetExecutionHistoryRequest & WithIncludeExecutionData(bool value)
GetExecutionHistoryRequest & WithNextToken(Aws::String &&value)
GetExecutionHistoryRequest & WithNextToken(const Aws::String &value)
GetExecutionHistoryRequest & WithReverseOrder(bool value)
GetExecutionHistoryRequest & WithExecutionArn(Aws::String &&value)
GetExecutionHistoryRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
GetExecutionHistoryRequest & WithExecutionArn(const Aws::String &value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SFN_API Aws::String SerializePayload() const override
GetExecutionHistoryRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String