7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3control/model/JobListDescriptor.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 template<
typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<
typename NextTokenT = Aws::String>
56 template<
typename JobsT = Aws::Vector<JobListDescriptor>>
57 void SetJobs(JobsT&& value) { m_jobsHasBeenSet =
true; m_jobs = std::forward<JobsT>(value); }
58 template<
typename JobsT = Aws::Vector<JobListDescriptor>>
60 template<
typename JobsT = JobListDescriptor>
61 ListJobsResult&
AddJobs(JobsT&& value) { m_jobsHasBeenSet =
true; m_jobs.emplace_back(std::forward<JobsT>(value));
return *
this; }
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
80 template<
typename HostIdT = Aws::String>
81 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet =
true; m_hostId = std::forward<HostIdT>(value); }
82 template<
typename HostIdT = Aws::String>
88 bool m_nextTokenHasBeenSet =
false;
91 bool m_jobsHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
97 bool m_hostIdHasBeenSet =
false;
void SetJobs(JobsT &&value)
AWS_S3CONTROL_API ListJobsResult()=default
const Aws::Vector< JobListDescriptor > & GetJobs() const
const Aws::String & GetRequestId() const
ListJobsResult & AddJobs(JobsT &&value)
ListJobsResult & WithNextToken(NextTokenT &&value)
ListJobsResult & WithJobs(JobsT &&value)
void SetHostId(HostIdT &&value)
AWS_S3CONTROL_API ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListJobsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetHostId() const
ListJobsResult & WithHostId(HostIdT &&value)
const Aws::String & GetNextToken() const
AWS_S3CONTROL_API ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument