AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/DocumentBoundingBox.h>
9#include <aws/bedrock-data-automation/model/DocumentExtractionGranularity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockDataAutomation {
21namespace Model {
22
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction() = default;
31 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardExtraction& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const DocumentExtractionGranularity& GetGranularity() const { return m_granularity; }
38 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
39 template <typename GranularityT = DocumentExtractionGranularity>
40 void SetGranularity(GranularityT&& value) {
41 m_granularityHasBeenSet = true;
42 m_granularity = std::forward<GranularityT>(value);
43 }
44 template <typename GranularityT = DocumentExtractionGranularity>
46 SetGranularity(std::forward<GranularityT>(value));
47 return *this;
48 }
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) {
57 m_boundingBoxHasBeenSet = true;
58 m_boundingBox = std::forward<BoundingBoxT>(value);
59 }
60 template <typename BoundingBoxT = DocumentBoundingBox>
62 SetBoundingBox(std::forward<BoundingBoxT>(value));
63 return *this;
64 }
66 private:
68
69 DocumentBoundingBox m_boundingBox;
70 bool m_granularityHasBeenSet = false;
71 bool m_boundingBoxHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace BedrockDataAutomation
76} // 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