AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PredictQAResultsRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/IncludeQuickSightQIndex.h>
11#include <aws/quicksight/model/IncludeGeneratedAnswer.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QUICKSIGHT_API PredictQAResultsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PredictQAResults"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template<typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<typename AwsAccountIdT = Aws::String>
47 PredictQAResultsRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetQueryText() const { return m_queryText; }
55 inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; }
56 template<typename QueryTextT = Aws::String>
57 void SetQueryText(QueryTextT&& value) { m_queryTextHasBeenSet = true; m_queryText = std::forward<QueryTextT>(value); }
58 template<typename QueryTextT = Aws::String>
59 PredictQAResultsRequest& WithQueryText(QueryTextT&& value) { SetQueryText(std::forward<QueryTextT>(value)); return *this;}
61
63
66 inline IncludeQuickSightQIndex GetIncludeQuickSightQIndex() const { return m_includeQuickSightQIndex; }
67 inline bool IncludeQuickSightQIndexHasBeenSet() const { return m_includeQuickSightQIndexHasBeenSet; }
68 inline void SetIncludeQuickSightQIndex(IncludeQuickSightQIndex value) { m_includeQuickSightQIndexHasBeenSet = true; m_includeQuickSightQIndex = value; }
71
73
76 inline IncludeGeneratedAnswer GetIncludeGeneratedAnswer() const { return m_includeGeneratedAnswer; }
77 inline bool IncludeGeneratedAnswerHasBeenSet() const { return m_includeGeneratedAnswerHasBeenSet; }
78 inline void SetIncludeGeneratedAnswer(IncludeGeneratedAnswer value) { m_includeGeneratedAnswerHasBeenSet = true; m_includeGeneratedAnswer = value; }
81
83
86 inline int GetMaxTopicsToConsider() const { return m_maxTopicsToConsider; }
87 inline bool MaxTopicsToConsiderHasBeenSet() const { return m_maxTopicsToConsiderHasBeenSet; }
88 inline void SetMaxTopicsToConsider(int value) { m_maxTopicsToConsiderHasBeenSet = true; m_maxTopicsToConsider = value; }
91 private:
92
93 Aws::String m_awsAccountId;
94 bool m_awsAccountIdHasBeenSet = false;
95
96 Aws::String m_queryText;
97 bool m_queryTextHasBeenSet = false;
98
100 bool m_includeQuickSightQIndexHasBeenSet = false;
101
103 bool m_includeGeneratedAnswerHasBeenSet = false;
104
105 int m_maxTopicsToConsider{0};
106 bool m_maxTopicsToConsiderHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
virtual const char * GetServiceRequestName() const override
PredictQAResultsRequest & WithIncludeQuickSightQIndex(IncludeQuickSightQIndex value)
PredictQAResultsRequest & WithAwsAccountId(AwsAccountIdT &&value)
PredictQAResultsRequest & WithQueryText(QueryTextT &&value)
AWS_QUICKSIGHT_API PredictQAResultsRequest()=default
PredictQAResultsRequest & WithMaxTopicsToConsider(int value)
void SetIncludeQuickSightQIndex(IncludeQuickSightQIndex value)
void SetIncludeGeneratedAnswer(IncludeGeneratedAnswer value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
PredictQAResultsRequest & WithIncludeGeneratedAnswer(IncludeGeneratedAnswer value)
IncludeQuickSightQIndex GetIncludeQuickSightQIndex() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String