AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierModelInvocationOutput() = default;
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Metadata& GetMetadata() const { return m_metadata; }
48 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
49 template<typename MetadataT = Metadata>
50 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
51 template<typename MetadataT = Metadata>
52 RoutingClassifierModelInvocationOutput& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
54
56
59 inline const RawResponse& GetRawResponse() const { return m_rawResponse; }
60 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
61 template<typename RawResponseT = RawResponse>
62 void SetRawResponse(RawResponseT&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::forward<RawResponseT>(value); }
63 template<typename RawResponseT = RawResponse>
64 RoutingClassifierModelInvocationOutput& WithRawResponse(RawResponseT&& value) { SetRawResponse(std::forward<RawResponseT>(value)); return *this;}
66
68
71 inline const Aws::String& GetTraceId() const { return m_traceId; }
72 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
73 template<typename TraceIdT = Aws::String>
74 void SetTraceId(TraceIdT&& value) { m_traceIdHasBeenSet = true; m_traceId = std::forward<TraceIdT>(value); }
75 template<typename TraceIdT = Aws::String>
76 RoutingClassifierModelInvocationOutput& WithTraceId(TraceIdT&& value) { SetTraceId(std::forward<TraceIdT>(value)); return *this;}
78 private:
79
80 Metadata m_metadata;
81 bool m_metadataHasBeenSet = false;
82
83 RawResponse m_rawResponse;
84 bool m_rawResponseHasBeenSet = false;
85
86 Aws::String m_traceId;
87 bool m_traceIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace BedrockAgentRuntime
92} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue