AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchStopJobRunResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GLUE_API BatchStopJobRunResult();
36
37
39
42 inline const Aws::Vector<BatchStopJobRunSuccessfulSubmission>& GetSuccessfulSubmissions() const{ return m_successfulSubmissions; }
43 inline void SetSuccessfulSubmissions(const Aws::Vector<BatchStopJobRunSuccessfulSubmission>& value) { m_successfulSubmissions = value; }
44 inline void SetSuccessfulSubmissions(Aws::Vector<BatchStopJobRunSuccessfulSubmission>&& value) { m_successfulSubmissions = std::move(value); }
47 inline BatchStopJobRunResult& AddSuccessfulSubmissions(const BatchStopJobRunSuccessfulSubmission& value) { m_successfulSubmissions.push_back(value); return *this; }
48 inline BatchStopJobRunResult& AddSuccessfulSubmissions(BatchStopJobRunSuccessfulSubmission&& value) { m_successfulSubmissions.push_back(std::move(value)); return *this; }
50
52
57 inline const Aws::Vector<BatchStopJobRunError>& GetErrors() const{ return m_errors; }
58 inline void SetErrors(const Aws::Vector<BatchStopJobRunError>& value) { m_errors = value; }
59 inline void SetErrors(Aws::Vector<BatchStopJobRunError>&& value) { m_errors = std::move(value); }
60 inline BatchStopJobRunResult& WithErrors(const Aws::Vector<BatchStopJobRunError>& value) { SetErrors(value); return *this;}
61 inline BatchStopJobRunResult& WithErrors(Aws::Vector<BatchStopJobRunError>&& value) { SetErrors(std::move(value)); return *this;}
62 inline BatchStopJobRunResult& AddErrors(const BatchStopJobRunError& value) { m_errors.push_back(value); return *this; }
63 inline BatchStopJobRunResult& AddErrors(BatchStopJobRunError&& value) { m_errors.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline BatchStopJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline BatchStopJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline BatchStopJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace Glue
87} // namespace Aws
AWS_GLUE_API BatchStopJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchStopJobRunError > & GetErrors() const
BatchStopJobRunResult & WithErrors(Aws::Vector< BatchStopJobRunError > &&value)
void SetErrors(const Aws::Vector< BatchStopJobRunError > &value)
void SetSuccessfulSubmissions(const Aws::Vector< BatchStopJobRunSuccessfulSubmission > &value)
BatchStopJobRunResult & WithSuccessfulSubmissions(Aws::Vector< BatchStopJobRunSuccessfulSubmission > &&value)
BatchStopJobRunResult & AddErrors(BatchStopJobRunError &&value)
BatchStopJobRunResult & AddSuccessfulSubmissions(const BatchStopJobRunSuccessfulSubmission &value)
void SetSuccessfulSubmissions(Aws::Vector< BatchStopJobRunSuccessfulSubmission > &&value)
const Aws::Vector< BatchStopJobRunSuccessfulSubmission > & GetSuccessfulSubmissions() const
BatchStopJobRunResult & WithRequestId(const Aws::String &value)
BatchStopJobRunResult & WithSuccessfulSubmissions(const Aws::Vector< BatchStopJobRunSuccessfulSubmission > &value)
void SetErrors(Aws::Vector< BatchStopJobRunError > &&value)
BatchStopJobRunResult & WithRequestId(Aws::String &&value)
AWS_GLUE_API BatchStopJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchStopJobRunResult & WithErrors(const Aws::Vector< BatchStopJobRunError > &value)
BatchStopJobRunResult & AddErrors(const BatchStopJobRunError &value)
BatchStopJobRunResult & WithRequestId(const char *value)
BatchStopJobRunResult & AddSuccessfulSubmissions(BatchStopJobRunSuccessfulSubmission &&value)
void SetRequestId(const Aws::String &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