AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
31 public:
32 AWS_BEDROCKRUNTIME_API InvokeModelTokensRequest() = default;
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline const Aws::Utils::CryptoBuffer& GetBody() const { return m_body; }
46 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
47 template <typename BodyT = Aws::Utils::CryptoBuffer>
48 void SetBody(BodyT&& value) {
49 m_bodyHasBeenSet = true;
50 m_body = std::forward<BodyT>(value);
51 }
52 template <typename BodyT = Aws::Utils::CryptoBuffer>
54 SetBody(std::forward<BodyT>(value));
55 return *this;
56 }
58 private:
60 bool m_bodyHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace BedrockRuntime
65} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue