AWS SDK for C++  1.8.157
AWS SDK for C++
ListJobsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace S3Control
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
91  inline const Aws::Vector<JobListDescriptor>& GetJobs() const{ return m_jobs; }
92 
97  inline void SetJobs(const Aws::Vector<JobListDescriptor>& value) { m_jobs = value; }
98 
103  inline void SetJobs(Aws::Vector<JobListDescriptor>&& value) { m_jobs = std::move(value); }
104 
109  inline ListJobsResult& WithJobs(const Aws::Vector<JobListDescriptor>& value) { SetJobs(value); return *this;}
110 
115  inline ListJobsResult& WithJobs(Aws::Vector<JobListDescriptor>&& value) { SetJobs(std::move(value)); return *this;}
116 
121  inline ListJobsResult& AddJobs(const JobListDescriptor& value) { m_jobs.push_back(value); return *this; }
122 
127  inline ListJobsResult& AddJobs(JobListDescriptor&& value) { m_jobs.push_back(std::move(value)); return *this; }
128 
129  private:
130 
131  Aws::String m_nextToken;
132 
134  };
135 
136 } // namespace Model
137 } // namespace S3Control
138 } // namespace Aws
Aws::S3Control::Model::ListJobsResult::operator=
ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::ListJobsResult::GetJobs
const Aws::Vector< JobListDescriptor > & GetJobs() const
Definition: ListJobsResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::ListJobsResult
Definition: ListJobsResult.h:30
Aws::S3Control::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(Aws::String &&value)
Definition: ListJobsResult.h:77
Aws::S3Control::Model::ListJobsResult::AddJobs
ListJobsResult & AddJobs(JobListDescriptor &&value)
Definition: ListJobsResult.h:127
Aws::S3Control::Model::ListJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobsResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::S3Control::Model::ListJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobsResult.h:63
AWSVector.h
Aws::S3Control::Model::ListJobsResult::WithJobs
ListJobsResult & WithJobs(const Aws::Vector< JobListDescriptor > &value)
Definition: ListJobsResult.h:109
S3Control_EXPORTS.h
Aws::S3Control::Model::ListJobsResult::AddJobs
ListJobsResult & AddJobs(const JobListDescriptor &value)
Definition: ListJobsResult.h:121
Aws::S3Control::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const char *value)
Definition: ListJobsResult.h:84
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ListJobsResult::SetJobs
void SetJobs(const Aws::Vector< JobListDescriptor > &value)
Definition: ListJobsResult.h:97
Aws::S3Control::Model::ListJobsResult::WithJobs
ListJobsResult & WithJobs(Aws::Vector< JobListDescriptor > &&value)
Definition: ListJobsResult.h:115
AWSString.h
JobListDescriptor.h
Aws::S3Control::Model::ListJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobsResult.h:42
Aws::S3Control::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const Aws::String &value)
Definition: ListJobsResult.h:70
Aws::S3Control::Model::ListJobsResult::ListJobsResult
ListJobsResult()
Aws::S3Control::Model::ListJobsResult::ListJobsResult
ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ListJobsResult::SetJobs
void SetJobs(Aws::Vector< JobListDescriptor > &&value)
Definition: ListJobsResult.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::JobListDescriptor
Definition: JobListDescriptor.h:36
Aws::S3Control::Model::ListJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobsResult.h:49