AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
DocumentChunkLocation.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_BEDROCKRUNTIME_API DocumentChunkLocation() = default;
35 AWS_BEDROCKRUNTIME_API DocumentChunkLocation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetDocumentIndex() const { return m_documentIndex; }
46 inline bool DocumentIndexHasBeenSet() const { return m_documentIndexHasBeenSet; }
47 inline void SetDocumentIndex(int value) { m_documentIndexHasBeenSet = true; m_documentIndex = value; }
48 inline DocumentChunkLocation& WithDocumentIndex(int value) { SetDocumentIndex(value); return *this;}
50
52
56 inline int GetStart() const { return m_start; }
57 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
58 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
59 inline DocumentChunkLocation& WithStart(int value) { SetStart(value); return *this;}
61
63
67 inline int GetEnd() const { return m_end; }
68 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
69 inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; }
70 inline DocumentChunkLocation& WithEnd(int value) { SetEnd(value); return *this;}
72 private:
73
74 int m_documentIndex{0};
75 bool m_documentIndexHasBeenSet = false;
76
77 int m_start{0};
78 bool m_startHasBeenSet = false;
79
80 int m_end{0};
81 bool m_endHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace BedrockRuntime
86} // namespace Aws
AWS_BEDROCKRUNTIME_API DocumentChunkLocation()=default
AWS_BEDROCKRUNTIME_API DocumentChunkLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentChunkLocation & WithDocumentIndex(int value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API DocumentChunkLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue