AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
41
42
44
48 inline const Aws::Vector<GlacierJobDescription>& GetJobList() const { return m_jobList; }
49 template<typename JobListT = Aws::Vector<GlacierJobDescription>>
50 void SetJobList(JobListT&& value) { m_jobListHasBeenSet = true; m_jobList = std::forward<JobListT>(value); }
51 template<typename JobListT = Aws::Vector<GlacierJobDescription>>
52 ListJobsResult& WithJobList(JobListT&& value) { SetJobList(std::forward<JobListT>(value)); return *this;}
53 template<typename JobListT = GlacierJobDescription>
54 ListJobsResult& AddJobList(JobListT&& value) { m_jobListHasBeenSet = true; m_jobList.emplace_back(std::forward<JobListT>(value)); return *this; }
56
58
65 inline const Aws::String& GetMarker() const { return m_marker; }
66 template<typename MarkerT = Aws::String>
67 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
68 template<typename MarkerT = Aws::String>
69 ListJobsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 ListJobsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
83 bool m_jobListHasBeenSet = false;
84
85 Aws::String m_marker;
86 bool m_markerHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glacier
94} // 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