7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/BatchStopJobRunError.h>
12#include <aws/glue/model/BatchStopJobRunSuccessfulSubmission.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename SuccessfulSubmissionsT = Aws::Vector<BatchStopJobRunSuccessfulSubmission>>
40 m_successfulSubmissionsHasBeenSet =
true;
41 m_successfulSubmissions = std::forward<SuccessfulSubmissionsT>(value);
43 template <
typename SuccessfulSubmissionsT = Aws::Vector<BatchStopJobRunSuccessfulSubmission>>
48 template <
typename SuccessfulSubmissionsT = BatchStopJobRunSuccessfulSubmission>
50 m_successfulSubmissionsHasBeenSet =
true;
51 m_successfulSubmissions.emplace_back(std::forward<SuccessfulSubmissionsT>(value));
63 template <
typename ErrorsT = Aws::Vector<BatchStopJobRunError>>
65 m_errorsHasBeenSet =
true;
66 m_errors = std::forward<ErrorsT>(value);
68 template <
typename ErrorsT = Aws::Vector<BatchStopJobRunError>>
73 template <
typename ErrorsT = BatchStopJobRunError>
75 m_errorsHasBeenSet =
true;
76 m_errors.emplace_back(std::forward<ErrorsT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_successfulSubmissionsHasBeenSet =
false;
105 bool m_errorsHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
AWS_GLUE_API BatchStopJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchStopJobRunError > & GetErrors() const
void SetErrors(ErrorsT &&value)
void SetSuccessfulSubmissions(SuccessfulSubmissionsT &&value)
BatchStopJobRunResult & AddSuccessfulSubmissions(SuccessfulSubmissionsT &&value)
const Aws::Vector< BatchStopJobRunSuccessfulSubmission > & GetSuccessfulSubmissions() const
AWS_GLUE_API BatchStopJobRunResult()=default
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_GLUE_API BatchStopJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchStopJobRunResult & WithErrors(ErrorsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchStopJobRunResult & WithRequestId(RequestIdT &&value)
BatchStopJobRunResult & AddErrors(ErrorsT &&value)
BatchStopJobRunResult & WithSuccessfulSubmissions(SuccessfulSubmissionsT &&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