AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrchestrationModelInvocationOutput.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 OrchestrationModelInvocationOutput();
38 AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Metadata& GetMetadata() const{ return m_metadata; }
49 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
50 inline void SetMetadata(const Metadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
51 inline void SetMetadata(Metadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
52 inline OrchestrationModelInvocationOutput& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;}
53 inline OrchestrationModelInvocationOutput& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;}
55
57
60 inline const RawResponse& GetRawResponse() const{ return m_rawResponse; }
61 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
62 inline void SetRawResponse(const RawResponse& value) { m_rawResponseHasBeenSet = true; m_rawResponse = value; }
63 inline void SetRawResponse(RawResponse&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::move(value); }
65 inline OrchestrationModelInvocationOutput& WithRawResponse(RawResponse&& value) { SetRawResponse(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetTraceId() const{ return m_traceId; }
73 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
74 inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; }
75 inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); }
76 inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); }
77 inline OrchestrationModelInvocationOutput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;}
78 inline OrchestrationModelInvocationOutput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;}
79 inline OrchestrationModelInvocationOutput& WithTraceId(const char* value) { SetTraceId(value); return *this;}
81 private:
82
83 Metadata m_metadata;
84 bool m_metadataHasBeenSet = false;
85
86 RawResponse m_rawResponse;
87 bool m_rawResponseHasBeenSet = false;
88
89 Aws::String m_traceId;
90 bool m_traceIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace BedrockAgentRuntime
95} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
OrchestrationModelInvocationOutput & WithTraceId(const Aws::String &value)
OrchestrationModelInvocationOutput & WithTraceId(Aws::String &&value)
OrchestrationModelInvocationOutput & WithRawResponse(RawResponse &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
OrchestrationModelInvocationOutput & WithMetadata(const Metadata &value)
OrchestrationModelInvocationOutput & WithRawResponse(const RawResponse &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue