AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEvaluationJobRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock/model/EvaluationConfig.h>
12#include <aws/bedrock/model/EvaluationInferenceConfig.h>
13#include <aws/bedrock/model/EvaluationOutputDataConfig.h>
14#include <aws/bedrock/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Bedrock
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_BEDROCK_API CreateEvaluationJobRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateEvaluationJob"; }
37
38 AWS_BEDROCK_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::String& GetJobName() const{ return m_jobName; }
47 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
49 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
50 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
51 inline CreateEvaluationJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
52 inline CreateEvaluationJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
53 inline CreateEvaluationJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
55
57
60 inline const Aws::String& GetJobDescription() const{ return m_jobDescription; }
61 inline bool JobDescriptionHasBeenSet() const { return m_jobDescriptionHasBeenSet; }
62 inline void SetJobDescription(const Aws::String& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = value; }
63 inline void SetJobDescription(Aws::String&& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = std::move(value); }
64 inline void SetJobDescription(const char* value) { m_jobDescriptionHasBeenSet = true; m_jobDescription.assign(value); }
65 inline CreateEvaluationJobRequest& WithJobDescription(const Aws::String& value) { SetJobDescription(value); return *this;}
66 inline CreateEvaluationJobRequest& WithJobDescription(Aws::String&& value) { SetJobDescription(std::move(value)); return *this;}
67 inline CreateEvaluationJobRequest& WithJobDescription(const char* value) { SetJobDescription(value); return *this;}
69
71
78 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
79 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
80 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
81 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
82 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
84 inline CreateEvaluationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
85 inline CreateEvaluationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
87
89
99 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
100 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
101 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
102 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
103 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
104 inline CreateEvaluationJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
105 inline CreateEvaluationJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
106 inline CreateEvaluationJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
108
110
114 inline const Aws::String& GetCustomerEncryptionKeyId() const{ return m_customerEncryptionKeyId; }
115 inline bool CustomerEncryptionKeyIdHasBeenSet() const { return m_customerEncryptionKeyIdHasBeenSet; }
116 inline void SetCustomerEncryptionKeyId(const Aws::String& value) { m_customerEncryptionKeyIdHasBeenSet = true; m_customerEncryptionKeyId = value; }
117 inline void SetCustomerEncryptionKeyId(Aws::String&& value) { m_customerEncryptionKeyIdHasBeenSet = true; m_customerEncryptionKeyId = std::move(value); }
118 inline void SetCustomerEncryptionKeyId(const char* value) { m_customerEncryptionKeyIdHasBeenSet = true; m_customerEncryptionKeyId.assign(value); }
123
125
128 inline const Aws::Vector<Tag>& GetJobTags() const{ return m_jobTags; }
129 inline bool JobTagsHasBeenSet() const { return m_jobTagsHasBeenSet; }
130 inline void SetJobTags(const Aws::Vector<Tag>& value) { m_jobTagsHasBeenSet = true; m_jobTags = value; }
131 inline void SetJobTags(Aws::Vector<Tag>&& value) { m_jobTagsHasBeenSet = true; m_jobTags = std::move(value); }
132 inline CreateEvaluationJobRequest& WithJobTags(const Aws::Vector<Tag>& value) { SetJobTags(value); return *this;}
133 inline CreateEvaluationJobRequest& WithJobTags(Aws::Vector<Tag>&& value) { SetJobTags(std::move(value)); return *this;}
134 inline CreateEvaluationJobRequest& AddJobTags(const Tag& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(value); return *this; }
135 inline CreateEvaluationJobRequest& AddJobTags(Tag&& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(std::move(value)); return *this; }
137
139
143 inline const EvaluationConfig& GetEvaluationConfig() const{ return m_evaluationConfig; }
144 inline bool EvaluationConfigHasBeenSet() const { return m_evaluationConfigHasBeenSet; }
145 inline void SetEvaluationConfig(const EvaluationConfig& value) { m_evaluationConfigHasBeenSet = true; m_evaluationConfig = value; }
146 inline void SetEvaluationConfig(EvaluationConfig&& value) { m_evaluationConfigHasBeenSet = true; m_evaluationConfig = std::move(value); }
148 inline CreateEvaluationJobRequest& WithEvaluationConfig(EvaluationConfig&& value) { SetEvaluationConfig(std::move(value)); return *this;}
150
152
159 inline const EvaluationInferenceConfig& GetInferenceConfig() const{ return m_inferenceConfig; }
160 inline bool InferenceConfigHasBeenSet() const { return m_inferenceConfigHasBeenSet; }
161 inline void SetInferenceConfig(const EvaluationInferenceConfig& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = value; }
162 inline void SetInferenceConfig(EvaluationInferenceConfig&& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = std::move(value); }
166
168
172 inline const EvaluationOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
173 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
174 inline void SetOutputDataConfig(const EvaluationOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
175 inline void SetOutputDataConfig(EvaluationOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
179 private:
180
181 Aws::String m_jobName;
182 bool m_jobNameHasBeenSet = false;
183
184 Aws::String m_jobDescription;
185 bool m_jobDescriptionHasBeenSet = false;
186
187 Aws::String m_clientRequestToken;
188 bool m_clientRequestTokenHasBeenSet = false;
189
190 Aws::String m_roleArn;
191 bool m_roleArnHasBeenSet = false;
192
193 Aws::String m_customerEncryptionKeyId;
194 bool m_customerEncryptionKeyIdHasBeenSet = false;
195
196 Aws::Vector<Tag> m_jobTags;
197 bool m_jobTagsHasBeenSet = false;
198
199 EvaluationConfig m_evaluationConfig;
200 bool m_evaluationConfigHasBeenSet = false;
201
202 EvaluationInferenceConfig m_inferenceConfig;
203 bool m_inferenceConfigHasBeenSet = false;
204
205 EvaluationOutputDataConfig m_outputDataConfig;
206 bool m_outputDataConfigHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Bedrock
211} // namespace Aws
CreateEvaluationJobRequest & WithCustomerEncryptionKeyId(const char *value)
CreateEvaluationJobRequest & WithRoleArn(const char *value)
CreateEvaluationJobRequest & WithJobDescription(Aws::String &&value)
CreateEvaluationJobRequest & WithClientRequestToken(Aws::String &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
const EvaluationOutputDataConfig & GetOutputDataConfig() const
CreateEvaluationJobRequest & WithJobName(const char *value)
CreateEvaluationJobRequest & WithCustomerEncryptionKeyId(Aws::String &&value)
CreateEvaluationJobRequest & WithJobName(const Aws::String &value)
CreateEvaluationJobRequest & WithClientRequestToken(const char *value)
CreateEvaluationJobRequest & WithEvaluationConfig(EvaluationConfig &&value)
CreateEvaluationJobRequest & AddJobTags(Tag &&value)
CreateEvaluationJobRequest & WithJobTags(Aws::Vector< Tag > &&value)
CreateEvaluationJobRequest & WithEvaluationConfig(const EvaluationConfig &value)
CreateEvaluationJobRequest & WithInferenceConfig(const EvaluationInferenceConfig &value)
void SetOutputDataConfig(EvaluationOutputDataConfig &&value)
void SetInferenceConfig(EvaluationInferenceConfig &&value)
CreateEvaluationJobRequest & WithRoleArn(const Aws::String &value)
CreateEvaluationJobRequest & WithJobTags(const Aws::Vector< Tag > &value)
CreateEvaluationJobRequest & WithInferenceConfig(EvaluationInferenceConfig &&value)
CreateEvaluationJobRequest & WithOutputDataConfig(const EvaluationOutputDataConfig &value)
void SetInferenceConfig(const EvaluationInferenceConfig &value)
CreateEvaluationJobRequest & WithClientRequestToken(const Aws::String &value)
CreateEvaluationJobRequest & WithJobDescription(const Aws::String &value)
CreateEvaluationJobRequest & WithJobDescription(const char *value)
CreateEvaluationJobRequest & WithJobName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetOutputDataConfig(const EvaluationOutputDataConfig &value)
CreateEvaluationJobRequest & WithRoleArn(Aws::String &&value)
CreateEvaluationJobRequest & AddJobTags(const Tag &value)
const EvaluationInferenceConfig & GetInferenceConfig() const
CreateEvaluationJobRequest & WithCustomerEncryptionKeyId(const Aws::String &value)
CreateEvaluationJobRequest & WithOutputDataConfig(EvaluationOutputDataConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector