AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Highlight.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace QConnect {
17namespace Model {
18
25class Highlight {
26 public:
27 AWS_QCONNECT_API Highlight() = default;
30 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetBeginOffsetInclusive() const { return m_beginOffsetInclusive; }
37 inline bool BeginOffsetInclusiveHasBeenSet() const { return m_beginOffsetInclusiveHasBeenSet; }
38 inline void SetBeginOffsetInclusive(int value) {
39 m_beginOffsetInclusiveHasBeenSet = true;
40 m_beginOffsetInclusive = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetEndOffsetExclusive() const { return m_endOffsetExclusive; }
53 inline bool EndOffsetExclusiveHasBeenSet() const { return m_endOffsetExclusiveHasBeenSet; }
54 inline void SetEndOffsetExclusive(int value) {
55 m_endOffsetExclusiveHasBeenSet = true;
56 m_endOffsetExclusive = value;
57 }
58 inline Highlight& WithEndOffsetExclusive(int value) {
60 return *this;
61 }
63 private:
64 int m_beginOffsetInclusive{0};
65
66 int m_endOffsetExclusive{0};
67 bool m_beginOffsetInclusiveHasBeenSet = false;
68 bool m_endOffsetExclusiveHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace QConnect
73} // namespace Aws
void SetEndOffsetExclusive(int value)
Definition Highlight.h:54
AWS_QCONNECT_API Highlight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Highlight()=default
void SetBeginOffsetInclusive(int value)
Definition Highlight.h:38
bool EndOffsetExclusiveHasBeenSet() const
Definition Highlight.h:53
AWS_QCONNECT_API Highlight(Aws::Utils::Json::JsonView jsonValue)
Highlight & WithBeginOffsetInclusive(int value)
Definition Highlight.h:42
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool BeginOffsetInclusiveHasBeenSet() const
Definition Highlight.h:37
Highlight & WithEndOffsetExclusive(int value)
Definition Highlight.h:58
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue