AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
BatchGetJobsResult.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/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/Job.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 Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API BatchGetJobsResult() = default;
30
32
35 inline const Aws::Vector<Job>& GetJobs() const { return m_jobs; }
36 template <typename JobsT = Aws::Vector<Job>>
37 void SetJobs(JobsT&& value) {
38 m_jobsHasBeenSet = true;
39 m_jobs = std::forward<JobsT>(value);
40 }
41 template <typename JobsT = Aws::Vector<Job>>
42 BatchGetJobsResult& WithJobs(JobsT&& value) {
43 SetJobs(std::forward<JobsT>(value));
44 return *this;
45 }
46 template <typename JobsT = Job>
47 BatchGetJobsResult& AddJobs(JobsT&& value) {
48 m_jobsHasBeenSet = true;
49 m_jobs.emplace_back(std::forward<JobsT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetJobsNotFound() const { return m_jobsNotFound; }
59 template <typename JobsNotFoundT = Aws::Vector<Aws::String>>
60 void SetJobsNotFound(JobsNotFoundT&& value) {
61 m_jobsNotFoundHasBeenSet = true;
62 m_jobsNotFound = std::forward<JobsNotFoundT>(value);
63 }
64 template <typename JobsNotFoundT = Aws::Vector<Aws::String>>
65 BatchGetJobsResult& WithJobsNotFound(JobsNotFoundT&& value) {
66 SetJobsNotFound(std::forward<JobsNotFoundT>(value));
67 return *this;
68 }
69 template <typename JobsNotFoundT = Aws::String>
70 BatchGetJobsResult& AddJobsNotFound(JobsNotFoundT&& value) {
71 m_jobsNotFoundHasBeenSet = true;
72 m_jobsNotFound.emplace_back(std::forward<JobsNotFoundT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
86 BatchGetJobsResult& WithRequestId(RequestIdT&& value) {
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Job> m_jobs;
93 bool m_jobsHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_jobsNotFound;
96 bool m_jobsNotFoundHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
void SetJobsNotFound(JobsNotFoundT &&value)
BatchGetJobsResult & WithRequestId(RequestIdT &&value)
BatchGetJobsResult & WithJobs(JobsT &&value)
AWS_GLUE_API BatchGetJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API BatchGetJobsResult()=default
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::String > & GetJobsNotFound() const
BatchGetJobsResult & AddJobs(JobsT &&value)
const Aws::Vector< Job > & GetJobs() const
BatchGetJobsResult & AddJobsNotFound(JobsNotFoundT &&value)
BatchGetJobsResult & WithJobsNotFound(JobsNotFoundT &&value)
AWS_GLUE_API BatchGetJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue