AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QQueryCardInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/CardType.h>
10#include <aws/qapps/model/CardOutputSource.h>
11#include <aws/qapps/model/AttributeFilter.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 QQueryCardInput();
41 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTitle() const{ return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
51 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
52 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
53 inline QQueryCardInput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
54 inline QQueryCardInput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
55 inline QQueryCardInput& WithTitle(const char* value) { SetTitle(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline QQueryCardInput& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline QQueryCardInput& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline QQueryCardInput& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const CardType& GetType() const{ return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
79 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 inline QQueryCardInput& WithType(const CardType& value) { SetType(value); return *this;}
81 inline QQueryCardInput& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetPrompt() const{ return m_prompt; }
89 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
90 inline void SetPrompt(const Aws::String& value) { m_promptHasBeenSet = true; m_prompt = value; }
91 inline void SetPrompt(Aws::String&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
92 inline void SetPrompt(const char* value) { m_promptHasBeenSet = true; m_prompt.assign(value); }
93 inline QQueryCardInput& WithPrompt(const Aws::String& value) { SetPrompt(value); return *this;}
94 inline QQueryCardInput& WithPrompt(Aws::String&& value) { SetPrompt(std::move(value)); return *this;}
95 inline QQueryCardInput& WithPrompt(const char* value) { SetPrompt(value); return *this;}
97
99
102 inline const CardOutputSource& GetOutputSource() const{ return m_outputSource; }
103 inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; }
104 inline void SetOutputSource(const CardOutputSource& value) { m_outputSourceHasBeenSet = true; m_outputSource = value; }
105 inline void SetOutputSource(CardOutputSource&& value) { m_outputSourceHasBeenSet = true; m_outputSource = std::move(value); }
106 inline QQueryCardInput& WithOutputSource(const CardOutputSource& value) { SetOutputSource(value); return *this;}
107 inline QQueryCardInput& WithOutputSource(CardOutputSource&& value) { SetOutputSource(std::move(value)); return *this;}
109
111
115 inline const AttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; }
116 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
117 inline void SetAttributeFilter(const AttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; }
118 inline void SetAttributeFilter(AttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); }
119 inline QQueryCardInput& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;}
120 inline QQueryCardInput& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_title;
125 bool m_titleHasBeenSet = false;
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 CardType m_type;
131 bool m_typeHasBeenSet = false;
132
133 Aws::String m_prompt;
134 bool m_promptHasBeenSet = false;
135
136 CardOutputSource m_outputSource;
137 bool m_outputSourceHasBeenSet = false;
138
139 AttributeFilter m_attributeFilter;
140 bool m_attributeFilterHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QApps
145} // namespace Aws
AWS_QAPPS_API QQueryCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
QQueryCardInput & WithOutputSource(CardOutputSource &&value)
const AttributeFilter & GetAttributeFilter() const
void SetId(Aws::String &&value)
void SetTitle(const char *value)
QQueryCardInput & WithAttributeFilter(const AttributeFilter &value)
void SetAttributeFilter(AttributeFilter &&value)
const CardOutputSource & GetOutputSource() const
void SetAttributeFilter(const AttributeFilter &value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrompt(const char *value)
QQueryCardInput & WithAttributeFilter(AttributeFilter &&value)
AWS_QAPPS_API QQueryCardInput(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::String &value)
QQueryCardInput & WithId(const Aws::String &value)
QQueryCardInput & WithOutputSource(const CardOutputSource &value)
void SetOutputSource(CardOutputSource &&value)
QQueryCardInput & WithId(Aws::String &&value)
void SetType(const CardType &value)
void SetPrompt(Aws::String &&value)
void SetPrompt(const Aws::String &value)
const CardType & GetType() const
QQueryCardInput & WithType(CardType &&value)
void SetOutputSource(const CardOutputSource &value)
void SetId(const Aws::String &value)
QQueryCardInput & WithPrompt(const char *value)
QQueryCardInput & WithPrompt(const Aws::String &value)
QQueryCardInput & WithTitle(const Aws::String &value)
void SetTitle(Aws::String &&value)
QQueryCardInput & WithId(const char *value)
const Aws::String & GetTitle() const
QQueryCardInput & WithTitle(Aws::String &&value)
const Aws::String & GetPrompt() const
QQueryCardInput & WithType(const CardType &value)
const Aws::String & GetId() const
QQueryCardInput & WithPrompt(Aws::String &&value)
QQueryCardInput & WithTitle(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue