AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BedrockFoundationModelConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/ParsingPrompt.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
36 {
37 public:
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
51 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
52 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
53 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
54 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
55 inline BedrockFoundationModelConfiguration& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
56 inline BedrockFoundationModelConfiguration& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
57 inline BedrockFoundationModelConfiguration& WithModelArn(const char* value) { SetModelArn(value); return *this;}
59
61
64 inline const ParsingPrompt& GetParsingPrompt() const{ return m_parsingPrompt; }
65 inline bool ParsingPromptHasBeenSet() const { return m_parsingPromptHasBeenSet; }
66 inline void SetParsingPrompt(const ParsingPrompt& value) { m_parsingPromptHasBeenSet = true; m_parsingPrompt = value; }
67 inline void SetParsingPrompt(ParsingPrompt&& value) { m_parsingPromptHasBeenSet = true; m_parsingPrompt = std::move(value); }
69 inline BedrockFoundationModelConfiguration& WithParsingPrompt(ParsingPrompt&& value) { SetParsingPrompt(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_modelArn;
74 bool m_modelArnHasBeenSet = false;
75
76 ParsingPrompt m_parsingPrompt;
77 bool m_parsingPromptHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace BedrockAgent
82} // namespace Aws
BedrockFoundationModelConfiguration & WithModelArn(const Aws::String &value)
AWS_BEDROCKAGENT_API BedrockFoundationModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BedrockFoundationModelConfiguration & WithModelArn(const char *value)
BedrockFoundationModelConfiguration & WithModelArn(Aws::String &&value)
AWS_BEDROCKAGENT_API BedrockFoundationModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
BedrockFoundationModelConfiguration & WithParsingPrompt(const ParsingPrompt &value)
BedrockFoundationModelConfiguration & WithParsingPrompt(ParsingPrompt &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue