7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace BedrockRuntime {
40 m_inputTokensHasBeenSet =
true;
41 m_inputTokens = value;
52 template <
typename RequestIdT = Aws::String>
54 m_requestIdHasBeenSet =
true;
55 m_requestId = std::forward<RequestIdT>(value);
57 template <
typename RequestIdT = Aws::String>
70 bool m_inputTokensHasBeenSet =
false;
71 bool m_requestIdHasBeenSet =
false;
AWS_BEDROCKRUNTIME_API CountTokensResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
CountTokensResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKRUNTIME_API CountTokensResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInputTokens(int value)
AWS_BEDROCKRUNTIME_API CountTokensResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
int GetInputTokens() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CountTokensResult & WithInputTokens(int value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue