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/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/S3.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 QBusiness
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_QBUSINESS_API APISchema();
41 AWS_QBUSINESS_API APISchema(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QBUSINESS_API APISchema& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QBUSINESS_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 inline void SetPayload(const Aws::String& value) { m_payloadHasBeenSet = true; m_payload = value; }
54 inline void SetPayload(Aws::String&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
55 inline void SetPayload(const char* value) { m_payloadHasBeenSet = true; m_payload.assign(value); }
56 inline APISchema& WithPayload(const Aws::String& value) { SetPayload(value); return *this;}
57 inline APISchema& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;}
58 inline APISchema& WithPayload(const char* value) { SetPayload(value); return *this;}
60
62
66 inline const S3& GetS3() const{ return m_s3; }
67 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
68 inline void SetS3(const S3& value) { m_s3HasBeenSet = true; m_s3 = value; }
69 inline void SetS3(S3&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
70 inline APISchema& WithS3(const S3& value) { SetS3(value); return *this;}
71 inline APISchema& WithS3(S3&& value) { SetS3(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_payload;
76 bool m_payloadHasBeenSet = false;
77
78 S3 m_s3;
79 bool m_s3HasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace QBusiness
84} // namespace Aws
AWS_QBUSINESS_API APISchema(Aws::Utils::Json::JsonView jsonValue)
void SetS3(const S3 &value)
Definition APISchema.h:68
APISchema & WithS3(const S3 &value)
Definition APISchema.h:70
AWS_QBUSINESS_API APISchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API APISchema()
APISchema & WithPayload(const Aws::String &value)
Definition APISchema.h:56
void SetPayload(const Aws::String &value)
Definition APISchema.h:53
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPayload(Aws::String &&value)
Definition APISchema.h:54
APISchema & WithS3(S3 &&value)
Definition APISchema.h:71
const Aws::String & GetPayload() const
Definition APISchema.h:51
void SetPayload(const char *value)
Definition APISchema.h:55
APISchema & WithPayload(const char *value)
Definition APISchema.h:58
APISchema & WithPayload(Aws::String &&value)
Definition APISchema.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue