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/bedrock/model/ModelInvocationJobInputDataConfig.h>
11#include <aws/bedrock/model/ModelInvocationJobOutputDataConfig.h>
12#include <aws/bedrock/model/VpcConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/bedrock/model/Tag.h>
16#include <aws/core/utils/UUID.h>
47 template<
typename JobNameT = Aws::String>
48 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
49 template<
typename JobNameT = Aws::String>
63 template<
typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<
typename RoleArnT = Aws::String>
79 template<
typename ClientRequestTokenT = Aws::String>
80 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
81 template<
typename ClientRequestTokenT = Aws::String>
92 template<
typename ModelIdT = Aws::String>
93 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
94 template<
typename ModelIdT = Aws::String>
104 template<
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
105 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
106 template<
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
116 template<
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
117 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
118 template<
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
131 template<
typename VpcConfigT = VpcConfig>
132 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
133 template<
typename VpcConfigT = VpcConfig>
157 template<
typename TagsT = Aws::Vector<Tag>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Vector<Tag>>
161 template<
typename TagsT = Tag>
167 bool m_jobNameHasBeenSet =
false;
170 bool m_roleArnHasBeenSet =
false;
173 bool m_clientRequestTokenHasBeenSet =
true;
176 bool m_modelIdHasBeenSet =
false;
178 ModelInvocationJobInputDataConfig m_inputDataConfig;
179 bool m_inputDataConfigHasBeenSet =
false;
181 ModelInvocationJobOutputDataConfig m_outputDataConfig;
182 bool m_outputDataConfigHasBeenSet =
false;
184 VpcConfig m_vpcConfig;
185 bool m_vpcConfigHasBeenSet =
false;
187 int m_timeoutDurationInHours{0};
188 bool m_timeoutDurationInHoursHasBeenSet =
false;
191 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector