AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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 ListCalculationExecutionsRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
48 inline ListCalculationExecutionsRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
49 inline ListCalculationExecutionsRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
51
53
66 inline const CalculationExecutionState& GetStateFilter() const{ return m_stateFilter; }
67 inline bool StateFilterHasBeenSet() const { return m_stateFilterHasBeenSet; }
68 inline void SetStateFilter(const CalculationExecutionState& value) { m_stateFilterHasBeenSet = true; m_stateFilter = value; }
69 inline void SetStateFilter(CalculationExecutionState&& value) { m_stateFilterHasBeenSet = true; m_stateFilter = std::move(value); }
73
75
78 inline int GetMaxResults() const{ return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline ListCalculationExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline ListCalculationExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline ListCalculationExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline ListCalculationExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 private:
101
102 Aws::String m_sessionId;
103 bool m_sessionIdHasBeenSet = false;
104
105 CalculationExecutionState m_stateFilter;
106 bool m_stateFilterHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Athena
117} // namespace Aws
ListCalculationExecutionsRequest & WithStateFilter(CalculationExecutionState &&value)
ListCalculationExecutionsRequest & WithMaxResults(int value)
ListCalculationExecutionsRequest & WithSessionId(const char *value)
ListCalculationExecutionsRequest & WithNextToken(const Aws::String &value)
ListCalculationExecutionsRequest & WithNextToken(const char *value)
ListCalculationExecutionsRequest & WithSessionId(const Aws::String &value)
AWS_ATHENA_API Aws::String SerializePayload() const override
void SetStateFilter(const CalculationExecutionState &value)
ListCalculationExecutionsRequest & WithSessionId(Aws::String &&value)
ListCalculationExecutionsRequest & WithStateFilter(const CalculationExecutionState &value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListCalculationExecutionsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String