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/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/BedrockFoundationModelConfiguration.h>
9#include <aws/bedrock-agent/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 BedrockAgent
23{
24namespace Model
25{
26
50 {
51 public:
52 AWS_BEDROCKAGENT_API ParsingConfiguration();
53 AWS_BEDROCKAGENT_API ParsingConfiguration(Aws::Utils::Json::JsonView jsonValue);
55 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
63 inline const BedrockFoundationModelConfiguration& GetBedrockFoundationModelConfiguration() const{ return m_bedrockFoundationModelConfiguration; }
64 inline bool BedrockFoundationModelConfigurationHasBeenSet() const { return m_bedrockFoundationModelConfigurationHasBeenSet; }
65 inline void SetBedrockFoundationModelConfiguration(const BedrockFoundationModelConfiguration& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = value; }
66 inline void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration&& value) { m_bedrockFoundationModelConfigurationHasBeenSet = true; m_bedrockFoundationModelConfiguration = std::move(value); }
70
72
75 inline const ParsingStrategy& GetParsingStrategy() const{ return m_parsingStrategy; }
76 inline bool ParsingStrategyHasBeenSet() const { return m_parsingStrategyHasBeenSet; }
77 inline void SetParsingStrategy(const ParsingStrategy& value) { m_parsingStrategyHasBeenSet = true; m_parsingStrategy = value; }
78 inline void SetParsingStrategy(ParsingStrategy&& value) { m_parsingStrategyHasBeenSet = true; m_parsingStrategy = std::move(value); }
79 inline ParsingConfiguration& WithParsingStrategy(const ParsingStrategy& value) { SetParsingStrategy(value); return *this;}
80 inline ParsingConfiguration& WithParsingStrategy(ParsingStrategy&& value) { SetParsingStrategy(std::move(value)); return *this;}
82 private:
83
84 BedrockFoundationModelConfiguration m_bedrockFoundationModelConfiguration;
85 bool m_bedrockFoundationModelConfigurationHasBeenSet = false;
86
87 ParsingStrategy m_parsingStrategy;
88 bool m_parsingStrategyHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace BedrockAgent
93} // namespace Aws
void SetBedrockFoundationModelConfiguration(const BedrockFoundationModelConfiguration &value)
AWS_BEDROCKAGENT_API ParsingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ParsingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const BedrockFoundationModelConfiguration & GetBedrockFoundationModelConfiguration() const
ParsingConfiguration & WithParsingStrategy(ParsingStrategy &&value)
ParsingConfiguration & WithBedrockFoundationModelConfiguration(const BedrockFoundationModelConfiguration &value)
ParsingConfiguration & WithParsingStrategy(const ParsingStrategy &value)
const ParsingStrategy & GetParsingStrategy() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParsingStrategy(const ParsingStrategy &value)
void SetBedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration &&value)
ParsingConfiguration & WithBedrockFoundationModelConfiguration(BedrockFoundationModelConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue