AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
PromptAgentResource.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
34 public:
35 AWS_BEDROCKAGENT_API PromptAgentResource() = default;
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetAgentIdentifier() const { return m_agentIdentifier; }
45 inline bool AgentIdentifierHasBeenSet() const { return m_agentIdentifierHasBeenSet; }
46 template <typename AgentIdentifierT = Aws::String>
48 m_agentIdentifierHasBeenSet = true;
49 m_agentIdentifier = std::forward<AgentIdentifierT>(value);
50 }
51 template <typename AgentIdentifierT = Aws::String>
53 SetAgentIdentifier(std::forward<AgentIdentifierT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_agentIdentifier;
59 bool m_agentIdentifierHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace BedrockAgent
64} // namespace Aws
PromptAgentResource & WithAgentIdentifier(AgentIdentifierT &&value)
AWS_BEDROCKAGENT_API PromptAgentResource(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptAgentResource()=default
AWS_BEDROCKAGENT_API PromptAgentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentIdentifier(AgentIdentifierT &&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