AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Highlight.h
1
6#pragma once
7#include <aws/qconnect/QConnect_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 QConnect
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_QCONNECT_API Highlight();
34 AWS_QCONNECT_API Highlight(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QCONNECT_API Highlight& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetBeginOffsetInclusive() const{ return m_beginOffsetInclusive; }
44 inline bool BeginOffsetInclusiveHasBeenSet() const { return m_beginOffsetInclusiveHasBeenSet; }
45 inline void SetBeginOffsetInclusive(int value) { m_beginOffsetInclusiveHasBeenSet = true; m_beginOffsetInclusive = value; }
46 inline Highlight& WithBeginOffsetInclusive(int value) { SetBeginOffsetInclusive(value); return *this;}
48
50
53 inline int GetEndOffsetExclusive() const{ return m_endOffsetExclusive; }
54 inline bool EndOffsetExclusiveHasBeenSet() const { return m_endOffsetExclusiveHasBeenSet; }
55 inline void SetEndOffsetExclusive(int value) { m_endOffsetExclusiveHasBeenSet = true; m_endOffsetExclusive = value; }
56 inline Highlight& WithEndOffsetExclusive(int value) { SetEndOffsetExclusive(value); return *this;}
58 private:
59
60 int m_beginOffsetInclusive;
61 bool m_beginOffsetInclusiveHasBeenSet = false;
62
63 int m_endOffsetExclusive;
64 bool m_endOffsetExclusiveHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace QConnect
69} // namespace Aws
void SetEndOffsetExclusive(int value)
Definition Highlight.h:55
AWS_QCONNECT_API Highlight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBeginOffsetInclusive(int value)
Definition Highlight.h:45
AWS_QCONNECT_API Highlight()
bool EndOffsetExclusiveHasBeenSet() const
Definition Highlight.h:54
AWS_QCONNECT_API Highlight(Aws::Utils::Json::JsonView jsonValue)
Highlight & WithBeginOffsetInclusive(int value)
Definition Highlight.h:46
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool BeginOffsetInclusiveHasBeenSet() const
Definition Highlight.h:44
Highlight & WithEndOffsetExclusive(int value)
Definition Highlight.h:56
Aws::Utils::Json::JsonValue JsonValue