7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/Session.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename IdsT = Aws::Vector<Aws::String>>
38 m_idsHasBeenSet =
true;
39 m_ids = std::forward<IdsT>(value);
41 template <
typename IdsT = Aws::Vector<Aws::String>>
43 SetIds(std::forward<IdsT>(value));
46 template <
typename IdsT = Aws::String>
48 m_idsHasBeenSet =
true;
49 m_ids.emplace_back(std::forward<IdsT>(value));
59 template <
typename SessionsT = Aws::Vector<Session>>
61 m_sessionsHasBeenSet =
true;
62 m_sessions = std::forward<SessionsT>(value);
64 template <
typename SessionsT = Aws::Vector<Session>>
69 template <
typename SessionsT = Session>
71 m_sessionsHasBeenSet =
true;
72 m_sessions.emplace_back(std::forward<SessionsT>(value));
83 template <
typename NextTokenT = Aws::String>
85 m_nextTokenHasBeenSet =
true;
86 m_nextToken = std::forward<NextTokenT>(value);
88 template <
typename NextTokenT = Aws::String>
98 template <
typename RequestIdT = Aws::String>
100 m_requestIdHasBeenSet =
true;
101 m_requestId = std::forward<RequestIdT>(value);
103 template <
typename RequestIdT = Aws::String>
111 bool m_idsHasBeenSet =
false;
114 bool m_sessionsHasBeenSet =
false;
117 bool m_nextTokenHasBeenSet =
false;
120 bool m_requestIdHasBeenSet =
false;
void SetSessions(SessionsT &&value)
ListSessionsResult & WithNextToken(NextTokenT &&value)
ListSessionsResult & AddIds(IdsT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< Session > & GetSessions() const
AWS_GLUE_API ListSessionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSessionsResult & WithIds(IdsT &&value)
ListSessionsResult & AddSessions(SessionsT &&value)
void SetNextToken(NextTokenT &&value)
ListSessionsResult & WithSessions(SessionsT &&value)
ListSessionsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetIds(IdsT &&value)
AWS_GLUE_API ListSessionsResult()=default
const Aws::Vector< Aws::String > & GetIds() const
AWS_GLUE_API ListSessionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue