AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobsResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glacier/model/GlacierJobDescription.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glacier
26{
27namespace Model
28{
36 {
37 public:
38 AWS_GLACIER_API ListJobsResult();
41
42
44
48 inline const Aws::Vector<GlacierJobDescription>& GetJobList() const{ return m_jobList; }
49 inline void SetJobList(const Aws::Vector<GlacierJobDescription>& value) { m_jobList = value; }
50 inline void SetJobList(Aws::Vector<GlacierJobDescription>&& value) { m_jobList = std::move(value); }
51 inline ListJobsResult& WithJobList(const Aws::Vector<GlacierJobDescription>& value) { SetJobList(value); return *this;}
52 inline ListJobsResult& WithJobList(Aws::Vector<GlacierJobDescription>&& value) { SetJobList(std::move(value)); return *this;}
53 inline ListJobsResult& AddJobList(const GlacierJobDescription& value) { m_jobList.push_back(value); return *this; }
54 inline ListJobsResult& AddJobList(GlacierJobDescription&& value) { m_jobList.push_back(std::move(value)); return *this; }
56
58
65 inline const Aws::String& GetMarker() const{ return m_marker; }
66 inline void SetMarker(const Aws::String& value) { m_marker = value; }
67 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
68 inline void SetMarker(const char* value) { m_marker.assign(value); }
69 inline ListJobsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
70 inline ListJobsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
71 inline ListJobsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
87
88 Aws::String m_marker;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace Glacier
95} // namespace Aws
ListJobsResult & WithMarker(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetMarker(Aws::String &&value)
void SetRequestId(const char *value)
ListJobsResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetMarker(const Aws::String &value)
ListJobsResult & WithRequestId(const char *value)
void SetMarker(const char *value)
ListJobsResult & WithMarker(const char *value)
const Aws::Vector< GlacierJobDescription > & GetJobList() const
ListJobsResult & WithJobList(const Aws::Vector< GlacierJobDescription > &value)
ListJobsResult & WithJobList(Aws::Vector< GlacierJobDescription > &&value)
ListJobsResult & AddJobList(const GlacierJobDescription &value)
ListJobsResult & AddJobList(GlacierJobDescription &&value)
AWS_GLACIER_API ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListJobsResult & WithMarker(Aws::String &&value)
void SetJobList(const Aws::Vector< GlacierJobDescription > &value)
AWS_GLACIER_API ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetJobList(Aws::Vector< GlacierJobDescription > &&value)
void SetRequestId(Aws::String &&value)
ListJobsResult & WithRequestId(Aws::String &&value)
const Aws::String & GetMarker() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue