AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContentBlockDeltaEvent.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ContentBlockDelta.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
32 {
33 public:
34 AWS_BEDROCKRUNTIME_API ContentBlockDeltaEvent();
35 AWS_BEDROCKRUNTIME_API ContentBlockDeltaEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const ContentBlockDelta& GetDelta() const{ return m_delta; }
45 inline bool DeltaHasBeenSet() const { return m_deltaHasBeenSet; }
46 inline void SetDelta(const ContentBlockDelta& value) { m_deltaHasBeenSet = true; m_delta = value; }
47 inline void SetDelta(ContentBlockDelta&& value) { m_deltaHasBeenSet = true; m_delta = std::move(value); }
48 inline ContentBlockDeltaEvent& WithDelta(const ContentBlockDelta& value) { SetDelta(value); return *this;}
49 inline ContentBlockDeltaEvent& WithDelta(ContentBlockDelta&& value) { SetDelta(std::move(value)); return *this;}
51
53
56 inline int GetContentBlockIndex() const{ return m_contentBlockIndex; }
57 inline bool ContentBlockIndexHasBeenSet() const { return m_contentBlockIndexHasBeenSet; }
58 inline void SetContentBlockIndex(int value) { m_contentBlockIndexHasBeenSet = true; m_contentBlockIndex = value; }
59 inline ContentBlockDeltaEvent& WithContentBlockIndex(int value) { SetContentBlockIndex(value); return *this;}
61 private:
62
63 ContentBlockDelta m_delta;
64 bool m_deltaHasBeenSet = false;
65
66 int m_contentBlockIndex;
67 bool m_contentBlockIndexHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace BedrockRuntime
72} // namespace Aws
ContentBlockDeltaEvent & WithDelta(ContentBlockDelta &&value)
AWS_BEDROCKRUNTIME_API ContentBlockDeltaEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ContentBlockDeltaEvent & WithContentBlockIndex(int value)
AWS_BEDROCKRUNTIME_API ContentBlockDeltaEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentBlockDeltaEvent & WithDelta(const ContentBlockDelta &value)
Aws::Utils::Json::JsonValue JsonValue