AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
45 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
46 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
47 inline ListExecutorsRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
48 inline ListExecutorsRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
49 inline ListExecutorsRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
51
53
63 inline const ExecutorState& GetExecutorStateFilter() const{ return m_executorStateFilter; }
64 inline bool ExecutorStateFilterHasBeenSet() const { return m_executorStateFilterHasBeenSet; }
65 inline void SetExecutorStateFilter(const ExecutorState& value) { m_executorStateFilterHasBeenSet = true; m_executorStateFilter = value; }
66 inline void SetExecutorStateFilter(ExecutorState&& value) { m_executorStateFilterHasBeenSet = true; m_executorStateFilter = std::move(value); }
68 inline ListExecutorsRequest& WithExecutorStateFilter(ExecutorState&& value) { SetExecutorStateFilter(std::move(value)); return *this;}
70
72
75 inline int GetMaxResults() const{ return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 inline ListExecutorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
80
82
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 inline ListExecutorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListExecutorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListExecutorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 private:
98
99 Aws::String m_sessionId;
100 bool m_sessionIdHasBeenSet = false;
101
102 ExecutorState m_executorStateFilter;
103 bool m_executorStateFilterHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Athena
114} // namespace Aws
ListExecutorsRequest & WithMaxResults(int value)
ListExecutorsRequest & WithNextToken(const char *value)
ListExecutorsRequest & WithExecutorStateFilter(const ExecutorState &value)
void SetNextToken(const Aws::String &value)
ListExecutorsRequest & WithExecutorStateFilter(ExecutorState &&value)
const ExecutorState & GetExecutorStateFilter() const
void SetExecutorStateFilter(const ExecutorState &value)
ListExecutorsRequest & WithSessionId(Aws::String &&value)
ListExecutorsRequest & WithNextToken(const Aws::String &value)
void SetSessionId(const Aws::String &value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetExecutorStateFilter(ExecutorState &&value)
ListExecutorsRequest & WithSessionId(const char *value)
ListExecutorsRequest & WithNextToken(Aws::String &&value)
ListExecutorsRequest & WithSessionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String