7#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
8#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
9#include <aws/bedrock-runtime/model/CountTokensInput.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace BedrockRuntime {
40 template <
typename ModelIdT = Aws::String>
42 m_modelIdHasBeenSet =
true;
43 m_modelId = std::forward<ModelIdT>(value);
45 template <
typename ModelIdT = Aws::String>
65 template <
typename InputT = CountTokensInput>
67 m_inputHasBeenSet =
true;
68 m_input = std::forward<InputT>(value);
70 template <
typename InputT = CountTokensInput>
72 SetInput(std::forward<InputT>(value));
78 bool m_modelIdHasBeenSet =
false;
81 bool m_inputHasBeenSet =
false;
bool InputHasBeenSet() const
void SetInput(InputT &&value)
CountTokensRequest & WithModelId(ModelIdT &&value)
const CountTokensInput & GetInput() const
bool ModelIdHasBeenSet() const
const Aws::String & GetModelId() const
void SetModelId(ModelIdT &&value)
CountTokensRequest & WithInput(InputT &&value)
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_BEDROCKRUNTIME_API CountTokensRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String