AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
DocumentCharLocation.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 DocumentCharLocation() = default;
35 AWS_BEDROCKRUNTIME_API DocumentCharLocation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKRUNTIME_API DocumentCharLocation& operator=(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 DocumentCharLocation& WithDocumentIndex(int value) { SetDocumentIndex(value); return *this;}
50
52
55 inline int GetStart() const { return m_start; }
56 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
57 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
58 inline DocumentCharLocation& WithStart(int value) { SetStart(value); return *this;}
60
62
65 inline int GetEnd() const { return m_end; }
66 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
67 inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; }
68 inline DocumentCharLocation& WithEnd(int value) { SetEnd(value); return *this;}
70 private:
71
72 int m_documentIndex{0};
73 bool m_documentIndexHasBeenSet = false;
74
75 int m_start{0};
76 bool m_startHasBeenSet = false;
77
78 int m_end{0};
79 bool m_endHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace BedrockRuntime
84} // namespace Aws
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API DocumentCharLocation()=default
DocumentCharLocation & WithDocumentIndex(int value)
AWS_BEDROCKRUNTIME_API DocumentCharLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API DocumentCharLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue