AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DocumentStandardOutputConfiguration.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/DocumentOutputFormat.h>
9#include <aws/bedrock-data-automation/model/DocumentStandardExtraction.h>
10#include <aws/bedrock-data-automation/model/DocumentStandardGenerativeField.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockDataAutomation {
22namespace Model {
23
30 public:
31 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration() = default;
32 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const DocumentStandardExtraction& GetExtraction() const { return m_extraction; }
39 inline bool ExtractionHasBeenSet() const { return m_extractionHasBeenSet; }
40 template <typename ExtractionT = DocumentStandardExtraction>
41 void SetExtraction(ExtractionT&& value) {
42 m_extractionHasBeenSet = true;
43 m_extraction = std::forward<ExtractionT>(value);
44 }
45 template <typename ExtractionT = DocumentStandardExtraction>
47 SetExtraction(std::forward<ExtractionT>(value));
48 return *this;
49 }
51
53
54 inline const DocumentStandardGenerativeField& GetGenerativeField() const { return m_generativeField; }
55 inline bool GenerativeFieldHasBeenSet() const { return m_generativeFieldHasBeenSet; }
56 template <typename GenerativeFieldT = DocumentStandardGenerativeField>
57 void SetGenerativeField(GenerativeFieldT&& value) {
58 m_generativeFieldHasBeenSet = true;
59 m_generativeField = std::forward<GenerativeFieldT>(value);
60 }
61 template <typename GenerativeFieldT = DocumentStandardGenerativeField>
63 SetGenerativeField(std::forward<GenerativeFieldT>(value));
64 return *this;
65 }
67
69
70 inline const DocumentOutputFormat& GetOutputFormat() const { return m_outputFormat; }
71 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
72 template <typename OutputFormatT = DocumentOutputFormat>
73 void SetOutputFormat(OutputFormatT&& value) {
74 m_outputFormatHasBeenSet = true;
75 m_outputFormat = std::forward<OutputFormatT>(value);
76 }
77 template <typename OutputFormatT = DocumentOutputFormat>
79 SetOutputFormat(std::forward<OutputFormatT>(value));
80 return *this;
81 }
83 private:
84 DocumentStandardExtraction m_extraction;
85
86 DocumentStandardGenerativeField m_generativeField;
87
88 DocumentOutputFormat m_outputFormat;
89 bool m_extractionHasBeenSet = false;
90 bool m_generativeFieldHasBeenSet = false;
91 bool m_outputFormatHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace BedrockDataAutomation
96} // namespace Aws
DocumentStandardOutputConfiguration & WithGenerativeField(GenerativeFieldT &&value)
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
DocumentStandardOutputConfiguration & WithExtraction(ExtractionT &&value)
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration()=default
AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentStandardOutputConfiguration & WithOutputFormat(OutputFormatT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue