AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BedrockKnowledgeStoreConfiguration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/BedrockKnowledgeStoreExactResponseFields.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 LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBedrockKnowledgeBaseArn() const{ return m_bedrockKnowledgeBaseArn; }
47 inline bool BedrockKnowledgeBaseArnHasBeenSet() const { return m_bedrockKnowledgeBaseArnHasBeenSet; }
48 inline void SetBedrockKnowledgeBaseArn(const Aws::String& value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn = value; }
49 inline void SetBedrockKnowledgeBaseArn(Aws::String&& value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn = std::move(value); }
50 inline void SetBedrockKnowledgeBaseArn(const char* value) { m_bedrockKnowledgeBaseArnHasBeenSet = true; m_bedrockKnowledgeBaseArn.assign(value); }
55
57
61 inline bool GetExactResponse() const{ return m_exactResponse; }
62 inline bool ExactResponseHasBeenSet() const { return m_exactResponseHasBeenSet; }
63 inline void SetExactResponse(bool value) { m_exactResponseHasBeenSet = true; m_exactResponse = value; }
64 inline BedrockKnowledgeStoreConfiguration& WithExactResponse(bool value) { SetExactResponse(value); return *this;}
66
68
71 inline const BedrockKnowledgeStoreExactResponseFields& GetExactResponseFields() const{ return m_exactResponseFields; }
72 inline bool ExactResponseFieldsHasBeenSet() const { return m_exactResponseFieldsHasBeenSet; }
73 inline void SetExactResponseFields(const BedrockKnowledgeStoreExactResponseFields& value) { m_exactResponseFieldsHasBeenSet = true; m_exactResponseFields = value; }
74 inline void SetExactResponseFields(BedrockKnowledgeStoreExactResponseFields&& value) { m_exactResponseFieldsHasBeenSet = true; m_exactResponseFields = std::move(value); }
78 private:
79
80 Aws::String m_bedrockKnowledgeBaseArn;
81 bool m_bedrockKnowledgeBaseArnHasBeenSet = false;
82
83 bool m_exactResponse;
84 bool m_exactResponseHasBeenSet = false;
85
86 BedrockKnowledgeStoreExactResponseFields m_exactResponseFields;
87 bool m_exactResponseFieldsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LexModelsV2
92} // namespace Aws
void SetExactResponseFields(BedrockKnowledgeStoreExactResponseFields &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BedrockKnowledgeStoreConfiguration(Aws::Utils::Json::JsonView jsonValue)
BedrockKnowledgeStoreConfiguration & WithBedrockKnowledgeBaseArn(Aws::String &&value)
const BedrockKnowledgeStoreExactResponseFields & GetExactResponseFields() const
BedrockKnowledgeStoreConfiguration & WithBedrockKnowledgeBaseArn(const Aws::String &value)
BedrockKnowledgeStoreConfiguration & WithBedrockKnowledgeBaseArn(const char *value)
void SetExactResponseFields(const BedrockKnowledgeStoreExactResponseFields &value)
BedrockKnowledgeStoreConfiguration & WithExactResponseFields(BedrockKnowledgeStoreExactResponseFields &&value)
AWS_LEXMODELSV2_API BedrockKnowledgeStoreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BedrockKnowledgeStoreConfiguration & WithExactResponseFields(const BedrockKnowledgeStoreExactResponseFields &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue