AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
InvokeModelTokensRequest.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockRuntime
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest() = default;
38 AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::Utils::CryptoBuffer& GetBody() const { return m_body; }
52 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
53 template<typename BodyT = Aws::Utils::CryptoBuffer>
54 void SetBody(BodyT&& value) { m_bodyHasBeenSet = true; m_body = std::forward<BodyT>(value); }
55 template<typename BodyT = Aws::Utils::CryptoBuffer>
56 InvokeModelTokensRequest& WithBody(BodyT&& value) { SetBody(std::forward<BodyT>(value)); return *this;}
58 private:
59
61 bool m_bodyHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace BedrockRuntime
66} // namespace Aws
AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeModelTokensRequest & WithBody(BodyT &&value)
AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest()=default
Aws::Utils::Json::JsonValue JsonValue