7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/SnippetExcerpt.h>
48 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
59 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
78 bool m_beginOffsetHasBeenSet =
false;
81 bool m_endOffsetHasBeenSet =
false;
84 bool m_snippetExcerptHasBeenSet =
false;
int GetBeginOffset() const
bool BeginOffsetHasBeenSet() const
void SetEndOffset(int value)
TextSegment & WithSnippetExcerpt(const SnippetExcerpt &value)
TextSegment & WithBeginOffset(int value)
bool EndOffsetHasBeenSet() const
TextSegment & WithSnippetExcerpt(SnippetExcerpt &&value)
bool SnippetExcerptHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSnippetExcerpt(SnippetExcerpt &&value)
AWS_QBUSINESS_API TextSegment(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API TextSegment()
void SetSnippetExcerpt(const SnippetExcerpt &value)
void SetBeginOffset(int value)
AWS_QBUSINESS_API TextSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
TextSegment & WithEndOffset(int value)
const SnippetExcerpt & GetSnippetExcerpt() const
Aws::Utils::Json::JsonValue JsonValue