7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/CommitmentDuration.h>
10#include <aws/bedrock/model/Tag.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateProvisionedModelThroughput"; }
45 template <
typename ClientRequestTokenT = Aws::String>
47 m_clientRequestTokenHasBeenSet =
true;
48 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
50 template <
typename ClientRequestTokenT = Aws::String>
77 m_modelUnitsHasBeenSet =
true;
92 template <
typename ProvisionedModelNameT = Aws::String>
94 m_provisionedModelNameHasBeenSet =
true;
95 m_provisionedModelName = std::forward<ProvisionedModelNameT>(value);
97 template <
typename ProvisionedModelNameT = Aws::String>
116 template <
typename ModelIdT = Aws::String>
118 m_modelIdHasBeenSet =
true;
119 m_modelId = std::forward<ModelIdT>(value);
121 template <
typename ModelIdT = Aws::String>
142 m_commitmentDurationHasBeenSet =
true;
143 m_commitmentDuration = value;
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
186 bool m_clientRequestTokenHasBeenSet =
true;
187 bool m_modelUnitsHasBeenSet =
false;
188 bool m_provisionedModelNameHasBeenSet =
false;
189 bool m_modelIdHasBeenSet =
false;
190 bool m_commitmentDurationHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
const Aws::String & GetClientRequestToken() const
int GetModelUnits() const
CreateProvisionedModelThroughputRequest & WithTags(TagsT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
CreateProvisionedModelThroughputRequest & AddTags(TagsT &&value)
AWS_BEDROCK_API CreateProvisionedModelThroughputRequest()=default
void SetModelUnits(int value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
CreateProvisionedModelThroughputRequest & WithProvisionedModelName(ProvisionedModelNameT &&value)
CreateProvisionedModelThroughputRequest & WithCommitmentDuration(CommitmentDuration value)
virtual const char * GetServiceRequestName() const override
bool CommitmentDurationHasBeenSet() const
bool ModelIdHasBeenSet() const
CreateProvisionedModelThroughputRequest & WithModelId(ModelIdT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetProvisionedModelName() const
bool ClientRequestTokenHasBeenSet() const
CommitmentDuration GetCommitmentDuration() const
CreateProvisionedModelThroughputRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateProvisionedModelThroughputRequest & WithModelUnits(int value)
void SetProvisionedModelName(ProvisionedModelNameT &&value)
bool ProvisionedModelNameHasBeenSet() const
bool ModelUnitsHasBeenSet() const
void SetModelId(ModelIdT &&value)
void SetCommitmentDuration(CommitmentDuration value)
const Aws::String & GetModelId() 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