AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ListJobsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10#include <aws/glacier/model/GlacierJobDescription.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier {
24namespace Model {
32 public:
33 AWS_GLACIER_API ListJobsResult() = default;
36
38
42 inline const Aws::Vector<GlacierJobDescription>& GetJobList() const { return m_jobList; }
43 template <typename JobListT = Aws::Vector<GlacierJobDescription>>
44 void SetJobList(JobListT&& value) {
45 m_jobListHasBeenSet = true;
46 m_jobList = std::forward<JobListT>(value);
47 }
48 template <typename JobListT = Aws::Vector<GlacierJobDescription>>
49 ListJobsResult& WithJobList(JobListT&& value) {
50 SetJobList(std::forward<JobListT>(value));
51 return *this;
52 }
53 template <typename JobListT = GlacierJobDescription>
54 ListJobsResult& AddJobList(JobListT&& value) {
55 m_jobListHasBeenSet = true;
56 m_jobList.emplace_back(std::forward<JobListT>(value));
57 return *this;
58 }
60
62
69 inline const Aws::String& GetMarker() const { return m_marker; }
70 template <typename MarkerT = Aws::String>
71 void SetMarker(MarkerT&& value) {
72 m_markerHasBeenSet = true;
73 m_marker = std::forward<MarkerT>(value);
74 }
75 template <typename MarkerT = Aws::String>
76 ListJobsResult& WithMarker(MarkerT&& value) {
77 SetMarker(std::forward<MarkerT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 ListJobsResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 private:
98
99 Aws::String m_marker;
100
101 Aws::String m_requestId;
102 bool m_jobListHasBeenSet = false;
103 bool m_markerHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Glacier
109} // namespace Aws
AWS_GLACIER_API ListJobsResult()=default
const Aws::String & GetRequestId() const
ListJobsResult & WithJobList(JobListT &&value)
ListJobsResult & WithMarker(MarkerT &&value)
const Aws::Vector< GlacierJobDescription > & GetJobList() const
ListJobsResult & AddJobList(JobListT &&value)
AWS_GLACIER_API ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetJobList(JobListT &&value)
ListJobsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_GLACIER_API ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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