AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CardInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/model/TextInputCardInput.h>
9#include <aws/qapps/model/QQueryCardInput.h>
10#include <aws/qapps/model/QPluginCardInput.h>
11#include <aws/qapps/model/FileUploadCardInput.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 QApps
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QAPPS_API CardInput();
39 AWS_QAPPS_API CardInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const TextInputCardInput& GetTextInput() const{ return m_textInput; }
49 inline bool TextInputHasBeenSet() const { return m_textInputHasBeenSet; }
50 inline void SetTextInput(const TextInputCardInput& value) { m_textInputHasBeenSet = true; m_textInput = value; }
51 inline void SetTextInput(TextInputCardInput&& value) { m_textInputHasBeenSet = true; m_textInput = std::move(value); }
52 inline CardInput& WithTextInput(const TextInputCardInput& value) { SetTextInput(value); return *this;}
53 inline CardInput& WithTextInput(TextInputCardInput&& value) { SetTextInput(std::move(value)); return *this;}
55
57
60 inline const QQueryCardInput& GetQQuery() const{ return m_qQuery; }
61 inline bool QQueryHasBeenSet() const { return m_qQueryHasBeenSet; }
62 inline void SetQQuery(const QQueryCardInput& value) { m_qQueryHasBeenSet = true; m_qQuery = value; }
63 inline void SetQQuery(QQueryCardInput&& value) { m_qQueryHasBeenSet = true; m_qQuery = std::move(value); }
64 inline CardInput& WithQQuery(const QQueryCardInput& value) { SetQQuery(value); return *this;}
65 inline CardInput& WithQQuery(QQueryCardInput&& value) { SetQQuery(std::move(value)); return *this;}
67
69
72 inline const QPluginCardInput& GetQPlugin() const{ return m_qPlugin; }
73 inline bool QPluginHasBeenSet() const { return m_qPluginHasBeenSet; }
74 inline void SetQPlugin(const QPluginCardInput& value) { m_qPluginHasBeenSet = true; m_qPlugin = value; }
75 inline void SetQPlugin(QPluginCardInput&& value) { m_qPluginHasBeenSet = true; m_qPlugin = std::move(value); }
76 inline CardInput& WithQPlugin(const QPluginCardInput& value) { SetQPlugin(value); return *this;}
77 inline CardInput& WithQPlugin(QPluginCardInput&& value) { SetQPlugin(std::move(value)); return *this;}
79
81
84 inline const FileUploadCardInput& GetFileUpload() const{ return m_fileUpload; }
85 inline bool FileUploadHasBeenSet() const { return m_fileUploadHasBeenSet; }
86 inline void SetFileUpload(const FileUploadCardInput& value) { m_fileUploadHasBeenSet = true; m_fileUpload = value; }
87 inline void SetFileUpload(FileUploadCardInput&& value) { m_fileUploadHasBeenSet = true; m_fileUpload = std::move(value); }
88 inline CardInput& WithFileUpload(const FileUploadCardInput& value) { SetFileUpload(value); return *this;}
89 inline CardInput& WithFileUpload(FileUploadCardInput&& value) { SetFileUpload(std::move(value)); return *this;}
91 private:
92
93 TextInputCardInput m_textInput;
94 bool m_textInputHasBeenSet = false;
95
96 QQueryCardInput m_qQuery;
97 bool m_qQueryHasBeenSet = false;
98
99 QPluginCardInput m_qPlugin;
100 bool m_qPluginHasBeenSet = false;
101
102 FileUploadCardInput m_fileUpload;
103 bool m_fileUploadHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace QApps
108} // namespace Aws
CardInput & WithQQuery(QQueryCardInput &&value)
Definition CardInput.h:65
bool FileUploadHasBeenSet() const
Definition CardInput.h:85
const FileUploadCardInput & GetFileUpload() const
Definition CardInput.h:84
void SetQQuery(const QQueryCardInput &value)
Definition CardInput.h:62
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
CardInput & WithFileUpload(const FileUploadCardInput &value)
Definition CardInput.h:88
void SetTextInput(const TextInputCardInput &value)
Definition CardInput.h:50
void SetQPlugin(QPluginCardInput &&value)
Definition CardInput.h:75
AWS_QAPPS_API CardInput(Aws::Utils::Json::JsonView jsonValue)
void SetFileUpload(FileUploadCardInput &&value)
Definition CardInput.h:87
bool QQueryHasBeenSet() const
Definition CardInput.h:61
bool TextInputHasBeenSet() const
Definition CardInput.h:49
void SetTextInput(TextInputCardInput &&value)
Definition CardInput.h:51
const QPluginCardInput & GetQPlugin() const
Definition CardInput.h:72
CardInput & WithQQuery(const QQueryCardInput &value)
Definition CardInput.h:64
CardInput & WithQPlugin(QPluginCardInput &&value)
Definition CardInput.h:77
bool QPluginHasBeenSet() const
Definition CardInput.h:73
CardInput & WithFileUpload(FileUploadCardInput &&value)
Definition CardInput.h:89
CardInput & WithTextInput(TextInputCardInput &&value)
Definition CardInput.h:53
void SetQQuery(QQueryCardInput &&value)
Definition CardInput.h:63
CardInput & WithQPlugin(const QPluginCardInput &value)
Definition CardInput.h:76
void SetQPlugin(const QPluginCardInput &value)
Definition CardInput.h:74
AWS_QAPPS_API CardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CardInput & WithTextInput(const TextInputCardInput &value)
Definition CardInput.h:52
const QQueryCardInput & GetQQuery() const
Definition CardInput.h:60
void SetFileUpload(const FileUploadCardInput &value)
Definition CardInput.h:86
const TextInputCardInput & GetTextInput() const
Definition CardInput.h:48
Aws::Utils::Json::JsonValue JsonValue