AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CharacterOffsets.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ConnectContactLens {
17namespace Model {
18
26 public:
27 AWS_CONNECTCONTACTLENS_API CharacterOffsets() = default;
28 AWS_CONNECTCONTACTLENS_API CharacterOffsets(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CONNECTCONTACTLENS_API CharacterOffsets& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetBeginOffsetChar() const { return m_beginOffsetChar; }
37 inline bool BeginOffsetCharHasBeenSet() const { return m_beginOffsetCharHasBeenSet; }
38 inline void SetBeginOffsetChar(int value) {
39 m_beginOffsetCharHasBeenSet = true;
40 m_beginOffsetChar = value;
41 }
43 SetBeginOffsetChar(value);
44 return *this;
45 }
47
49
52 inline int GetEndOffsetChar() const { return m_endOffsetChar; }
53 inline bool EndOffsetCharHasBeenSet() const { return m_endOffsetCharHasBeenSet; }
54 inline void SetEndOffsetChar(int value) {
55 m_endOffsetCharHasBeenSet = true;
56 m_endOffsetChar = value;
57 }
59 SetEndOffsetChar(value);
60 return *this;
61 }
63 private:
64 int m_beginOffsetChar{0};
65
66 int m_endOffsetChar{0};
67 bool m_beginOffsetCharHasBeenSet = false;
68 bool m_endOffsetCharHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace ConnectContactLens
73} // namespace Aws
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCONTACTLENS_API CharacterOffsets & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCONTACTLENS_API CharacterOffsets(Aws::Utils::Json::JsonView jsonValue)
CharacterOffsets & WithBeginOffsetChar(int value)
AWS_CONNECTCONTACTLENS_API CharacterOffsets()=default
Aws::Utils::Json::JsonValue JsonValue