AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueryInputData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/QueryTextInputData.h>
9#include <aws/qconnect/model/IntentInputData.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QCONNECT_API QueryInputData() = default;
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const QueryTextInputData& GetQueryTextInputData() const { return m_queryTextInputData; }
46 inline bool QueryTextInputDataHasBeenSet() const { return m_queryTextInputDataHasBeenSet; }
47 template<typename QueryTextInputDataT = QueryTextInputData>
48 void SetQueryTextInputData(QueryTextInputDataT&& value) { m_queryTextInputDataHasBeenSet = true; m_queryTextInputData = std::forward<QueryTextInputDataT>(value); }
49 template<typename QueryTextInputDataT = QueryTextInputData>
50 QueryInputData& WithQueryTextInputData(QueryTextInputDataT&& value) { SetQueryTextInputData(std::forward<QueryTextInputDataT>(value)); return *this;}
52
54
57 inline const IntentInputData& GetIntentInputData() const { return m_intentInputData; }
58 inline bool IntentInputDataHasBeenSet() const { return m_intentInputDataHasBeenSet; }
59 template<typename IntentInputDataT = IntentInputData>
60 void SetIntentInputData(IntentInputDataT&& value) { m_intentInputDataHasBeenSet = true; m_intentInputData = std::forward<IntentInputDataT>(value); }
61 template<typename IntentInputDataT = IntentInputData>
62 QueryInputData& WithIntentInputData(IntentInputDataT&& value) { SetIntentInputData(std::forward<IntentInputDataT>(value)); return *this;}
64 private:
65
66 QueryTextInputData m_queryTextInputData;
67 bool m_queryTextInputDataHasBeenSet = false;
68
69 IntentInputData m_intentInputData;
70 bool m_intentInputDataHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QConnect
75} // namespace Aws
const IntentInputData & GetIntentInputData() const
AWS_QCONNECT_API QueryInputData & operator=(Aws::Utils::Json::JsonView jsonValue)
const QueryTextInputData & GetQueryTextInputData() const
QueryInputData & WithQueryTextInputData(QueryTextInputDataT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QueryInputData & WithIntentInputData(IntentInputDataT &&value)
void SetIntentInputData(IntentInputDataT &&value)
AWS_QCONNECT_API QueryInputData()=default
void SetQueryTextInputData(QueryTextInputDataT &&value)
AWS_QCONNECT_API QueryInputData(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue