AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
SuggestionHighlight.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace kendra {
17namespace Model {
18
26 public:
27 AWS_KENDRA_API SuggestionHighlight() = default;
30 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetBeginOffset() const { return m_beginOffset; }
38 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
39 inline void SetBeginOffset(int value) {
40 m_beginOffsetHasBeenSet = true;
41 m_beginOffset = value;
42 }
44 SetBeginOffset(value);
45 return *this;
46 }
48
50
53 inline int GetEndOffset() const { return m_endOffset; }
54 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
55 inline void SetEndOffset(int value) {
56 m_endOffsetHasBeenSet = true;
57 m_endOffset = value;
58 }
60 SetEndOffset(value);
61 return *this;
62 }
64 private:
65 int m_beginOffset{0};
66
67 int m_endOffset{0};
68 bool m_beginOffsetHasBeenSet = false;
69 bool m_endOffsetHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace kendra
74} // namespace Aws
AWS_KENDRA_API SuggestionHighlight(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API SuggestionHighlight & operator=(Aws::Utils::Json::JsonView jsonValue)
SuggestionHighlight & WithBeginOffset(int value)
AWS_KENDRA_API SuggestionHighlight()=default
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
SuggestionHighlight & WithEndOffset(int value)
Aws::Utils::Json::JsonValue JsonValue