7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/ModelInvocationJobInputDataConfig.h>
10#include <aws/bedrock/model/ModelInvocationJobOutputDataConfig.h>
11#include <aws/bedrock/model/Tag.h>
12#include <aws/bedrock/model/VpcConfig.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename JobNameT = Aws::String>
45 m_jobNameHasBeenSet =
true;
46 m_jobName = std::forward<JobNameT>(value);
48 template <
typename JobNameT = Aws::String>
65 template <
typename RoleArnT = Aws::String>
67 m_roleArnHasBeenSet =
true;
68 m_roleArn = std::forward<RoleArnT>(value);
70 template <
typename RoleArnT = Aws::String>
87 template <
typename ClientRequestTokenT = Aws::String>
89 m_clientRequestTokenHasBeenSet =
true;
90 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
92 template <
typename ClientRequestTokenT = Aws::String>
106 template <
typename ModelIdT = Aws::String>
108 m_modelIdHasBeenSet =
true;
109 m_modelId = std::forward<ModelIdT>(value);
111 template <
typename ModelIdT = Aws::String>
124 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
126 m_inputDataConfigHasBeenSet =
true;
127 m_inputDataConfig = std::forward<InputDataConfigT>(value);
129 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
142 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
144 m_outputDataConfigHasBeenSet =
true;
145 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
147 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
163 template <
typename VpcConfigT = VpcConfig>
165 m_vpcConfigHasBeenSet =
true;
166 m_vpcConfig = std::forward<VpcConfigT>(value);
168 template <
typename VpcConfigT = VpcConfig>
183 m_timeoutDurationInHoursHasBeenSet =
true;
184 m_timeoutDurationInHours = value;
201 template <
typename TagsT = Aws::Vector<Tag>>
203 m_tagsHasBeenSet =
true;
204 m_tags = std::forward<TagsT>(value);
206 template <
typename TagsT = Aws::Vector<Tag>>
208 SetTags(std::forward<TagsT>(value));
211 template <
typename TagsT = Tag>
213 m_tagsHasBeenSet =
true;
214 m_tags.emplace_back(std::forward<TagsT>(value));
227 ModelInvocationJobInputDataConfig m_inputDataConfig;
229 ModelInvocationJobOutputDataConfig m_outputDataConfig;
231 VpcConfig m_vpcConfig;
233 int m_timeoutDurationInHours{0};
236 bool m_jobNameHasBeenSet =
false;
237 bool m_roleArnHasBeenSet =
false;
238 bool m_clientRequestTokenHasBeenSet =
true;
239 bool m_modelIdHasBeenSet =
false;
240 bool m_inputDataConfigHasBeenSet =
false;
241 bool m_outputDataConfigHasBeenSet =
false;
242 bool m_vpcConfigHasBeenSet =
false;
243 bool m_timeoutDurationInHoursHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
void SetOutputDataConfig(OutputDataConfigT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetClientRequestToken() const
bool TagsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
CreateModelInvocationJobRequest & WithTimeoutDurationInHours(int value)
bool JobNameHasBeenSet() const
void SetVpcConfig(VpcConfigT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetJobName() const
void SetInputDataConfig(InputDataConfigT &&value)
const Aws::String & GetModelId() const
bool OutputDataConfigHasBeenSet() const
int GetTimeoutDurationInHours() const
CreateModelInvocationJobRequest & WithVpcConfig(VpcConfigT &&value)
bool VpcConfigHasBeenSet() const
CreateModelInvocationJobRequest & AddTags(TagsT &&value)
void SetModelId(ModelIdT &&value)
CreateModelInvocationJobRequest & WithJobName(JobNameT &&value)
void SetTags(TagsT &&value)
bool ClientRequestTokenHasBeenSet() const
const Aws::String & GetRoleArn() const
const ModelInvocationJobOutputDataConfig & GetOutputDataConfig() const
const VpcConfig & GetVpcConfig() const
CreateModelInvocationJobRequest & WithRoleArn(RoleArnT &&value)
CreateModelInvocationJobRequest & WithTags(TagsT &&value)
CreateModelInvocationJobRequest & WithInputDataConfig(InputDataConfigT &&value)
CreateModelInvocationJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const ModelInvocationJobInputDataConfig & GetInputDataConfig() const
void SetTimeoutDurationInHours(int value)
virtual const char * GetServiceRequestName() const override
AWS_BEDROCK_API Aws::String SerializePayload() const override
bool ModelIdHasBeenSet() const
CreateModelInvocationJobRequest & WithModelId(ModelIdT &&value)
AWS_BEDROCK_API CreateModelInvocationJobRequest()=default
void SetJobName(JobNameT &&value)
bool InputDataConfigHasBeenSet() const
bool TimeoutDurationInHoursHasBeenSet() const
CreateModelInvocationJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector