7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/ListedHostKey.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
45 template<
typename NextTokenT = Aws::String>
54 template<
typename ServerIdT = Aws::String>
55 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet =
true; m_serverId = std::forward<ServerIdT>(value); }
56 template<
typename ServerIdT = Aws::String>
65 template<
typename HostKeysT = Aws::Vector<ListedHostKey>>
66 void SetHostKeys(HostKeysT&& value) { m_hostKeysHasBeenSet =
true; m_hostKeys = std::forward<HostKeysT>(value); }
67 template<
typename HostKeysT = Aws::Vector<ListedHostKey>>
69 template<
typename HostKeysT = ListedHostKey>
70 ListHostKeysResult&
AddHostKeys(HostKeysT&& value) { m_hostKeysHasBeenSet =
true; m_hostKeys.emplace_back(std::forward<HostKeysT>(value));
return *
this; }
76 template<
typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
78 template<
typename RequestIdT = Aws::String>
84 bool m_nextTokenHasBeenSet =
false;
87 bool m_serverIdHasBeenSet =
false;
90 bool m_hostKeysHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
ListHostKeysResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< ListedHostKey > & GetHostKeys() const
const Aws::String & GetServerId() const
ListHostKeysResult & AddHostKeys(HostKeysT &&value)
void SetHostKeys(HostKeysT &&value)
AWS_TRANSFER_API ListHostKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostKeysResult & WithServerId(ServerIdT &&value)
void SetServerId(ServerIdT &&value)
ListHostKeysResult & WithNextToken(NextTokenT &&value)
AWS_TRANSFER_API ListHostKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSFER_API ListHostKeysResult()=default
ListHostKeysResult & WithHostKeys(HostKeysT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&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