AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/EvaluationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/EvaluationJobType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock/model/EvaluationTaskType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_BEDROCK_API EvaluationSummary();
42 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
50 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
51 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
52 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
53 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
54 inline EvaluationSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
55 inline EvaluationSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
56 inline EvaluationSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline EvaluationSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline EvaluationSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline EvaluationSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
77 inline const EvaluationJobStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const EvaluationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(EvaluationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline EvaluationSummary& WithStatus(const EvaluationJobStatus& value) { SetStatus(value); return *this;}
82 inline EvaluationSummary& WithStatus(EvaluationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
90 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline EvaluationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline EvaluationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
101 inline const EvaluationJobType& GetJobType() const{ return m_jobType; }
102 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
103 inline void SetJobType(const EvaluationJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
104 inline void SetJobType(EvaluationJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
105 inline EvaluationSummary& WithJobType(const EvaluationJobType& value) { SetJobType(value); return *this;}
106 inline EvaluationSummary& WithJobType(EvaluationJobType&& value) { SetJobType(std::move(value)); return *this;}
108
110
113 inline const Aws::Vector<EvaluationTaskType>& GetEvaluationTaskTypes() const{ return m_evaluationTaskTypes; }
114 inline bool EvaluationTaskTypesHasBeenSet() const { return m_evaluationTaskTypesHasBeenSet; }
115 inline void SetEvaluationTaskTypes(const Aws::Vector<EvaluationTaskType>& value) { m_evaluationTaskTypesHasBeenSet = true; m_evaluationTaskTypes = value; }
116 inline void SetEvaluationTaskTypes(Aws::Vector<EvaluationTaskType>&& value) { m_evaluationTaskTypesHasBeenSet = true; m_evaluationTaskTypes = std::move(value); }
119 inline EvaluationSummary& AddEvaluationTaskTypes(const EvaluationTaskType& value) { m_evaluationTaskTypesHasBeenSet = true; m_evaluationTaskTypes.push_back(value); return *this; }
120 inline EvaluationSummary& AddEvaluationTaskTypes(EvaluationTaskType&& value) { m_evaluationTaskTypesHasBeenSet = true; m_evaluationTaskTypes.push_back(std::move(value)); return *this; }
122
124
128 inline const Aws::Vector<Aws::String>& GetModelIdentifiers() const{ return m_modelIdentifiers; }
129 inline bool ModelIdentifiersHasBeenSet() const { return m_modelIdentifiersHasBeenSet; }
130 inline void SetModelIdentifiers(const Aws::Vector<Aws::String>& value) { m_modelIdentifiersHasBeenSet = true; m_modelIdentifiers = value; }
131 inline void SetModelIdentifiers(Aws::Vector<Aws::String>&& value) { m_modelIdentifiersHasBeenSet = true; m_modelIdentifiers = std::move(value); }
133 inline EvaluationSummary& WithModelIdentifiers(Aws::Vector<Aws::String>&& value) { SetModelIdentifiers(std::move(value)); return *this;}
134 inline EvaluationSummary& AddModelIdentifiers(const Aws::String& value) { m_modelIdentifiersHasBeenSet = true; m_modelIdentifiers.push_back(value); return *this; }
135 inline EvaluationSummary& AddModelIdentifiers(Aws::String&& value) { m_modelIdentifiersHasBeenSet = true; m_modelIdentifiers.push_back(std::move(value)); return *this; }
136 inline EvaluationSummary& AddModelIdentifiers(const char* value) { m_modelIdentifiersHasBeenSet = true; m_modelIdentifiers.push_back(value); return *this; }
138 private:
139
140 Aws::String m_jobArn;
141 bool m_jobArnHasBeenSet = false;
142
143 Aws::String m_jobName;
144 bool m_jobNameHasBeenSet = false;
145
146 EvaluationJobStatus m_status;
147 bool m_statusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime;
150 bool m_creationTimeHasBeenSet = false;
151
152 EvaluationJobType m_jobType;
153 bool m_jobTypeHasBeenSet = false;
154
155 Aws::Vector<EvaluationTaskType> m_evaluationTaskTypes;
156 bool m_evaluationTaskTypesHasBeenSet = false;
157
158 Aws::Vector<Aws::String> m_modelIdentifiers;
159 bool m_modelIdentifiersHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Bedrock
164} // namespace Aws
EvaluationSummary & AddModelIdentifiers(Aws::String &&value)
const Aws::String & GetJobName() const
void SetModelIdentifiers(const Aws::Vector< Aws::String > &value)
EvaluationSummary & WithJobType(const EvaluationJobType &value)
void SetEvaluationTaskTypes(Aws::Vector< EvaluationTaskType > &&value)
const Aws::String & GetJobArn() const
EvaluationSummary & WithJobName(const Aws::String &value)
EvaluationSummary & AddEvaluationTaskTypes(EvaluationTaskType &&value)
void SetJobType(const EvaluationJobType &value)
void SetEvaluationTaskTypes(const Aws::Vector< EvaluationTaskType > &value)
void SetJobType(EvaluationJobType &&value)
EvaluationSummary & WithJobArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetModelIdentifiers() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const EvaluationJobType & GetJobType() const
EvaluationSummary & WithJobArn(const Aws::String &value)
void SetStatus(const EvaluationJobStatus &value)
EvaluationSummary & AddModelIdentifiers(const Aws::String &value)
void SetJobArn(const Aws::String &value)
EvaluationSummary & AddEvaluationTaskTypes(const EvaluationTaskType &value)
void SetModelIdentifiers(Aws::Vector< Aws::String > &&value)
EvaluationSummary & WithStatus(const EvaluationJobStatus &value)
AWS_BEDROCK_API EvaluationSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationSummary & WithEvaluationTaskTypes(Aws::Vector< EvaluationTaskType > &&value)
EvaluationSummary & WithJobArn(const char *value)
EvaluationSummary & WithJobName(const char *value)
EvaluationSummary & WithStatus(EvaluationJobStatus &&value)
const Aws::Vector< EvaluationTaskType > & GetEvaluationTaskTypes() const
EvaluationSummary & WithJobName(Aws::String &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API EvaluationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobName(const Aws::String &value)
const EvaluationJobStatus & GetStatus() const
void SetCreationTime(Aws::Utils::DateTime &&value)
EvaluationSummary & WithCreationTime(Aws::Utils::DateTime &&value)
EvaluationSummary & WithEvaluationTaskTypes(const Aws::Vector< EvaluationTaskType > &value)
void SetStatus(EvaluationJobStatus &&value)
EvaluationSummary & AddModelIdentifiers(const char *value)
EvaluationSummary & WithModelIdentifiers(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EvaluationSummary & WithModelIdentifiers(const Aws::Vector< Aws::String > &value)
EvaluationSummary & WithCreationTime(const Aws::Utils::DateTime &value)
EvaluationSummary & WithJobType(EvaluationJobType &&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