7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/Compute.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ComputeListT = Aws::Vector<Compute>>
43 void SetComputeList(ComputeListT&& value) { m_computeListHasBeenSet =
true; m_computeList = std::forward<ComputeListT>(value); }
44 template<
typename ComputeListT = Aws::Vector<Compute>>
46 template<
typename ComputeListT = Compute>
47 ListComputeResult&
AddComputeList(ComputeListT&& value) { m_computeListHasBeenSet =
true; m_computeList.emplace_back(std::forward<ComputeListT>(value));
return *
this; }
57 template<
typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
59 template<
typename NextTokenT = Aws::String>
66 template<
typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
68 template<
typename RequestIdT = Aws::String>
74 bool m_computeListHasBeenSet =
false;
77 bool m_nextTokenHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_GAMELIFT_API ListComputeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListComputeResult & WithComputeList(ComputeListT &&value)
const Aws::String & GetNextToken() const
AWS_GAMELIFT_API ListComputeResult()=default
ListComputeResult & AddComputeList(ComputeListT &&value)
ListComputeResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListComputeResult & WithNextToken(NextTokenT &&value)
AWS_GAMELIFT_API ListComputeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComputeList(ComputeListT &&value)
const Aws::Vector< Compute > & GetComputeList() 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