AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
AgenticRetrieveInstructionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveInstructionConfiguration() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
41 inline bool RetrievalInstructionIdHasBeenSet() const { return m_retrievalInstructionIdHasBeenSet; }
42 template <typename RetrievalInstructionIdT = Aws::String>
43 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
44 m_retrievalInstructionIdHasBeenSet = true;
45 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
46 }
47 template <typename RetrievalInstructionIdT = Aws::String>
49 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetVersion() const { return m_version; }
61 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
62 template <typename VersionT = Aws::String>
63 void SetVersion(VersionT&& value) {
64 m_versionHasBeenSet = true;
65 m_version = std::forward<VersionT>(value);
66 }
67 template <typename VersionT = Aws::String>
69 SetVersion(std::forward<VersionT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_retrievalInstructionId;
75
76 Aws::String m_version;
77 bool m_retrievalInstructionIdHasBeenSet = false;
78 bool m_versionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgentRuntime
83} // namespace Aws
AgenticRetrieveInstructionConfiguration & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveInstructionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveInstructionConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveInstructionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue