AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingClassifierModelInvocationOutput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Metadata.h>
9#include <aws/bedrock-agent-runtime/model/RawResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierModelInvocationOutput() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Metadata& GetMetadata() const { return m_metadata; }
42 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
43 template <typename MetadataT = Metadata>
44 void SetMetadata(MetadataT&& value) {
45 m_metadataHasBeenSet = true;
46 m_metadata = std::forward<MetadataT>(value);
47 }
48 template <typename MetadataT = Metadata>
50 SetMetadata(std::forward<MetadataT>(value));
51 return *this;
52 }
54
56
59 inline const RawResponse& GetRawResponse() const { return m_rawResponse; }
60 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
61 template <typename RawResponseT = RawResponse>
63 m_rawResponseHasBeenSet = true;
64 m_rawResponse = std::forward<RawResponseT>(value);
65 }
66 template <typename RawResponseT = RawResponse>
68 SetRawResponse(std::forward<RawResponseT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTraceId() const { return m_traceId; }
78 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
79 template <typename TraceIdT = Aws::String>
80 void SetTraceId(TraceIdT&& value) {
81 m_traceIdHasBeenSet = true;
82 m_traceId = std::forward<TraceIdT>(value);
83 }
84 template <typename TraceIdT = Aws::String>
86 SetTraceId(std::forward<TraceIdT>(value));
87 return *this;
88 }
90 private:
91 Metadata m_metadata;
92
93 RawResponse m_rawResponse;
94
95 Aws::String m_traceId;
96 bool m_metadataHasBeenSet = false;
97 bool m_rawResponseHasBeenSet = false;
98 bool m_traceIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgentRuntime
103} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierModelInvocationOutput()=default
RoutingClassifierModelInvocationOutput & WithRawResponse(RawResponseT &&value)
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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