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"; }
51 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
76 inline void SetModelUnits(
int value) { m_modelUnitsHasBeenSet =
true; m_modelUnits = value; }
88 inline void SetProvisionedModelName(
const char* value) { m_provisionedModelNameHasBeenSet =
true; m_provisionedModelName.assign(value); }
108 inline void SetModelId(
const char* value) { m_modelIdHasBeenSet =
true; m_modelId.assign(value); }
149 bool m_clientRequestTokenHasBeenSet =
false;
152 bool m_modelUnitsHasBeenSet =
false;
155 bool m_provisionedModelNameHasBeenSet =
false;
158 bool m_modelIdHasBeenSet =
false;
161 bool m_commitmentDurationHasBeenSet =
false;
164 bool m_tagsHasBeenSet =
false;
const Aws::String & GetClientRequestToken() const
int GetModelUnits() const
const Aws::Vector< Tag > & GetTags() const
CreateProvisionedModelThroughputRequest & WithModelId(const Aws::String &value)
CreateProvisionedModelThroughputRequest & WithClientRequestToken(Aws::String &&value)
CreateProvisionedModelThroughputRequest & WithProvisionedModelName(const Aws::String &value)
CreateProvisionedModelThroughputRequest & WithModelId(const char *value)
void SetModelUnits(int value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
void SetCommitmentDuration(CommitmentDuration &&value)
virtual const char * GetServiceRequestName() const override
bool CommitmentDurationHasBeenSet() const
void SetClientRequestToken(const Aws::String &value)
bool ModelIdHasBeenSet() const
void SetModelId(const Aws::String &value)
AWS_BEDROCK_API CreateProvisionedModelThroughputRequest()
CreateProvisionedModelThroughputRequest & WithProvisionedModelName(Aws::String &&value)
CreateProvisionedModelThroughputRequest & WithProvisionedModelName(const char *value)
CreateProvisionedModelThroughputRequest & WithCommitmentDuration(CommitmentDuration &&value)
bool TagsHasBeenSet() const
void SetModelId(Aws::String &&value)
const Aws::String & GetProvisionedModelName() const
CreateProvisionedModelThroughputRequest & WithClientRequestToken(const Aws::String &value)
bool ClientRequestTokenHasBeenSet() const
CreateProvisionedModelThroughputRequest & WithClientRequestToken(const char *value)
CreateProvisionedModelThroughputRequest & WithModelId(Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
CreateProvisionedModelThroughputRequest & WithCommitmentDuration(const CommitmentDuration &value)
CreateProvisionedModelThroughputRequest & WithTags(const Aws::Vector< Tag > &value)
void SetClientRequestToken(const char *value)
void SetModelId(const char *value)
CreateProvisionedModelThroughputRequest & WithTags(Aws::Vector< Tag > &&value)
CreateProvisionedModelThroughputRequest & AddTags(const Tag &value)
void SetProvisionedModelName(Aws::String &&value)
CreateProvisionedModelThroughputRequest & WithModelUnits(int value)
void SetTags(Aws::Vector< Tag > &&value)
void SetCommitmentDuration(const CommitmentDuration &value)
bool ProvisionedModelNameHasBeenSet() const
CreateProvisionedModelThroughputRequest & AddTags(Tag &&value)
bool ModelUnitsHasBeenSet() const
void SetProvisionedModelName(const char *value)
void SetProvisionedModelName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const CommitmentDuration & GetCommitmentDuration() const
const Aws::String & GetModelId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector