AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QQueryCard.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/CardType.h>
11#include <aws/qapps/model/CardOutputSource.h>
12#include <aws/qapps/model/AttributeFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QApps
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QAPPS_API QQueryCard();
40 AWS_QAPPS_API QQueryCard(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline QQueryCard& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline QQueryCard& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline QQueryCard& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetTitle() const{ return m_title; }
64 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
65 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
66 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
67 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
68 inline QQueryCard& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
69 inline QQueryCard& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
70 inline QQueryCard& WithTitle(const char* value) { SetTitle(value); return *this;}
72
74
77 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
78 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
79 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
80 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
81 inline QQueryCard& WithDependencies(const Aws::Vector<Aws::String>& value) { SetDependencies(value); return *this;}
82 inline QQueryCard& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
83 inline QQueryCard& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
84 inline QQueryCard& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
85 inline QQueryCard& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
87
89
92 inline const CardType& GetType() const{ return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
95 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
96 inline QQueryCard& WithType(const CardType& value) { SetType(value); return *this;}
97 inline QQueryCard& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetPrompt() const{ return m_prompt; }
105 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
106 inline void SetPrompt(const Aws::String& value) { m_promptHasBeenSet = true; m_prompt = value; }
107 inline void SetPrompt(Aws::String&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
108 inline void SetPrompt(const char* value) { m_promptHasBeenSet = true; m_prompt.assign(value); }
109 inline QQueryCard& WithPrompt(const Aws::String& value) { SetPrompt(value); return *this;}
110 inline QQueryCard& WithPrompt(Aws::String&& value) { SetPrompt(std::move(value)); return *this;}
111 inline QQueryCard& WithPrompt(const char* value) { SetPrompt(value); return *this;}
113
115
118 inline const CardOutputSource& GetOutputSource() const{ return m_outputSource; }
119 inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; }
120 inline void SetOutputSource(const CardOutputSource& value) { m_outputSourceHasBeenSet = true; m_outputSource = value; }
121 inline void SetOutputSource(CardOutputSource&& value) { m_outputSourceHasBeenSet = true; m_outputSource = std::move(value); }
122 inline QQueryCard& WithOutputSource(const CardOutputSource& value) { SetOutputSource(value); return *this;}
123 inline QQueryCard& WithOutputSource(CardOutputSource&& value) { SetOutputSource(std::move(value)); return *this;}
125
127
131 inline const AttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; }
132 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
133 inline void SetAttributeFilter(const AttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; }
134 inline void SetAttributeFilter(AttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); }
135 inline QQueryCard& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;}
136 inline QQueryCard& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_title;
144 bool m_titleHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_dependencies;
147 bool m_dependenciesHasBeenSet = false;
148
149 CardType m_type;
150 bool m_typeHasBeenSet = false;
151
152 Aws::String m_prompt;
153 bool m_promptHasBeenSet = false;
154
155 CardOutputSource m_outputSource;
156 bool m_outputSourceHasBeenSet = false;
157
158 AttributeFilter m_attributeFilter;
159 bool m_attributeFilterHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace QApps
164} // namespace Aws
void SetType(CardType &&value)
Definition QQueryCard.h:95
void SetPrompt(const char *value)
Definition QQueryCard.h:108
QQueryCard & WithTitle(const Aws::String &value)
Definition QQueryCard.h:68
QQueryCard & WithTitle(const char *value)
Definition QQueryCard.h:70
QQueryCard & WithPrompt(Aws::String &&value)
Definition QQueryCard.h:110
QQueryCard & AddDependencies(Aws::String &&value)
Definition QQueryCard.h:84
const Aws::String & GetTitle() const
Definition QQueryCard.h:63
const AttributeFilter & GetAttributeFilter() const
Definition QQueryCard.h:131
void SetOutputSource(const CardOutputSource &value)
Definition QQueryCard.h:120
AWS_QAPPS_API QQueryCard(Aws::Utils::Json::JsonView jsonValue)
bool DependenciesHasBeenSet() const
Definition QQueryCard.h:78
QQueryCard & AddDependencies(const Aws::String &value)
Definition QQueryCard.h:83
void SetId(const Aws::String &value)
Definition QQueryCard.h:51
QQueryCard & WithPrompt(const char *value)
Definition QQueryCard.h:111
const CardOutputSource & GetOutputSource() const
Definition QQueryCard.h:118
void SetTitle(Aws::String &&value)
Definition QQueryCard.h:66
QQueryCard & WithType(CardType &&value)
Definition QQueryCard.h:97
const Aws::Vector< Aws::String > & GetDependencies() const
Definition QQueryCard.h:77
const Aws::String & GetPrompt() const
Definition QQueryCard.h:104
QQueryCard & WithDependencies(Aws::Vector< Aws::String > &&value)
Definition QQueryCard.h:82
void SetAttributeFilter(const AttributeFilter &value)
Definition QQueryCard.h:133
void SetDependencies(Aws::Vector< Aws::String > &&value)
Definition QQueryCard.h:80
void SetDependencies(const Aws::Vector< Aws::String > &value)
Definition QQueryCard.h:79
QQueryCard & WithAttributeFilter(const AttributeFilter &value)
Definition QQueryCard.h:135
QQueryCard & WithDependencies(const Aws::Vector< Aws::String > &value)
Definition QQueryCard.h:81
bool OutputSourceHasBeenSet() const
Definition QQueryCard.h:119
void SetAttributeFilter(AttributeFilter &&value)
Definition QQueryCard.h:134
void SetPrompt(Aws::String &&value)
Definition QQueryCard.h:107
void SetId(const char *value)
Definition QQueryCard.h:53
QQueryCard & WithPrompt(const Aws::String &value)
Definition QQueryCard.h:109
void SetTitle(const char *value)
Definition QQueryCard.h:67
const Aws::String & GetId() const
Definition QQueryCard.h:49
QQueryCard & WithAttributeFilter(AttributeFilter &&value)
Definition QQueryCard.h:136
QQueryCard & WithId(const char *value)
Definition QQueryCard.h:56
void SetType(const CardType &value)
Definition QQueryCard.h:94
QQueryCard & WithTitle(Aws::String &&value)
Definition QQueryCard.h:69
QQueryCard & AddDependencies(const char *value)
Definition QQueryCard.h:85
QQueryCard & WithId(const Aws::String &value)
Definition QQueryCard.h:54
const CardType & GetType() const
Definition QQueryCard.h:92
QQueryCard & WithOutputSource(CardOutputSource &&value)
Definition QQueryCard.h:123
QQueryCard & WithOutputSource(const CardOutputSource &value)
Definition QQueryCard.h:122
AWS_QAPPS_API QQueryCard & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrompt(const Aws::String &value)
Definition QQueryCard.h:106
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSource(CardOutputSource &&value)
Definition QQueryCard.h:121
QQueryCard & WithId(Aws::String &&value)
Definition QQueryCard.h:55
void SetTitle(const Aws::String &value)
Definition QQueryCard.h:65
void SetId(Aws::String &&value)
Definition QQueryCard.h:52
bool AttributeFilterHasBeenSet() const
Definition QQueryCard.h:132
QQueryCard & WithType(const CardType &value)
Definition QQueryCard.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue