7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
11#include <aws/devicefarm/model/Run.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename RunsT = Aws::Vector<Run>>
44 m_runsHasBeenSet =
true;
45 m_runs = std::forward<RunsT>(value);
47 template <
typename RunsT = Aws::Vector<Run>>
49 SetRuns(std::forward<RunsT>(value));
52 template <
typename RunsT = Run>
54 m_runsHasBeenSet =
true;
55 m_runs.emplace_back(std::forward<RunsT>(value));
67 template <
typename NextTokenT = Aws::String>
69 m_nextTokenHasBeenSet =
true;
70 m_nextToken = std::forward<NextTokenT>(value);
72 template <
typename NextTokenT = Aws::String>
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
102 bool m_runsHasBeenSet =
false;
103 bool m_nextTokenHasBeenSet =
false;
104 bool m_requestIdHasBeenSet =
false;
ListRunsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DEVICEFARM_API ListRunsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
AWS_DEVICEFARM_API ListRunsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListRunsResult & AddRuns(RunsT &&value)
AWS_DEVICEFARM_API ListRunsResult()=default
const Aws::String & GetRequestId() const
void SetRuns(RunsT &&value)
ListRunsResult & WithRuns(RunsT &&value)
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Run > & GetRuns() const
ListRunsResult & WithNextToken(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