AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TitleT = Aws::String>
51 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
52 template<typename TitleT = Aws::String>
53 QQueryCardInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 QQueryCardInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline CardType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline QQueryCardInput& WithType(CardType value) { SetType(value); return *this;}
77
79
82 inline const Aws::String& GetPrompt() const { return m_prompt; }
83 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
84 template<typename PromptT = Aws::String>
85 void SetPrompt(PromptT&& value) { m_promptHasBeenSet = true; m_prompt = std::forward<PromptT>(value); }
86 template<typename PromptT = Aws::String>
87 QQueryCardInput& WithPrompt(PromptT&& value) { SetPrompt(std::forward<PromptT>(value)); return *this;}
89
91
94 inline CardOutputSource GetOutputSource() const { return m_outputSource; }
95 inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; }
96 inline void SetOutputSource(CardOutputSource value) { m_outputSourceHasBeenSet = true; m_outputSource = value; }
97 inline QQueryCardInput& WithOutputSource(CardOutputSource value) { SetOutputSource(value); return *this;}
99
101
105 inline const AttributeFilter& GetAttributeFilter() const { return m_attributeFilter; }
106 inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
107 template<typename AttributeFilterT = AttributeFilter>
108 void SetAttributeFilter(AttributeFilterT&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::forward<AttributeFilterT>(value); }
109 template<typename AttributeFilterT = AttributeFilter>
110 QQueryCardInput& WithAttributeFilter(AttributeFilterT&& value) { SetAttributeFilter(std::forward<AttributeFilterT>(value)); return *this;}
112 private:
113
114 Aws::String m_title;
115 bool m_titleHasBeenSet = false;
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
121 bool m_typeHasBeenSet = false;
122
123 Aws::String m_prompt;
124 bool m_promptHasBeenSet = false;
125
127 bool m_outputSourceHasBeenSet = false;
128
129 AttributeFilter m_attributeFilter;
130 bool m_attributeFilterHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QApps
135} // 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