AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GenerationSource.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/TraceGenerationSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
28 public:
29 AWS_BEDROCKAGENTCORE_API GenerationSource() = default;
30 AWS_BEDROCKAGENTCORE_API GenerationSource(Aws::Utils::Json::JsonView jsonValue);
31 AWS_BEDROCKAGENTCORE_API GenerationSource& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const TraceGenerationSource& GetTraceGeneration() const { return m_traceGeneration; }
39 inline bool TraceGenerationHasBeenSet() const { return m_traceGenerationHasBeenSet; }
40 template <typename TraceGenerationT = TraceGenerationSource>
41 void SetTraceGeneration(TraceGenerationT&& value) {
42 m_traceGenerationHasBeenSet = true;
43 m_traceGeneration = std::forward<TraceGenerationT>(value);
44 }
45 template <typename TraceGenerationT = TraceGenerationSource>
46 GenerationSource& WithTraceGeneration(TraceGenerationT&& value) {
47 SetTraceGeneration(std::forward<TraceGenerationT>(value));
48 return *this;
49 }
51 private:
52 TraceGenerationSource m_traceGeneration;
53 bool m_traceGenerationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockAgentCore
58} // namespace Aws
AWS_BEDROCKAGENTCORE_API GenerationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTraceGeneration(TraceGenerationT &&value)
AWS_BEDROCKAGENTCORE_API GenerationSource()=default
GenerationSource & WithTraceGeneration(TraceGenerationT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API GenerationSource(Aws::Utils::Json::JsonView jsonValue)
const TraceGenerationSource & GetTraceGeneration() const
Aws::Utils::Json::JsonValue JsonValue