AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
Caller.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_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 BedrockAgentRuntime {
20namespace Model {
21
27class Caller {
28 public:
29 AWS_BEDROCKAGENTRUNTIME_API Caller() = default;
30 AWS_BEDROCKAGENTRUNTIME_API Caller(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAgentAliasArn() const { return m_agentAliasArn; }
39 inline bool AgentAliasArnHasBeenSet() const { return m_agentAliasArnHasBeenSet; }
40 template <typename AgentAliasArnT = Aws::String>
42 m_agentAliasArnHasBeenSet = true;
43 m_agentAliasArn = std::forward<AgentAliasArnT>(value);
44 }
45 template <typename AgentAliasArnT = Aws::String>
47 SetAgentAliasArn(std::forward<AgentAliasArnT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_agentAliasArn;
53 bool m_agentAliasArnHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockAgentRuntime
58} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Caller()=default
AWS_BEDROCKAGENTRUNTIME_API Caller & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentAliasArn(AgentAliasArnT &&value)
Definition Caller.h:41
const Aws::String & GetAgentAliasArn() const
Definition Caller.h:38
AWS_BEDROCKAGENTRUNTIME_API Caller(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Caller & WithAgentAliasArn(AgentAliasArnT &&value)
Definition Caller.h:46
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