7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mpa/MPA_EXPORTS.h>
10#include <aws/mpa/model/ListSessionsResponseSession.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
57 template <
typename SessionsT = Aws::Vector<ListSessionsResponseSession>>
59 m_sessionsHasBeenSet =
true;
60 m_sessions = std::forward<SessionsT>(value);
62 template <
typename SessionsT = Aws::Vector<ListSessionsResponseSession>>
67 template <
typename SessionsT = ListSessionsResponseSession>
69 m_sessionsHasBeenSet =
true;
70 m_sessions.emplace_back(std::forward<SessionsT>(value));
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_sessionsHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< ListSessionsResponseSession > & GetSessions() const
const Aws::String & GetRequestId() const
ListSessionsResult & WithNextToken(NextTokenT &&value)
AWS_MPA_API ListSessionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSessionsResult & AddSessions(SessionsT &&value)
void SetSessions(SessionsT &&value)
AWS_MPA_API ListSessionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MPA_API ListSessionsResult()=default
ListSessionsResult & WithRequestId(RequestIdT &&value)
ListSessionsResult & WithSessions(SessionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue