AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParsingConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/BedrockFoundationModelConfigurationForParsing.h>
9#include <aws/qconnect/model/ParsingStrategy.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 QConnect
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_QCONNECT_API ParsingConfiguration();
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const BedrockFoundationModelConfigurationForParsing& GetBedrockFoundationModelConfiguration() const{ return m_bedrockFoundationModelConfiguration; }
51 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
52 inline void SetBedrockFoundationModelConfiguration(const BedrockFoundationModelConfigurationForParsing& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = value; }
53 inline void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationForParsing&& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = std::move(value); }
57
59
62 inline const ParsingStrategy& GetParsingStrategy() const{ return m_parsingStrategy; }
63 inline bool ParsingStrategyHasBeenSet() const { return m_parsingStrategyHasBeenSet; }
64 inline void SetParsingStrategy(const ParsingStrategy& value) { m_parsingStrategyHasBeenSet = true; m_parsingStrategy = value; }
65 inline void SetParsingStrategy(ParsingStrategy&& value) { m_parsingStrategyHasBeenSet = true; m_parsingStrategy = std::move(value); }
66 inline ParsingConfiguration& WithParsingStrategy(const ParsingStrategy& value) { SetParsingStrategy(value); return *this;}
67 inline ParsingConfiguration& WithParsingStrategy(ParsingStrategy&& value) { SetParsingStrategy(std::move(value)); return *this;}
69 private:
70
71 BedrockFoundationModelConfigurationForParsing m_bedrockFoundationModelConfiguration;
72 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
73
74 ParsingStrategy m_parsingStrategy;
75 bool m_parsingStrategyHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QConnect
80} // namespace Aws
ParsingConfiguration & WithBedrockFoundationModelConfiguration(const BedrockFoundationModelConfigurationForParsing &value)
AWS_QCONNECT_API ParsingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBedrockFoundationModelConfiguration(const BedrockFoundationModelConfigurationForParsing &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API ParsingConfiguration(Aws::Utils::Json::JsonView jsonValue)
ParsingConfiguration & WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationForParsing &&value)
void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationForParsing &&value)
void SetParsingStrategy(ParsingStrategy &&value)
const BedrockFoundationModelConfigurationForParsing & GetBedrockFoundationModelConfiguration() const
ParsingConfiguration & WithParsingStrategy(ParsingStrategy &&value)
const ParsingStrategy & GetParsingStrategy() const
void SetParsingStrategy(const ParsingStrategy &value)
ParsingConfiguration & WithParsingStrategy(const ParsingStrategy &value)
Aws::Utils::Json::JsonValue JsonValue