AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
QQueryCardInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/AttributeFilter.h>
10#include <aws/qapps/model/CardOutputSource.h>
11#include <aws/qapps/model/CardType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
24
32 public:
33 AWS_QAPPS_API QQueryCardInput() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTitle() const { return m_title; }
43 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
44 template <typename TitleT = Aws::String>
45 void SetTitle(TitleT&& value) {
46 m_titleHasBeenSet = true;
47 m_title = std::forward<TitleT>(value);
48 }
49 template <typename TitleT = Aws::String>
51 SetTitle(std::forward<TitleT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
78 inline CardType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(CardType value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetPrompt() const { return m_prompt; }
95 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
96 template <typename PromptT = Aws::String>
97 void SetPrompt(PromptT&& value) {
98 m_promptHasBeenSet = true;
99 m_prompt = std::forward<PromptT>(value);
100 }
101 template <typename PromptT = Aws::String>
103 SetPrompt(std::forward<PromptT>(value));
104 return *this;
105 }
107
109
112 inline CardOutputSource GetOutputSource() const { return m_outputSource; }
113 inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; }
115 m_outputSourceHasBeenSet = true;
116 m_outputSource = value;
117 }
119 SetOutputSource(value);
120 return *this;
121 }
123
125
129 inline const AttributeFilter& GetAttributeFilter() const { return m_attributeFilter; }
130 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
131 template <typename AttributeFilterT = AttributeFilter>
133 m_attributeFilterHasBeenSet = true;
134 m_attributeFilter = std::forward<AttributeFilterT>(value);
135 }
136 template <typename AttributeFilterT = AttributeFilter>
138 SetAttributeFilter(std::forward<AttributeFilterT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_title;
144
145 Aws::String m_id;
146
148
149 Aws::String m_prompt;
150
152
153 AttributeFilter m_attributeFilter;
154 bool m_titleHasBeenSet = false;
155 bool m_idHasBeenSet = false;
156 bool m_typeHasBeenSet = false;
157 bool m_promptHasBeenSet = false;
158 bool m_outputSourceHasBeenSet = false;
159 bool m_attributeFilterHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace QApps
164} // namespace Aws
AWS_QAPPS_API QQueryCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const AttributeFilter & GetAttributeFilter() const
QQueryCardInput & WithType(CardType value)
CardOutputSource GetOutputSource() const
AWS_QAPPS_API QQueryCardInput()=default
QQueryCardInput & WithAttributeFilter(AttributeFilterT &&value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputSource(CardOutputSource value)
AWS_QAPPS_API QQueryCardInput(Aws::Utils::Json::JsonView jsonValue)
QQueryCardInput & WithPrompt(PromptT &&value)
QQueryCardInput & WithTitle(TitleT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetPrompt() const
QQueryCardInput & WithOutputSource(CardOutputSource value)
const Aws::String & GetId() const
void SetAttributeFilter(AttributeFilterT &&value)
QQueryCardInput & WithId(IdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue