AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
AgenticRetrieveCodeExecutionDocument.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/AgenticRetrieveSourceRetriever.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 AgenticRetrieveCodeExecutionDocument() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDocumentId() const { return m_documentId; }
40 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
41 template <typename DocumentIdT = Aws::String>
42 void SetDocumentId(DocumentIdT&& value) {
43 m_documentIdHasBeenSet = true;
44 m_documentId = std::forward<DocumentIdT>(value);
45 }
46 template <typename DocumentIdT = Aws::String>
48 SetDocumentId(std::forward<DocumentIdT>(value));
49 return *this;
50 }
52
54
57 inline const AgenticRetrieveSourceRetriever& GetSourceRetriever() const { return m_sourceRetriever; }
58 inline bool SourceRetrieverHasBeenSet() const { return m_sourceRetrieverHasBeenSet; }
59 template <typename SourceRetrieverT = AgenticRetrieveSourceRetriever>
60 void SetSourceRetriever(SourceRetrieverT&& value) {
61 m_sourceRetrieverHasBeenSet = true;
62 m_sourceRetriever = std::forward<SourceRetrieverT>(value);
63 }
64 template <typename SourceRetrieverT = AgenticRetrieveSourceRetriever>
66 SetSourceRetriever(std::forward<SourceRetrieverT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_documentId;
72
73 AgenticRetrieveSourceRetriever m_sourceRetriever;
74 bool m_documentIdHasBeenSet = false;
75 bool m_sourceRetrieverHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveCodeExecutionDocument(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AgenticRetrieveCodeExecutionDocument & WithDocumentId(DocumentIdT &&value)
AgenticRetrieveCodeExecutionDocument & WithSourceRetriever(SourceRetrieverT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveCodeExecutionDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgenticRetrieveCodeExecutionDocument()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue