AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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