AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
AgenticRetrieveSourceMetadata.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveSourceMetadata() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
57 inline AgenticRetrieveType GetRetrievalType() const { return m_retrievalType; }
58 inline bool RetrievalTypeHasBeenSet() const { return m_retrievalTypeHasBeenSet; }
60 m_retrievalTypeHasBeenSet = true;
61 m_retrievalType = value;
62 }
64 SetRetrievalType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_identifier;
70
72 bool m_identifierHasBeenSet = false;
73 bool m_retrievalTypeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveSourceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveSourceMetadata(Aws::Utils::Json::JsonView jsonValue)
AgenticRetrieveSourceMetadata & WithRetrievalType(AgenticRetrieveType value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveSourceMetadata()=default
AgenticRetrieveSourceMetadata & WithIdentifier(IdentifierT &&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