AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
BatchDeleteEvaluationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock/model/BatchDeleteEvaluationJobError.h>
11#include <aws/bedrock/model/BatchDeleteEvaluationJobItem.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 Bedrock
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BEDROCK_API BatchDeleteEvaluationJobResult() = default;
36
37
39
43 inline const Aws::Vector<BatchDeleteEvaluationJobError>& GetErrors() const { return m_errors; }
44 template<typename ErrorsT = Aws::Vector<BatchDeleteEvaluationJobError>>
45 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
46 template<typename ErrorsT = Aws::Vector<BatchDeleteEvaluationJobError>>
47 BatchDeleteEvaluationJobResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
48 template<typename ErrorsT = BatchDeleteEvaluationJobError>
49 BatchDeleteEvaluationJobResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
51
53
56 inline const Aws::Vector<BatchDeleteEvaluationJobItem>& GetEvaluationJobs() const { return m_evaluationJobs; }
57 template<typename EvaluationJobsT = Aws::Vector<BatchDeleteEvaluationJobItem>>
58 void SetEvaluationJobs(EvaluationJobsT&& value) { m_evaluationJobsHasBeenSet = true; m_evaluationJobs = std::forward<EvaluationJobsT>(value); }
59 template<typename EvaluationJobsT = Aws::Vector<BatchDeleteEvaluationJobItem>>
60 BatchDeleteEvaluationJobResult& WithEvaluationJobs(EvaluationJobsT&& value) { SetEvaluationJobs(std::forward<EvaluationJobsT>(value)); return *this;}
61 template<typename EvaluationJobsT = BatchDeleteEvaluationJobItem>
62 BatchDeleteEvaluationJobResult& AddEvaluationJobs(EvaluationJobsT&& value) { m_evaluationJobsHasBeenSet = true; m_evaluationJobs.emplace_back(std::forward<EvaluationJobsT>(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 BatchDeleteEvaluationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
76 bool m_errorsHasBeenSet = false;
77
79 bool m_evaluationJobsHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Bedrock
87} // 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