AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryInputData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/IntentInputData.h>
9#include <aws/qconnect/model/QueryTextInputData.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();
36 AWS_QCONNECT_API QueryInputData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const IntentInputData& GetIntentInputData() const{ return m_intentInputData; }
46 inline bool IntentInputDataHasBeenSet() const { return m_intentInputDataHasBeenSet; }
47 inline void SetIntentInputData(const IntentInputData& value) { m_intentInputDataHasBeenSet = true; m_intentInputData = value; }
48 inline void SetIntentInputData(IntentInputData&& value) { m_intentInputDataHasBeenSet = true; m_intentInputData = std::move(value); }
49 inline QueryInputData& WithIntentInputData(const IntentInputData& value) { SetIntentInputData(value); return *this;}
50 inline QueryInputData& WithIntentInputData(IntentInputData&& value) { SetIntentInputData(std::move(value)); return *this;}
52
54
57 inline const QueryTextInputData& GetQueryTextInputData() const{ return m_queryTextInputData; }
58 inline bool QueryTextInputDataHasBeenSet() const { return m_queryTextInputDataHasBeenSet; }
59 inline void SetQueryTextInputData(const QueryTextInputData& value) { m_queryTextInputDataHasBeenSet = true; m_queryTextInputData = value; }
60 inline void SetQueryTextInputData(QueryTextInputData&& value) { m_queryTextInputDataHasBeenSet = true; m_queryTextInputData = std::move(value); }
62 inline QueryInputData& WithQueryTextInputData(QueryTextInputData&& value) { SetQueryTextInputData(std::move(value)); return *this;}
64 private:
65
66 IntentInputData m_intentInputData;
67 bool m_intentInputDataHasBeenSet = false;
68
69 QueryTextInputData m_queryTextInputData;
70 bool m_queryTextInputDataHasBeenSet = 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
void SetIntentInputData(IntentInputData &&value)
void SetIntentInputData(const IntentInputData &value)
QueryInputData & WithIntentInputData(IntentInputData &&value)
QueryInputData & WithQueryTextInputData(const QueryTextInputData &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueryTextInputData(QueryTextInputData &&value)
void SetQueryTextInputData(const QueryTextInputData &value)
AWS_QCONNECT_API QueryInputData(Aws::Utils::Json::JsonView jsonValue)
QueryInputData & WithQueryTextInputData(QueryTextInputData &&value)
QueryInputData & WithIntentInputData(const IntentInputData &value)
Aws::Utils::Json::JsonValue JsonValue