7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/BatchStopJobRunSuccessfulSubmission.h>
11#include <aws/glue/model/BatchStopJobRunError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename SuccessfulSubmissionsT = Aws::Vector<BatchStopJobRunSuccessfulSubmission>>
44 void SetSuccessfulSubmissions(SuccessfulSubmissionsT&& value) { m_successfulSubmissionsHasBeenSet =
true; m_successfulSubmissions = std::forward<SuccessfulSubmissionsT>(value); }
45 template<
typename SuccessfulSubmissionsT = Aws::Vector<BatchStopJobRunSuccessfulSubmission>>
47 template<
typename SuccessfulSubmissionsT = BatchStopJobRunSuccessfulSubmission>
58 template<
typename ErrorsT = Aws::Vector<BatchStopJobRunError>>
59 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
60 template<
typename ErrorsT = Aws::Vector<BatchStopJobRunError>>
62 template<
typename ErrorsT = BatchStopJobRunError>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_successfulSubmissionsHasBeenSet =
false;
80 bool m_errorsHasBeenSet =
false;
83 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)
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