AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
APISchema.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/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 BedrockAgent
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_BEDROCKAGENT_API APISchema();
41 AWS_BEDROCKAGENT_API APISchema(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API APISchema& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetPayload() const{ return m_payload; }
54 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
55 inline void SetPayload(const Aws::String& value) { m_payloadHasBeenSet = true; m_payload = value; }
56 inline void SetPayload(Aws::String&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
57 inline void SetPayload(const char* value) { m_payloadHasBeenSet = true; m_payload.assign(value); }
58 inline APISchema& WithPayload(const Aws::String& value) { SetPayload(value); return *this;}
59 inline APISchema& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;}
60 inline APISchema& WithPayload(const char* value) { SetPayload(value); return *this;}
62
64
70 inline const S3Identifier& GetS3() const{ return m_s3; }
71 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
72 inline void SetS3(const S3Identifier& value) { m_s3HasBeenSet = true; m_s3 = value; }
73 inline void SetS3(S3Identifier&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
74 inline APISchema& WithS3(const S3Identifier& value) { SetS3(value); return *this;}
75 inline APISchema& WithS3(S3Identifier&& value) { SetS3(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_payload;
80 bool m_payloadHasBeenSet = false;
81
82 S3Identifier m_s3;
83 bool m_s3HasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace BedrockAgent
88} // namespace Aws
APISchema & WithS3(const S3Identifier &value)
Definition APISchema.h:74
AWS_BEDROCKAGENT_API APISchema(Aws::Utils::Json::JsonView jsonValue)
APISchema & WithPayload(Aws::String &&value)
Definition APISchema.h:59
void SetPayload(const Aws::String &value)
Definition APISchema.h:55
AWS_BEDROCKAGENT_API APISchema()
AWS_BEDROCKAGENT_API APISchema & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPayload(const char *value)
Definition APISchema.h:57
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
APISchema & WithPayload(const char *value)
Definition APISchema.h:60
APISchema & WithPayload(const Aws::String &value)
Definition APISchema.h:58
void SetS3(S3Identifier &&value)
Definition APISchema.h:73
const Aws::String & GetPayload() const
Definition APISchema.h:53
void SetPayload(Aws::String &&value)
Definition APISchema.h:56
void SetS3(const S3Identifier &value)
Definition APISchema.h:72
const S3Identifier & GetS3() const
Definition APISchema.h:70
APISchema & WithS3(S3Identifier &&value)
Definition APISchema.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue