AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListCalculationExecutionsRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/CalculationExecutionState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Athena
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ATHENA_API ListCalculationExecutionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListCalculationExecutions"; }
32
33 AWS_ATHENA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetSessionId() const { return m_sessionId; }
43 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
44 template<typename SessionIdT = Aws::String>
45 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
46 template<typename SessionIdT = Aws::String>
47 ListCalculationExecutionsRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
49
51
64 inline CalculationExecutionState GetStateFilter() const { return m_stateFilter; }
65 inline bool StateFilterHasBeenSet() const { return m_stateFilterHasBeenSet; }
66 inline void SetStateFilter(CalculationExecutionState value) { m_stateFilterHasBeenSet = true; m_stateFilter = value; }
69
71
74 inline int GetMaxResults() const { return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListCalculationExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template<typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
91 template<typename NextTokenT = Aws::String>
92 ListCalculationExecutionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
94 private:
95
96 Aws::String m_sessionId;
97 bool m_sessionIdHasBeenSet = false;
98
100 bool m_stateFilterHasBeenSet = false;
101
102 int m_maxResults{0};
103 bool m_maxResultsHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Athena
111} // namespace Aws
ListCalculationExecutionsRequest & WithSessionId(SessionIdT &&value)
ListCalculationExecutionsRequest & WithStateFilter(CalculationExecutionState value)
ListCalculationExecutionsRequest & WithMaxResults(int value)
AWS_ATHENA_API Aws::String SerializePayload() const override
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListCalculationExecutionsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String