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/CommitmentDuration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock/model/Tag.h>
14#include <aws/core/utils/UUID.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateProvisionedModelThroughput"; }
49 template<
typename ClientRequestTokenT = Aws::String>
50 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
51 template<
typename ClientRequestTokenT = Aws::String>
74 inline void SetModelUnits(
int value) { m_modelUnitsHasBeenSet =
true; m_modelUnits = value; }
84 template<
typename ProvisionedModelNameT = Aws::String>
85 void SetProvisionedModelName(ProvisionedModelNameT&& value) { m_provisionedModelNameHasBeenSet =
true; m_provisionedModelName = std::forward<ProvisionedModelNameT>(value); }
86 template<
typename ProvisionedModelNameT = Aws::String>
102 template<
typename ModelIdT = Aws::String>
103 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
104 template<
typename ModelIdT = Aws::String>
131 template<
typename TagsT = Aws::Vector<Tag>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
133 template<
typename TagsT = Aws::Vector<Tag>>
135 template<
typename TagsT = Tag>
141 bool m_clientRequestTokenHasBeenSet =
true;
144 bool m_modelUnitsHasBeenSet =
false;
147 bool m_provisionedModelNameHasBeenSet =
false;
150 bool m_modelIdHasBeenSet =
false;
153 bool m_commitmentDurationHasBeenSet =
false;
156 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector