7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/ListedServer.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename NextTokenT = Aws::String>
42 m_nextTokenHasBeenSet =
true;
43 m_nextToken = std::forward<NextTokenT>(value);
45 template <
typename NextTokenT = Aws::String>
57 template <
typename ServersT = Aws::Vector<ListedServer>>
59 m_serversHasBeenSet =
true;
60 m_servers = std::forward<ServersT>(value);
62 template <
typename ServersT = Aws::Vector<ListedServer>>
67 template <
typename ServersT = ListedServer>
69 m_serversHasBeenSet =
true;
70 m_servers.emplace_back(std::forward<ServersT>(value));
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_serversHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListServersResult & AddServers(ServersT &&value)
ListServersResult & WithRequestId(RequestIdT &&value)
AWS_TRANSFER_API ListServersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSFER_API ListServersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ListedServer > & GetServers() const
void SetServers(ServersT &&value)
const Aws::String & GetNextToken() const
AWS_TRANSFER_API ListServersResult()=default
ListServersResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListServersResult & WithServers(ServersT &&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