AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/DocumentStandardExtraction.h>
9#include <aws/bedrock-data-automation/model/DocumentStandardGenerativeField.h>
10#include <aws/bedrock-data-automation/model/DocumentOutputFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockDataAutomation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration() = default;
37 AWS_BEDROCKDATAAUTOMATION_API DocumentStandardOutputConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const DocumentStandardExtraction& GetExtraction() const { return m_extraction; }
45 inline bool ExtractionHasBeenSet() const { return m_extractionHasBeenSet; }
46 template<typename ExtractionT = DocumentStandardExtraction>
47 void SetExtraction(ExtractionT&& value) { m_extractionHasBeenSet = true; m_extraction = std::forward<ExtractionT>(value); }
48 template<typename ExtractionT = DocumentStandardExtraction>
49 DocumentStandardOutputConfiguration& WithExtraction(ExtractionT&& value) { SetExtraction(std::forward<ExtractionT>(value)); return *this;}
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) { m_generativeFieldHasBeenSet = true; m_generativeField = std::forward<GenerativeFieldT>(value); }
58 template<typename GenerativeFieldT = DocumentStandardGenerativeField>
59 DocumentStandardOutputConfiguration& WithGenerativeField(GenerativeFieldT&& value) { SetGenerativeField(std::forward<GenerativeFieldT>(value)); return *this;}
61
63
64 inline const DocumentOutputFormat& GetOutputFormat() const { return m_outputFormat; }
65 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
66 template<typename OutputFormatT = DocumentOutputFormat>
67 void SetOutputFormat(OutputFormatT&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::forward<OutputFormatT>(value); }
68 template<typename OutputFormatT = DocumentOutputFormat>
69 DocumentStandardOutputConfiguration& WithOutputFormat(OutputFormatT&& value) { SetOutputFormat(std::forward<OutputFormatT>(value)); return *this;}
71 private:
72
73 DocumentStandardExtraction m_extraction;
74 bool m_extractionHasBeenSet = false;
75
76 DocumentStandardGenerativeField m_generativeField;
77 bool m_generativeFieldHasBeenSet = false;
78
79 DocumentOutputFormat m_outputFormat;
80 bool m_outputFormatHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace BedrockDataAutomation
85} // 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