AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PreProcessingModelInvocationOutput.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/PreProcessingParsedResponse.h>
10#include <aws/bedrock-agent-runtime/model/RawResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput();
39 AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Metadata& GetMetadata() const{ return m_metadata; }
50 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
51 inline void SetMetadata(const Metadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
52 inline void SetMetadata(Metadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
53 inline PreProcessingModelInvocationOutput& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;}
54 inline PreProcessingModelInvocationOutput& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;}
56
58
62 inline const PreProcessingParsedResponse& GetParsedResponse() const{ return m_parsedResponse; }
63 inline bool ParsedResponseHasBeenSet() const { return m_parsedResponseHasBeenSet; }
64 inline void SetParsedResponse(const PreProcessingParsedResponse& value) { m_parsedResponseHasBeenSet = true; m_parsedResponse = value; }
65 inline void SetParsedResponse(PreProcessingParsedResponse&& value) { m_parsedResponseHasBeenSet = true; m_parsedResponse = std::move(value); }
69
71
74 inline const RawResponse& GetRawResponse() const{ return m_rawResponse; }
75 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
76 inline void SetRawResponse(const RawResponse& value) { m_rawResponseHasBeenSet = true; m_rawResponse = value; }
77 inline void SetRawResponse(RawResponse&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::move(value); }
79 inline PreProcessingModelInvocationOutput& WithRawResponse(RawResponse&& value) { SetRawResponse(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetTraceId() const{ return m_traceId; }
87 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
88 inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; }
89 inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); }
90 inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); }
91 inline PreProcessingModelInvocationOutput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;}
92 inline PreProcessingModelInvocationOutput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;}
93 inline PreProcessingModelInvocationOutput& WithTraceId(const char* value) { SetTraceId(value); return *this;}
95 private:
96
97 Metadata m_metadata;
98 bool m_metadataHasBeenSet = false;
99
100 PreProcessingParsedResponse m_parsedResponse;
101 bool m_parsedResponseHasBeenSet = false;
102
103 RawResponse m_rawResponse;
104 bool m_rawResponseHasBeenSet = false;
105
106 Aws::String m_traceId;
107 bool m_traceIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace BedrockAgentRuntime
112} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
PreProcessingModelInvocationOutput & WithRawResponse(RawResponse &&value)
PreProcessingModelInvocationOutput & WithRawResponse(const RawResponse &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PreProcessingModelInvocationOutput & WithTraceId(Aws::String &&value)
PreProcessingModelInvocationOutput & WithTraceId(const Aws::String &value)
PreProcessingModelInvocationOutput & WithParsedResponse(const PreProcessingParsedResponse &value)
PreProcessingModelInvocationOutput & WithMetadata(const Metadata &value)
PreProcessingModelInvocationOutput & WithParsedResponse(PreProcessingParsedResponse &&value)
AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue