7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-runtime/model/CountTokensInput.h>
15namespace BedrockRuntime
44 template<
typename ModelIdT = Aws::String>
45 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
46 template<
typename ModelIdT = Aws::String>
63 template<
typename InputT = CountTokensInput>
64 void SetInput(InputT&& value) { m_inputHasBeenSet =
true; m_input = std::forward<InputT>(value); }
65 template<
typename InputT = CountTokensInput>
71 bool m_modelIdHasBeenSet =
false;
74 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