AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExternalBedrockKnowledgeBaseConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QConnect {
20namespace Model {
21
29 public:
30 AWS_QCONNECT_API ExternalBedrockKnowledgeBaseConfig() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBedrockKnowledgeBaseArn() const { return m_bedrockKnowledgeBaseArn; }
40 inline bool BedrockKnowledgeBaseArnHasBeenSet() const { return m_bedrockKnowledgeBaseArnHasBeenSet; }
41 template <typename BedrockKnowledgeBaseArnT = Aws::String>
43 m_bedrockKnowledgeBaseArnHasBeenSet = true;
44 m_bedrockKnowledgeBaseArn = std::forward<BedrockKnowledgeBaseArnT>(value);
45 }
46 template <typename BedrockKnowledgeBaseArnT = Aws::String>
48 SetBedrockKnowledgeBaseArn(std::forward<BedrockKnowledgeBaseArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
59 inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; }
60 template <typename AccessRoleArnT = Aws::String>
62 m_accessRoleArnHasBeenSet = true;
63 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
64 }
65 template <typename AccessRoleArnT = Aws::String>
67 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_bedrockKnowledgeBaseArn;
73
74 Aws::String m_accessRoleArn;
75 bool m_bedrockKnowledgeBaseArnHasBeenSet = false;
76 bool m_accessRoleArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QConnect
81} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalBedrockKnowledgeBaseConfig & WithAccessRoleArn(AccessRoleArnT &&value)
AWS_QCONNECT_API ExternalBedrockKnowledgeBaseConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API ExternalBedrockKnowledgeBaseConfig(Aws::Utils::Json::JsonView jsonValue)
ExternalBedrockKnowledgeBaseConfig & WithBedrockKnowledgeBaseArn(BedrockKnowledgeBaseArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue