AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ContentBlockStopEvent.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockRuntime {
17namespace Model {
18
25 public:
26 AWS_BEDROCKRUNTIME_API ContentBlockStopEvent() = default;
29 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetContentBlockIndex() const { return m_contentBlockIndex; }
36 inline bool ContentBlockIndexHasBeenSet() const { return m_contentBlockIndexHasBeenSet; }
37 inline void SetContentBlockIndex(int value) {
38 m_contentBlockIndexHasBeenSet = true;
39 m_contentBlockIndex = value;
40 }
43 return *this;
44 }
46 private:
47 int m_contentBlockIndex{0};
48 bool m_contentBlockIndexHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace BedrockRuntime
53} // namespace Aws
AWS_BEDROCKRUNTIME_API ContentBlockStopEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ContentBlockStopEvent(Aws::Utils::Json::JsonView jsonValue)
ContentBlockStopEvent & WithContentBlockIndex(int value)
AWS_BEDROCKRUNTIME_API ContentBlockStopEvent()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue