AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
DocumentPageLocation.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
31 {
32 public:
33 AWS_BEDROCKRUNTIME_API DocumentPageLocation() = default;
34 AWS_BEDROCKRUNTIME_API DocumentPageLocation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKRUNTIME_API DocumentPageLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetDocumentIndex() const { return m_documentIndex; }
45 inline bool DocumentIndexHasBeenSet() const { return m_documentIndexHasBeenSet; }
46 inline void SetDocumentIndex(int value) { m_documentIndexHasBeenSet = true; m_documentIndex = value; }
47 inline DocumentPageLocation& WithDocumentIndex(int value) { SetDocumentIndex(value); return *this;}
49
51
54 inline int GetStart() const { return m_start; }
55 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
56 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
57 inline DocumentPageLocation& WithStart(int value) { SetStart(value); return *this;}
59
61
64 inline int GetEnd() const { return m_end; }
65 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
66 inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; }
67 inline DocumentPageLocation& WithEnd(int value) { SetEnd(value); return *this;}
69 private:
70
71 int m_documentIndex{0};
72 bool m_documentIndexHasBeenSet = false;
73
74 int m_start{0};
75 bool m_startHasBeenSet = false;
76
77 int m_end{0};
78 bool m_endHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace BedrockRuntime
83} // namespace Aws
AWS_BEDROCKRUNTIME_API DocumentPageLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API DocumentPageLocation()=default
AWS_BEDROCKRUNTIME_API DocumentPageLocation(Aws::Utils::Json::JsonView jsonValue)
DocumentPageLocation & WithDocumentIndex(int value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue