AWS SDK for C++  1.9.104
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 Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Glacier
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<GlacierJobDescription>& GetJobList() const{ return m_jobList; }
48 
53  inline void SetJobList(const Aws::Vector<GlacierJobDescription>& value) { m_jobList = value; }
54 
59  inline void SetJobList(Aws::Vector<GlacierJobDescription>&& value) { m_jobList = std::move(value); }
60 
65  inline ListJobsResult& WithJobList(const Aws::Vector<GlacierJobDescription>& value) { SetJobList(value); return *this;}
66 
71  inline ListJobsResult& WithJobList(Aws::Vector<GlacierJobDescription>&& value) { SetJobList(std::move(value)); return *this;}
72 
77  inline ListJobsResult& AddJobList(const GlacierJobDescription& value) { m_jobList.push_back(value); return *this; }
78 
83  inline ListJobsResult& AddJobList(GlacierJobDescription&& value) { m_jobList.push_back(std::move(value)); return *this; }
84 
85 
93  inline const Aws::String& GetMarker() const{ return m_marker; }
94 
102  inline void SetMarker(const Aws::String& value) { m_marker = value; }
103 
111  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
112 
120  inline void SetMarker(const char* value) { m_marker.assign(value); }
121 
129  inline ListJobsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
130 
138  inline ListJobsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
139 
147  inline ListJobsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
148 
149  private:
150 
152 
153  Aws::String m_marker;
154  };
155 
156 } // namespace Model
157 } // namespace Glacier
158 } // namespace Aws
Aws::Glacier::Model::ListJobsResult::ListJobsResult
ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListJobsResult::WithMarker
ListJobsResult & WithMarker(const char *value)
Definition: ListJobsResult.h:147
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListJobsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListJobsResult.h:111
Aws::Glacier::Model::ListJobsResult::WithJobList
ListJobsResult & WithJobList(const Aws::Vector< GlacierJobDescription > &value)
Definition: ListJobsResult.h:65
Aws::Glacier::Model::ListJobsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListJobsResult.h:102
Aws::Glacier::Model::ListJobsResult::WithMarker
ListJobsResult & WithMarker(Aws::String &&value)
Definition: ListJobsResult.h:138
Aws::Glacier::Model::ListJobsResult::WithJobList
ListJobsResult & WithJobList(Aws::Vector< GlacierJobDescription > &&value)
Definition: ListJobsResult.h:71
Aws::Glacier::Model::ListJobsResult::WithMarker
ListJobsResult & WithMarker(const Aws::String &value)
Definition: ListJobsResult.h:129
Aws::Glacier::Model::ListJobsResult::SetJobList
void SetJobList(Aws::Vector< GlacierJobDescription > &&value)
Definition: ListJobsResult.h:59
Aws::Glacier::Model::ListJobsResult
Definition: ListJobsResult.h:36
Aws::Glacier::Model::ListJobsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListJobsResult.h:93
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListJobsResult::operator=
ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListJobsResult::SetJobList
void SetJobList(const Aws::Vector< GlacierJobDescription > &value)
Definition: ListJobsResult.h:53
AWSString.h
Aws::Glacier::Model::GlacierJobDescription
Definition: GlacierJobDescription.h:38
Aws::Glacier::Model::ListJobsResult::GetJobList
const Aws::Vector< GlacierJobDescription > & GetJobList() const
Definition: ListJobsResult.h:47
Aws::Glacier::Model::ListJobsResult::AddJobList
ListJobsResult & AddJobList(const GlacierJobDescription &value)
Definition: ListJobsResult.h:77
Aws::Glacier::Model::ListJobsResult::AddJobList
ListJobsResult & AddJobList(GlacierJobDescription &&value)
Definition: ListJobsResult.h:83
GlacierJobDescription.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListJobsResult::SetMarker
void SetMarker(const char *value)
Definition: ListJobsResult.h:120
Aws::Glacier::Model::ListJobsResult::ListJobsResult
ListJobsResult()
Glacier_EXPORTS.h