AWS SDK for C++  1.9.104
AWS SDK for C++
GetExecutionHistoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
15 {
16 namespace 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::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
41 
45  inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
46 
50  inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
51 
55  inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
56 
60  inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
61 
65  inline GetExecutionHistoryRequest& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
66 
70  inline GetExecutionHistoryRequest& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
71 
75  inline GetExecutionHistoryRequest& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
76 
77 
85  inline int GetMaxResults() const{ return m_maxResults; }
86 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
103  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 
112  inline GetExecutionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113 
114 
118  inline bool GetReverseOrder() const{ return m_reverseOrder; }
119 
123  inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
124 
128  inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
129 
133  inline GetExecutionHistoryRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
134 
135 
144  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
145 
154  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
155 
164  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
165 
174  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
175 
184  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
185 
194  inline GetExecutionHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
195 
204  inline GetExecutionHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
205 
214  inline GetExecutionHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
215 
216 
221  inline bool GetIncludeExecutionData() const{ return m_includeExecutionData; }
222 
227  inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
228 
233  inline void SetIncludeExecutionData(bool value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
234 
239  inline GetExecutionHistoryRequest& WithIncludeExecutionData(bool value) { SetIncludeExecutionData(value); return *this;}
240 
241  private:
242 
243  Aws::String m_executionArn;
244  bool m_executionArnHasBeenSet;
245 
246  int m_maxResults;
247  bool m_maxResultsHasBeenSet;
248 
249  bool m_reverseOrder;
250  bool m_reverseOrderHasBeenSet;
251 
252  Aws::String m_nextToken;
253  bool m_nextTokenHasBeenSet;
254 
255  bool m_includeExecutionData;
256  bool m_includeExecutionDataHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace SFN
261 } // namespace Aws
Aws::SFN::Model::GetExecutionHistoryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::Model::GetExecutionHistoryRequest::SetExecutionArn
void SetExecutionArn(const char *value)
Definition: GetExecutionHistoryRequest.h:60
Aws::SFN::Model::GetExecutionHistoryRequest::WithIncludeExecutionData
GetExecutionHistoryRequest & WithIncludeExecutionData(bool value)
Definition: GetExecutionHistoryRequest.h:239
Aws::SFN::Model::GetExecutionHistoryRequest::WithExecutionArn
GetExecutionHistoryRequest & WithExecutionArn(const Aws::String &value)
Definition: GetExecutionHistoryRequest.h:65
Aws::SFN::Model::GetExecutionHistoryRequest::GetMaxResults
int GetMaxResults() const
Definition: GetExecutionHistoryRequest.h:85
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::GetExecutionHistoryRequest::GetReverseOrder
bool GetReverseOrder() const
Definition: GetExecutionHistoryRequest.h:118
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::GetExecutionHistoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetExecutionHistoryRequest.h:164
Aws::SFN::Model::GetExecutionHistoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::GetExecutionHistoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetExecutionHistoryRequest.h:184
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::GetExecutionHistoryRequest::ExecutionArnHasBeenSet
bool ExecutionArnHasBeenSet() const
Definition: GetExecutionHistoryRequest.h:45
SFN_EXPORTS.h
Aws::SFN::Model::GetExecutionHistoryRequest::GetExecutionArn
const Aws::String & GetExecutionArn() const
Definition: GetExecutionHistoryRequest.h:40
Aws::SFN::Model::GetExecutionHistoryRequest::GetIncludeExecutionData
bool GetIncludeExecutionData() const
Definition: GetExecutionHistoryRequest.h:221
Aws::SFN::Model::GetExecutionHistoryRequest::GetExecutionHistoryRequest
GetExecutionHistoryRequest()
Aws::SFN::Model::GetExecutionHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetExecutionHistoryRequest.h:30
Aws::SFN::Model::GetExecutionHistoryRequest
Definition: GetExecutionHistoryRequest.h:22
Aws::SFN::Model::GetExecutionHistoryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetExecutionHistoryRequest.h:103
Aws::SFN::Model::GetExecutionHistoryRequest::WithExecutionArn
GetExecutionHistoryRequest & WithExecutionArn(const char *value)
Definition: GetExecutionHistoryRequest.h:75
Aws::SFN::Model::GetExecutionHistoryRequest::WithNextToken
GetExecutionHistoryRequest & WithNextToken(const char *value)
Definition: GetExecutionHistoryRequest.h:214
Aws::SFN::Model::GetExecutionHistoryRequest::WithExecutionArn
GetExecutionHistoryRequest & WithExecutionArn(Aws::String &&value)
Definition: GetExecutionHistoryRequest.h:70
Aws::SFN::Model::GetExecutionHistoryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetExecutionHistoryRequest.h:94
Aws::SFN::Model::GetExecutionHistoryRequest::WithReverseOrder
GetExecutionHistoryRequest & WithReverseOrder(bool value)
Definition: GetExecutionHistoryRequest.h:133
Aws::SFN::Model::GetExecutionHistoryRequest::SetExecutionArn
void SetExecutionArn(Aws::String &&value)
Definition: GetExecutionHistoryRequest.h:55
SFNRequest.h
AWSString.h
Aws::SFN::Model::GetExecutionHistoryRequest::WithMaxResults
GetExecutionHistoryRequest & WithMaxResults(int value)
Definition: GetExecutionHistoryRequest.h:112
Aws::SFN::Model::GetExecutionHistoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetExecutionHistoryRequest.h:154
Aws::SFN::Model::GetExecutionHistoryRequest::SetExecutionArn
void SetExecutionArn(const Aws::String &value)
Definition: GetExecutionHistoryRequest.h:50
Aws::SFN::Model::GetExecutionHistoryRequest::WithNextToken
GetExecutionHistoryRequest & WithNextToken(Aws::String &&value)
Definition: GetExecutionHistoryRequest.h:204
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::GetExecutionHistoryRequest::ReverseOrderHasBeenSet
bool ReverseOrderHasBeenSet() const
Definition: GetExecutionHistoryRequest.h:123
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::GetExecutionHistoryRequest::IncludeExecutionDataHasBeenSet
bool IncludeExecutionDataHasBeenSet() const
Definition: GetExecutionHistoryRequest.h:227
Aws::SFN::Model::GetExecutionHistoryRequest::WithNextToken
GetExecutionHistoryRequest & WithNextToken(const Aws::String &value)
Definition: GetExecutionHistoryRequest.h:194
Aws::SFN::Model::GetExecutionHistoryRequest::SetIncludeExecutionData
void SetIncludeExecutionData(bool value)
Definition: GetExecutionHistoryRequest.h:233
Aws::SFN::Model::GetExecutionHistoryRequest::SetReverseOrder
void SetReverseOrder(bool value)
Definition: GetExecutionHistoryRequest.h:128
Aws::SFN::Model::GetExecutionHistoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetExecutionHistoryRequest.h:144
Aws::SFN::Model::GetExecutionHistoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetExecutionHistoryRequest.h:174