AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PromptOverrideConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_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/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 BedrockAgent
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_BEDROCKAGENT_API PromptOverrideConfiguration();
42 AWS_BEDROCKAGENT_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 inline void SetOverrideLambda(const Aws::String& value) { m_overrideLambdaHasBeenSet = true; m_overrideLambda = value; }
57 inline void SetOverrideLambda(Aws::String&& value) { m_overrideLambdaHasBeenSet = true; m_overrideLambda = std::move(value); }
58 inline void SetOverrideLambda(const char* value) { m_overrideLambdaHasBeenSet = true; m_overrideLambda.assign(value); }
59 inline PromptOverrideConfiguration& WithOverrideLambda(const Aws::String& value) { SetOverrideLambda(value); return *this;}
60 inline PromptOverrideConfiguration& WithOverrideLambda(Aws::String&& value) { SetOverrideLambda(std::move(value)); return *this;}
61 inline PromptOverrideConfiguration& WithOverrideLambda(const char* value) { SetOverrideLambda(value); return *this;}
63
65
71 inline const Aws::Vector<PromptConfiguration>& GetPromptConfigurations() const{ return m_promptConfigurations; }
72 inline bool PromptConfigurationsHasBeenSet() const { return m_promptConfigurationsHasBeenSet; }
73 inline void SetPromptConfigurations(const Aws::Vector<PromptConfiguration>& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations = value; }
74 inline void SetPromptConfigurations(Aws::Vector<PromptConfiguration>&& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations = std::move(value); }
77 inline PromptOverrideConfiguration& AddPromptConfigurations(const PromptConfiguration& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations.push_back(value); return *this; }
78 inline PromptOverrideConfiguration& AddPromptConfigurations(PromptConfiguration&& value) { m_promptConfigurationsHasBeenSet = true; m_promptConfigurations.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_overrideLambda;
83 bool m_overrideLambdaHasBeenSet = false;
84
85 Aws::Vector<PromptConfiguration> m_promptConfigurations;
86 bool m_promptConfigurationsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace BedrockAgent
91} // namespace Aws
PromptOverrideConfiguration & WithOverrideLambda(const char *value)
void SetPromptConfigurations(const Aws::Vector< PromptConfiguration > &value)
PromptOverrideConfiguration & AddPromptConfigurations(PromptConfiguration &&value)
void SetPromptConfigurations(Aws::Vector< PromptConfiguration > &&value)
PromptOverrideConfiguration & WithPromptConfigurations(const Aws::Vector< PromptConfiguration > &value)
AWS_BEDROCKAGENT_API PromptOverrideConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PromptOverrideConfiguration & WithOverrideLambda(Aws::String &&value)
const Aws::Vector< PromptConfiguration > & GetPromptConfigurations() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptOverrideConfiguration(Aws::Utils::Json::JsonView jsonValue)
PromptOverrideConfiguration & AddPromptConfigurations(const PromptConfiguration &value)
PromptOverrideConfiguration & WithPromptConfigurations(Aws::Vector< PromptConfiguration > &&value)
PromptOverrideConfiguration & WithOverrideLambda(const Aws::String &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