7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/CustomModelDataSource.h>
10#include <aws/bedrock/model/ModelDataSource.h>
11#include <aws/bedrock/model/Tag.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename ModelNameT = Aws::String>
44 m_modelNameHasBeenSet =
true;
45 m_modelName = std::forward<ModelNameT>(value);
47 template <
typename ModelNameT = Aws::String>
61 template <
typename ModelSourceConfigT = ModelDataSource>
63 m_modelSourceConfigHasBeenSet =
true;
64 m_modelSourceConfig = std::forward<ModelSourceConfigT>(value);
66 template <
typename ModelSourceConfigT = ModelDataSource>
83 template <
typename CustomModelDataSourceT = CustomModelDataSource>
85 m_customModelDataSourceHasBeenSet =
true;
86 m_customModelDataSource = std::forward<CustomModelDataSourceT>(value);
88 template <
typename CustomModelDataSourceT = CustomModelDataSource>
107 template <
typename ModelKmsKeyArnT = Aws::String>
109 m_modelKmsKeyArnHasBeenSet =
true;
110 m_modelKmsKeyArn = std::forward<ModelKmsKeyArnT>(value);
112 template <
typename ModelKmsKeyArnT = Aws::String>
134 template <
typename RoleArnT = Aws::String>
136 m_roleArnHasBeenSet =
true;
137 m_roleArn = std::forward<RoleArnT>(value);
139 template <
typename RoleArnT = Aws::String>
158 template <
typename ModelTagsT = Aws::Vector<Tag>>
160 m_modelTagsHasBeenSet =
true;
161 m_modelTags = std::forward<ModelTagsT>(value);
163 template <
typename ModelTagsT = Aws::Vector<Tag>>
168 template <
typename ModelTagsT = Tag>
170 m_modelTagsHasBeenSet =
true;
171 m_modelTags.emplace_back(std::forward<ModelTagsT>(value));
186 template <
typename ClientRequestTokenT = Aws::String>
188 m_clientRequestTokenHasBeenSet =
true;
189 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
191 template <
typename ClientRequestTokenT = Aws::String>
211 bool m_modelNameHasBeenSet =
false;
212 bool m_modelSourceConfigHasBeenSet =
false;
213 bool m_customModelDataSourceHasBeenSet =
false;
214 bool m_modelKmsKeyArnHasBeenSet =
false;
215 bool m_roleArnHasBeenSet =
false;
216 bool m_modelTagsHasBeenSet =
false;
217 bool m_clientRequestTokenHasBeenSet =
true;
void SetRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
CreateCustomModelRequest & WithModelName(ModelNameT &&value)
bool ModelKmsKeyArnHasBeenSet() const
CreateCustomModelRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateCustomModelRequest & WithRoleArn(RoleArnT &&value)
bool ModelNameHasBeenSet() const
const Aws::String & GetModelName() const
void SetModelSourceConfig(ModelSourceConfigT &&value)
CreateCustomModelRequest & WithModelSourceConfig(ModelSourceConfigT &&value)
const Aws::String & GetModelKmsKeyArn() const
AWS_BEDROCK_API CreateCustomModelRequest()=default
const Aws::String & GetClientRequestToken() const
CreateCustomModelRequest & AddModelTags(ModelTagsT &&value)
bool CustomModelDataSourceHasBeenSet() const
void SetModelName(ModelNameT &&value)
CreateCustomModelRequest & WithModelKmsKeyArn(ModelKmsKeyArnT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
CreateCustomModelRequest & WithCustomModelDataSource(CustomModelDataSourceT &&value)
CreateCustomModelRequest & WithModelTags(ModelTagsT &&value)
bool ClientRequestTokenHasBeenSet() const
void SetModelKmsKeyArn(ModelKmsKeyArnT &&value)
const Aws::String & GetRoleArn() const
bool ModelSourceConfigHasBeenSet() const
const Aws::Vector< Tag > & GetModelTags() const
const ModelDataSource & GetModelSourceConfig() const
void SetModelTags(ModelTagsT &&value)
const CustomModelDataSource & GetCustomModelDataSource() const
virtual const char * GetServiceRequestName() const override
void SetCustomModelDataSource(CustomModelDataSourceT &&value)
bool ModelTagsHasBeenSet() const
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