AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DocumentStandardExtraction.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/DocumentExtractionGranularity.h>
9#include <aws/bedrock-data-automation/model/DocumentBoundingBox.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockDataAutomation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction() = default;
36 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const DocumentExtractionGranularity& GetGranularity() const { return m_granularity; }
44 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
45 template<typename GranularityT = DocumentExtractionGranularity>
46 void SetGranularity(GranularityT&& value) { m_granularityHasBeenSet = true; m_granularity = std::forward<GranularityT>(value); }
47 template<typename GranularityT = DocumentExtractionGranularity>
48 DocumentStandardExtraction& WithGranularity(GranularityT&& value) { SetGranularity(std::forward<GranularityT>(value)); return *this;}
50
52
53 inline const DocumentBoundingBox& GetBoundingBox() const { return m_boundingBox; }
54 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
55 template<typename BoundingBoxT = DocumentBoundingBox>
56 void SetBoundingBox(BoundingBoxT&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::forward<BoundingBoxT>(value); }
57 template<typename BoundingBoxT = DocumentBoundingBox>
58 DocumentStandardExtraction& WithBoundingBox(BoundingBoxT&& value) { SetBoundingBox(std::forward<BoundingBoxT>(value)); return *this;}
60 private:
61
63 bool m_granularityHasBeenSet = false;
64
65 DocumentBoundingBox m_boundingBox;
66 bool m_boundingBoxHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace BedrockDataAutomation
71} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction()=default
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentStandardExtraction & WithGranularity(GranularityT &&value)
DocumentStandardExtraction & WithBoundingBox(BoundingBoxT &&value)
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue