AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
APISchema.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/S3Identifier.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_BEDROCKAGENTRUNTIME_API APISchema() = default;
41 AWS_BEDROCKAGENTRUNTIME_API APISchema(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API APISchema& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetPayload() const { return m_payload; }
52 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
53 template<typename PayloadT = Aws::String>
54 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
55 template<typename PayloadT = Aws::String>
56 APISchema& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
58
60
64 inline const S3Identifier& GetS3() const { return m_s3; }
65 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
66 template<typename S3T = S3Identifier>
67 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
68 template<typename S3T = S3Identifier>
69 APISchema& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
71 private:
72
73 Aws::String m_payload;
74 bool m_payloadHasBeenSet = false;
75
76 S3Identifier m_s3;
77 bool m_s3HasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace BedrockAgentRuntime
82} // namespace Aws
const S3Identifier & GetS3() const
Definition APISchema.h:64
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API APISchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API APISchema(Aws::Utils::Json::JsonView jsonValue)
APISchema & WithPayload(PayloadT &&value)
Definition APISchema.h:56
AWS_BEDROCKAGENTRUNTIME_API APISchema()=default
const Aws::String & GetPayload() const
Definition APISchema.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue