AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TracePart.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/bedrock-agent-runtime/model/Trace.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_BEDROCKAGENTRUNTIME_API TracePart();
42 AWS_BEDROCKAGENTRUNTIME_API TracePart(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API TracePart& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetAgentAliasId() const{ return m_agentAliasId; }
52 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
53 inline void SetAgentAliasId(const Aws::String& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = value; }
54 inline void SetAgentAliasId(Aws::String&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::move(value); }
55 inline void SetAgentAliasId(const char* value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId.assign(value); }
56 inline TracePart& WithAgentAliasId(const Aws::String& value) { SetAgentAliasId(value); return *this;}
57 inline TracePart& WithAgentAliasId(Aws::String&& value) { SetAgentAliasId(std::move(value)); return *this;}
58 inline TracePart& WithAgentAliasId(const char* value) { SetAgentAliasId(value); return *this;}
60
62
65 inline const Aws::String& GetAgentId() const{ return m_agentId; }
66 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
67 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
68 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
69 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
70 inline TracePart& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
71 inline TracePart& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
72 inline TracePart& WithAgentId(const char* value) { SetAgentId(value); return *this;}
74
76
79 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
80 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
81 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
82 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
83 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
84 inline TracePart& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
85 inline TracePart& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
86 inline TracePart& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
88
90
93 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
94 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
95 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
96 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
97 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
98 inline TracePart& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
99 inline TracePart& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
100 inline TracePart& WithSessionId(const char* value) { SetSessionId(value); return *this;}
102
104
112 inline const Trace& GetTrace() const{ return m_trace; }
113 inline bool TraceHasBeenSet() const { return m_traceHasBeenSet; }
114 inline void SetTrace(const Trace& value) { m_traceHasBeenSet = true; m_trace = value; }
115 inline void SetTrace(Trace&& value) { m_traceHasBeenSet = true; m_trace = std::move(value); }
116 inline TracePart& WithTrace(const Trace& value) { SetTrace(value); return *this;}
117 inline TracePart& WithTrace(Trace&& value) { SetTrace(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_agentAliasId;
122 bool m_agentAliasIdHasBeenSet = false;
123
124 Aws::String m_agentId;
125 bool m_agentIdHasBeenSet = false;
126
127 Aws::String m_agentVersion;
128 bool m_agentVersionHasBeenSet = false;
129
130 Aws::String m_sessionId;
131 bool m_sessionIdHasBeenSet = false;
132
133 Trace m_trace;
134 bool m_traceHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace BedrockAgentRuntime
139} // namespace Aws
const Aws::String & GetAgentAliasId() const
Definition TracePart.h:51
TracePart & WithAgentVersion(const char *value)
Definition TracePart.h:86
TracePart & WithAgentAliasId(const char *value)
Definition TracePart.h:58
const Aws::String & GetSessionId() const
Definition TracePart.h:93
TracePart & WithTrace(Trace &&value)
Definition TracePart.h:117
const Aws::String & GetAgentVersion() const
Definition TracePart.h:79
void SetSessionId(Aws::String &&value)
Definition TracePart.h:96
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
TracePart & WithAgentId(const Aws::String &value)
Definition TracePart.h:70
TracePart & WithAgentId(Aws::String &&value)
Definition TracePart.h:71
AWS_BEDROCKAGENTRUNTIME_API TracePart()
AWS_BEDROCKAGENTRUNTIME_API TracePart & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentAliasId(const char *value)
Definition TracePart.h:55
void SetAgentVersion(Aws::String &&value)
Definition TracePart.h:82
void SetAgentId(Aws::String &&value)
Definition TracePart.h:68
TracePart & WithAgentAliasId(const Aws::String &value)
Definition TracePart.h:56
void SetAgentAliasId(Aws::String &&value)
Definition TracePart.h:54
TracePart & WithAgentAliasId(Aws::String &&value)
Definition TracePart.h:57
AWS_BEDROCKAGENTRUNTIME_API TracePart(Aws::Utils::Json::JsonView jsonValue)
void SetAgentVersion(const Aws::String &value)
Definition TracePart.h:81
void SetAgentVersion(const char *value)
Definition TracePart.h:83
void SetSessionId(const Aws::String &value)
Definition TracePart.h:95
TracePart & WithAgentId(const char *value)
Definition TracePart.h:72
const Aws::String & GetAgentId() const
Definition TracePart.h:65
TracePart & WithSessionId(const char *value)
Definition TracePart.h:100
TracePart & WithSessionId(const Aws::String &value)
Definition TracePart.h:98
void SetAgentId(const Aws::String &value)
Definition TracePart.h:67
TracePart & WithAgentVersion(const Aws::String &value)
Definition TracePart.h:84
TracePart & WithAgentVersion(Aws::String &&value)
Definition TracePart.h:85
TracePart & WithTrace(const Trace &value)
Definition TracePart.h:116
void SetSessionId(const char *value)
Definition TracePart.h:97
TracePart & WithSessionId(Aws::String &&value)
Definition TracePart.h:99
void SetAgentAliasId(const Aws::String &value)
Definition TracePart.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue