7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/migrationhubstrategy/model/ServerDetail.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace MigrationHubStrategyRecommendations
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 ServerInfosT = Aws::Vector<ServerDetail>>
55 void SetServerInfos(ServerInfosT&& value) { m_serverInfosHasBeenSet =
true; m_serverInfos = std::forward<ServerInfosT>(value); }
56 template<
typename ServerInfosT = Aws::Vector<ServerDetail>>
58 template<
typename ServerInfosT = ServerDetail>
59 ListServersResult&
AddServerInfos(ServerInfosT&& value) { m_serverInfosHasBeenSet =
true; m_serverInfos.emplace_back(std::forward<ServerInfosT>(value));
return *
this; }
65 template<
typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
67 template<
typename RequestIdT = Aws::String>
73 bool m_nextTokenHasBeenSet =
false;
76 bool m_serverInfosHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
ListServersResult & WithServerInfos(ServerInfosT &&value)
const Aws::String & GetRequestId() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListServersResult()=default
ListServersResult & AddServerInfos(ServerInfosT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListServersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListServersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServersResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
void SetServerInfos(ServerInfosT &&value)
const Aws::Vector< ServerDetail > & GetServerInfos() const
void SetNextToken(NextTokenT &&value)
ListServersResult & WithNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&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