AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ParsingConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ParsingStrategy.h>
9#include <aws/qconnect/model/BedrockFoundationModelConfigurationForParsing.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() = default;
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline ParsingStrategy GetParsingStrategy() const { return m_parsingStrategy; }
50 inline bool ParsingStrategyHasBeenSet() const { return m_parsingStrategyHasBeenSet; }
51 inline void SetParsingStrategy(ParsingStrategy value) { m_parsingStrategyHasBeenSet = true; m_parsingStrategy = value; }
54
56
60 inline const BedrockFoundationModelConfigurationForParsing& GetBedrockFoundationModelConfiguration() const { return m_bedrockFoundationModelConfiguration; }
61 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
62 template<typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfigurationForParsing>
63 void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT&& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = std::forward<BedrockFoundationModelConfigurationT>(value); }
64 template<typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfigurationForParsing>
65 ParsingConfiguration& WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT&& value) { SetBedrockFoundationModelConfiguration(std::forward<BedrockFoundationModelConfigurationT>(value)); return *this;}
67 private:
68
70 bool m_parsingStrategyHasBeenSet = false;
71
72 BedrockFoundationModelConfigurationForParsing m_bedrockFoundationModelConfiguration;
73 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
AWS_QCONNECT_API ParsingConfiguration()=default
AWS_QCONNECT_API ParsingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ParsingConfiguration & WithParsingStrategy(ParsingStrategy value)
AWS_QCONNECT_API ParsingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const BedrockFoundationModelConfigurationForParsing & GetBedrockFoundationModelConfiguration() const
ParsingConfiguration & WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue