AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetJobsQueryResultsResult.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/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/Job.h>
11#include <aws/mediaconvert/model/JobsQueryStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert {
25namespace Model {
27 public:
28 AWS_MEDIACONVERT_API GetJobsQueryResultsResult() = default;
31
33
36 inline const Aws::Vector<Job>& GetJobs() const { return m_jobs; }
37 template <typename JobsT = Aws::Vector<Job>>
38 void SetJobs(JobsT&& value) {
39 m_jobsHasBeenSet = true;
40 m_jobs = std::forward<JobsT>(value);
41 }
42 template <typename JobsT = Aws::Vector<Job>>
44 SetJobs(std::forward<JobsT>(value));
45 return *this;
46 }
47 template <typename JobsT = Job>
49 m_jobsHasBeenSet = true;
50 m_jobs.emplace_back(std::forward<JobsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
76 inline JobsQueryStatus GetStatus() const { return m_status; }
77 inline void SetStatus(JobsQueryStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 private:
102 Aws::Vector<Job> m_jobs;
103
104 Aws::String m_nextToken;
105
107
108 Aws::String m_requestId;
109 bool m_jobsHasBeenSet = false;
110 bool m_nextTokenHasBeenSet = false;
111 bool m_statusHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace MediaConvert
117} // namespace Aws
AWS_MEDIACONVERT_API GetJobsQueryResultsResult()=default
AWS_MEDIACONVERT_API GetJobsQueryResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobsQueryResultsResult & WithJobs(JobsT &&value)
AWS_MEDIACONVERT_API GetJobsQueryResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobsQueryResultsResult & WithNextToken(NextTokenT &&value)
GetJobsQueryResultsResult & AddJobs(JobsT &&value)
GetJobsQueryResultsResult & WithRequestId(RequestIdT &&value)
GetJobsQueryResultsResult & WithStatus(JobsQueryStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue