AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListExecutorsResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/athena/model/ExecutorsSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Athena
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ATHENA_API ListExecutorsResult();
35
36
38
41 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
42 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
43 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
44 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
45 inline ListExecutorsResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
46 inline ListExecutorsResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
47 inline ListExecutorsResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
49
51
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline ListExecutorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline ListExecutorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline ListExecutorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
70 inline const Aws::Vector<ExecutorsSummary>& GetExecutorsSummary() const{ return m_executorsSummary; }
71 inline void SetExecutorsSummary(const Aws::Vector<ExecutorsSummary>& value) { m_executorsSummary = value; }
72 inline void SetExecutorsSummary(Aws::Vector<ExecutorsSummary>&& value) { m_executorsSummary = std::move(value); }
75 inline ListExecutorsResult& AddExecutorsSummary(const ExecutorsSummary& value) { m_executorsSummary.push_back(value); return *this; }
76 inline ListExecutorsResult& AddExecutorsSummary(ExecutorsSummary&& value) { m_executorsSummary.push_back(std::move(value)); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline ListExecutorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline ListExecutorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline ListExecutorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_sessionId;
92
93 Aws::String m_nextToken;
94
95 Aws::Vector<ExecutorsSummary> m_executorsSummary;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace Athena
102} // namespace Aws
void SetExecutorsSummary(Aws::Vector< ExecutorsSummary > &&value)
ListExecutorsResult & WithRequestId(const Aws::String &value)
ListExecutorsResult & WithNextToken(const Aws::String &value)
ListExecutorsResult & WithSessionId(Aws::String &&value)
ListExecutorsResult & WithNextToken(const char *value)
void SetSessionId(const Aws::String &value)
void SetExecutorsSummary(const Aws::Vector< ExecutorsSummary > &value)
ListExecutorsResult & WithSessionId(const char *value)
ListExecutorsResult & WithNextToken(Aws::String &&value)
const Aws::Vector< ExecutorsSummary > & GetExecutorsSummary() const
ListExecutorsResult & AddExecutorsSummary(const ExecutorsSummary &value)
ListExecutorsResult & AddExecutorsSummary(ExecutorsSummary &&value)
ListExecutorsResult & WithExecutorsSummary(Aws::Vector< ExecutorsSummary > &&value)
ListExecutorsResult & WithSessionId(const Aws::String &value)
ListExecutorsResult & WithRequestId(Aws::String &&value)
ListExecutorsResult & WithRequestId(const char *value)
ListExecutorsResult & WithExecutorsSummary(const Aws::Vector< ExecutorsSummary > &value)
void SetRequestId(const Aws::String &value)
AWS_ATHENA_API ListExecutorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(const Aws::String &value)
AWS_ATHENA_API ListExecutorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue