AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
33 public:
34 AWS_QCONNECT_API ParsingConfiguration() = default;
37 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline ParsingStrategy GetParsingStrategy() const { return m_parsingStrategy; }
44 inline bool ParsingStrategyHasBeenSet() const { return m_parsingStrategyHasBeenSet; }
46 m_parsingStrategyHasBeenSet = true;
47 m_parsingStrategy = value;
48 }
50 SetParsingStrategy(value);
51 return *this;
52 }
54
56
61 return m_bedrockFoundationModelConfiguration;
62 }
63 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
64 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfigurationForParsing>
66 m_bedrockFoundationModelConfigurationHasBeenSet = true;
67 m_bedrockFoundationModelConfiguration = std::forward<BedrockFoundationModelConfigurationT>(value);
68 }
69 template <typename BedrockFoundationModelConfigurationT = BedrockFoundationModelConfigurationForParsing>
71 SetBedrockFoundationModelConfiguration(std::forward<BedrockFoundationModelConfigurationT>(value));
72 return *this;
73 }
75 private:
77
78 BedrockFoundationModelConfigurationForParsing m_bedrockFoundationModelConfiguration;
79 bool m_parsingStrategyHasBeenSet = false;
80 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace QConnect
85} // 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