AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChildBlock.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Comprehend
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_COMPREHEND_API ChildBlock();
35 AWS_COMPREHEND_API ChildBlock(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COMPREHEND_API ChildBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetChildBlockId() const{ return m_childBlockId; }
45 inline bool ChildBlockIdHasBeenSet() const { return m_childBlockIdHasBeenSet; }
46 inline void SetChildBlockId(const Aws::String& value) { m_childBlockIdHasBeenSet = true; m_childBlockId = value; }
47 inline void SetChildBlockId(Aws::String&& value) { m_childBlockIdHasBeenSet = true; m_childBlockId = std::move(value); }
48 inline void SetChildBlockId(const char* value) { m_childBlockIdHasBeenSet = true; m_childBlockId.assign(value); }
49 inline ChildBlock& WithChildBlockId(const Aws::String& value) { SetChildBlockId(value); return *this;}
50 inline ChildBlock& WithChildBlockId(Aws::String&& value) { SetChildBlockId(std::move(value)); return *this;}
51 inline ChildBlock& WithChildBlockId(const char* value) { SetChildBlockId(value); return *this;}
53
55
58 inline int GetBeginOffset() const{ return m_beginOffset; }
59 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
60 inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; }
61 inline ChildBlock& WithBeginOffset(int value) { SetBeginOffset(value); return *this;}
63
65
68 inline int GetEndOffset() const{ return m_endOffset; }
69 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
70 inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; }
71 inline ChildBlock& WithEndOffset(int value) { SetEndOffset(value); return *this;}
73 private:
74
75 Aws::String m_childBlockId;
76 bool m_childBlockIdHasBeenSet = false;
77
78 int m_beginOffset;
79 bool m_beginOffsetHasBeenSet = false;
80
81 int m_endOffset;
82 bool m_endOffsetHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Comprehend
87} // namespace Aws
ChildBlock & WithChildBlockId(Aws::String &&value)
Definition ChildBlock.h:50
void SetChildBlockId(Aws::String &&value)
Definition ChildBlock.h:47
ChildBlock & WithChildBlockId(const char *value)
Definition ChildBlock.h:51
void SetChildBlockId(const char *value)
Definition ChildBlock.h:48
const Aws::String & GetChildBlockId() const
Definition ChildBlock.h:44
ChildBlock & WithEndOffset(int value)
Definition ChildBlock.h:71
AWS_COMPREHEND_API ChildBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API ChildBlock()
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API ChildBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ChildBlock & WithChildBlockId(const Aws::String &value)
Definition ChildBlock.h:49
ChildBlock & WithBeginOffset(int value)
Definition ChildBlock.h:61
void SetChildBlockId(const Aws::String &value)
Definition ChildBlock.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue