AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListExecutorsRequest.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/ExecutorState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Athena
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ATHENA_API ListExecutorsRequest() = 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 "ListExecutors"; }
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 ListExecutorsRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
49
51
61 inline ExecutorState GetExecutorStateFilter() const { return m_executorStateFilter; }
62 inline bool ExecutorStateFilterHasBeenSet() const { return m_executorStateFilterHasBeenSet; }
63 inline void SetExecutorStateFilter(ExecutorState value) { m_executorStateFilterHasBeenSet = true; m_executorStateFilter = value; }
66
68
71 inline int GetMaxResults() const { return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListExecutorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template<typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
88 template<typename NextTokenT = Aws::String>
89 ListExecutorsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
91 private:
92
93 Aws::String m_sessionId;
94 bool m_sessionIdHasBeenSet = false;
95
96 ExecutorState m_executorStateFilter{ExecutorState::NOT_SET};
97 bool m_executorStateFilterHasBeenSet = false;
98
99 int m_maxResults{0};
100 bool m_maxResultsHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Athena
108} // namespace Aws
ListExecutorsRequest & WithMaxResults(int value)
ListExecutorsRequest & WithNextToken(NextTokenT &&value)
ListExecutorsRequest & WithSessionId(SessionIdT &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ATHENA_API ListExecutorsRequest()=default
ListExecutorsRequest & WithExecutorStateFilter(ExecutorState value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String