7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
16namespace BedrockAgentRuntime {
27 AWS_BEDROCKAGENTRUNTIME_API
Usage() =
default;
40 m_inputTokensHasBeenSet =
true;
41 m_inputTokens = value;
57 m_outputTokensHasBeenSet =
true;
58 m_outputTokens = value;
68 int m_outputTokens{0};
69 bool m_inputTokensHasBeenSet =
false;
70 bool m_outputTokensHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Usage & WithInputTokens(int value)
void SetInputTokens(int value)
Usage & WithOutputTokens(int value)
int GetOutputTokens() const
AWS_BEDROCKAGENTRUNTIME_API Usage()=default
AWS_BEDROCKAGENTRUNTIME_API Usage(Aws::Utils::Json::JsonView jsonValue)
bool OutputTokensHasBeenSet() const
int GetInputTokens() const
void SetOutputTokens(int value)
AWS_BEDROCKAGENTRUNTIME_API Usage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputTokensHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue