AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
BatchDeleteEvaluationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/BatchDeleteEvaluationJobError.h>
9#include <aws/bedrock/model/BatchDeleteEvaluationJobItem.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.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 Bedrock {
25namespace Model {
27 public:
28 AWS_BEDROCK_API BatchDeleteEvaluationJobResult() = default;
31
33
37 inline const Aws::Vector<BatchDeleteEvaluationJobError>& GetErrors() const { return m_errors; }
38 template <typename ErrorsT = Aws::Vector<BatchDeleteEvaluationJobError>>
39 void SetErrors(ErrorsT&& value) {
40 m_errorsHasBeenSet = true;
41 m_errors = std::forward<ErrorsT>(value);
42 }
43 template <typename ErrorsT = Aws::Vector<BatchDeleteEvaluationJobError>>
45 SetErrors(std::forward<ErrorsT>(value));
46 return *this;
47 }
48 template <typename ErrorsT = BatchDeleteEvaluationJobError>
50 m_errorsHasBeenSet = true;
51 m_errors.emplace_back(std::forward<ErrorsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<BatchDeleteEvaluationJobItem>& GetEvaluationJobs() const { return m_evaluationJobs; }
61 template <typename EvaluationJobsT = Aws::Vector<BatchDeleteEvaluationJobItem>>
62 void SetEvaluationJobs(EvaluationJobsT&& value) {
63 m_evaluationJobsHasBeenSet = true;
64 m_evaluationJobs = std::forward<EvaluationJobsT>(value);
65 }
66 template <typename EvaluationJobsT = Aws::Vector<BatchDeleteEvaluationJobItem>>
68 SetEvaluationJobs(std::forward<EvaluationJobsT>(value));
69 return *this;
70 }
71 template <typename EvaluationJobsT = BatchDeleteEvaluationJobItem>
73 m_evaluationJobsHasBeenSet = true;
74 m_evaluationJobs.emplace_back(std::forward<EvaluationJobsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
95 bool m_errorsHasBeenSet = false;
96
98 bool m_evaluationJobsHasBeenSet = false;
99
100 Aws::String m_requestId;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Bedrock
106} // namespace Aws
BatchDeleteEvaluationJobResult & WithRequestId(RequestIdT &&value)
BatchDeleteEvaluationJobResult & WithErrors(ErrorsT &&value)
BatchDeleteEvaluationJobResult & AddErrors(ErrorsT &&value)
const Aws::Vector< BatchDeleteEvaluationJobItem > & GetEvaluationJobs() const
AWS_BEDROCK_API BatchDeleteEvaluationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCK_API BatchDeleteEvaluationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteEvaluationJobResult & WithEvaluationJobs(EvaluationJobsT &&value)
BatchDeleteEvaluationJobResult & AddEvaluationJobs(EvaluationJobsT &&value)
const Aws::Vector< BatchDeleteEvaluationJobError > & GetErrors() const
AWS_BEDROCK_API BatchDeleteEvaluationJobResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue