AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContentBlockStartEvent.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ContentBlockStart.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 ContentBlockStartEvent();
35 AWS_BEDROCKRUNTIME_API ContentBlockStartEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const ContentBlockStart& GetStart() const{ return m_start; }
45 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
46 inline void SetStart(const ContentBlockStart& value) { m_startHasBeenSet = true; m_start = value; }
47 inline void SetStart(ContentBlockStart&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
48 inline ContentBlockStartEvent& WithStart(const ContentBlockStart& value) { SetStart(value); return *this;}
49 inline ContentBlockStartEvent& WithStart(ContentBlockStart&& value) { SetStart(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 ContentBlockStartEvent& WithContentBlockIndex(int value) { SetContentBlockIndex(value); return *this;}
61 private:
62
63 ContentBlockStart m_start;
64 bool m_startHasBeenSet = false;
65
66 int m_contentBlockIndex;
67 bool m_contentBlockIndexHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace BedrockRuntime
72} // namespace Aws
ContentBlockStartEvent & WithStart(const ContentBlockStart &value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ContentBlockStartEvent & WithStart(ContentBlockStart &&value)
ContentBlockStartEvent & WithContentBlockIndex(int value)
AWS_BEDROCKRUNTIME_API ContentBlockStartEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ContentBlockStartEvent(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue