AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PromptOverrideConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent-runtime/model/PromptConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration() = default;
40 AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline const Aws::String& GetOverrideLambda() const { return m_overrideLambda; }
55 inline bool OverrideLambdaHasBeenSet() const { return m_overrideLambdaHasBeenSet; }
56 template<typename OverrideLambdaT = Aws::String>
57 void SetOverrideLambda(OverrideLambdaT&& value) { m_overrideLambdaHasBeenSet = true; m_overrideLambda = std::forward<OverrideLambdaT>(value); }
58 template<typename OverrideLambdaT = Aws::String>
59 PromptOverrideConfiguration& WithOverrideLambda(OverrideLambdaT&& value) { SetOverrideLambda(std::forward<OverrideLambdaT>(value)); return *this;}
61
63
69 inline const Aws::Vector<PromptConfiguration>& GetPromptConfigurations() const { return m_promptConfigurations; }
70 inline bool PromptConfigurationsHasBeenSet() const { return m_promptConfigurationsHasBeenSet; }
71 template<typename PromptConfigurationsT = Aws::Vector<PromptConfiguration>>
72 void SetPromptConfigurations(PromptConfigurationsT&& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations = std::forward<PromptConfigurationsT>(value); }
73 template<typename PromptConfigurationsT = Aws::Vector<PromptConfiguration>>
74 PromptOverrideConfiguration& WithPromptConfigurations(PromptConfigurationsT&& value) { SetPromptConfigurations(std::forward<PromptConfigurationsT>(value)); return *this;}
75 template<typename PromptConfigurationsT = PromptConfiguration>
76 PromptOverrideConfiguration& AddPromptConfigurations(PromptConfigurationsT&& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations.emplace_back(std::forward<PromptConfigurationsT>(value)); return *this; }
78 private:
79
80 Aws::String m_overrideLambda;
81 bool m_overrideLambdaHasBeenSet = false;
82
83 Aws::Vector<PromptConfiguration> m_promptConfigurations;
84 bool m_promptConfigurationsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace BedrockAgentRuntime
89} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PromptOverrideConfiguration & WithOverrideLambda(OverrideLambdaT &&value)
AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration()=default
PromptOverrideConfiguration & WithPromptConfigurations(PromptConfigurationsT &&value)
AWS_BEDROCKAGENTRUNTIME_API PromptOverrideConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PromptConfiguration > & GetPromptConfigurations() const
PromptOverrideConfiguration & AddPromptConfigurations(PromptConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue