AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SuggestionHighlight.h
1
6#pragma once
7#include <aws/kendra/Kendra_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 kendra
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_KENDRA_API SuggestionHighlight() = default;
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetBeginOffset() const { return m_beginOffset; }
45 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
46 inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; }
47 inline SuggestionHighlight& WithBeginOffset(int value) { SetBeginOffset(value); return *this;}
49
51
54 inline int GetEndOffset() const { return m_endOffset; }
55 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
56 inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; }
57 inline SuggestionHighlight& WithEndOffset(int value) { SetEndOffset(value); return *this;}
59 private:
60
61 int m_beginOffset{0};
62 bool m_beginOffsetHasBeenSet = false;
63
64 int m_endOffset{0};
65 bool m_endOffsetHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace kendra
70} // 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