AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ExtractionConfig.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 BedrockAgentCore {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENTCORE_API ExtractionConfig() = default;
33 AWS_BEDROCKAGENTCORE_API ExtractionConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API ExtractionConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::Map<Aws::String, Aws::String>& GetNamespaceVariables() const { return m_namespaceVariables; }
44 inline bool NamespaceVariablesHasBeenSet() const { return m_namespaceVariablesHasBeenSet; }
45 template <typename NamespaceVariablesT = Aws::Map<Aws::String, Aws::String>>
46 void SetNamespaceVariables(NamespaceVariablesT&& value) {
47 m_namespaceVariablesHasBeenSet = true;
48 m_namespaceVariables = std::forward<NamespaceVariablesT>(value);
49 }
50 template <typename NamespaceVariablesT = Aws::Map<Aws::String, Aws::String>>
51 ExtractionConfig& WithNamespaceVariables(NamespaceVariablesT&& value) {
52 SetNamespaceVariables(std::forward<NamespaceVariablesT>(value));
53 return *this;
54 }
55 template <typename NamespaceVariablesKeyT = Aws::String, typename NamespaceVariablesValueT = Aws::String>
56 ExtractionConfig& AddNamespaceVariables(NamespaceVariablesKeyT&& key, NamespaceVariablesValueT&& value) {
57 m_namespaceVariablesHasBeenSet = true;
58 m_namespaceVariables.emplace(std::forward<NamespaceVariablesKeyT>(key), std::forward<NamespaceVariablesValueT>(value));
59 return *this;
60 }
62 private:
63 Aws::Map<Aws::String, Aws::String> m_namespaceVariables;
64 bool m_namespaceVariablesHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace BedrockAgentCore
69} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetNamespaceVariables() const
AWS_BEDROCKAGENTCORE_API ExtractionConfig()=default
AWS_BEDROCKAGENTCORE_API ExtractionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespaceVariables(NamespaceVariablesT &&value)
ExtractionConfig & AddNamespaceVariables(NamespaceVariablesKeyT &&key, NamespaceVariablesValueT &&value)
ExtractionConfig & WithNamespaceVariables(NamespaceVariablesT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API ExtractionConfig(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue