7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/Job.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
47 template<
typename JobsT = Aws::Vector<Job>>
48 void SetJobs(JobsT&& value) { m_jobsHasBeenSet =
true; m_jobs = std::forward<JobsT>(value); }
49 template<
typename JobsT = Aws::Vector<Job>>
51 template<
typename JobsT = Job>
52 ListJobsResult&
AddJobs(JobsT&& value) { m_jobsHasBeenSet =
true; m_jobs.emplace_back(std::forward<JobsT>(value));
return *
this; }
62 template<
typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<
typename NextTokenT = Aws::String>
71 template<
typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
73 template<
typename RequestIdT = Aws::String>
79 bool m_jobsHasBeenSet =
false;
82 bool m_nextTokenHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
AWS_DEVICEFARM_API ListJobsResult()=default
ListJobsResult & AddJobs(JobsT &&value)
const Aws::String & GetRequestId() const
ListJobsResult & WithNextToken(NextTokenT &&value)
void SetJobs(JobsT &&value)
AWS_DEVICEFARM_API ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListJobsResult & WithJobs(JobsT &&value)
AWS_DEVICEFARM_API ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Job > & GetJobs() const
void SetNextToken(NextTokenT &&value)
ListJobsResult & WithRequestId(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