AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
CustomPromptInterface.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API CustomPromptInterface() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetModelProfileId() const { return m_modelProfileId; }
40 inline bool ModelProfileIdHasBeenSet() const { return m_modelProfileIdHasBeenSet; }
41 template <typename ModelProfileIdT = Aws::String>
42 void SetModelProfileId(ModelProfileIdT&& value) {
43 m_modelProfileIdHasBeenSet = true;
44 m_modelProfileId = std::forward<ModelProfileIdT>(value);
45 }
46 template <typename ModelProfileIdT = Aws::String>
47 CustomPromptInterface& WithModelProfileId(ModelProfileIdT&& value) {
48 SetModelProfileId(std::forward<ModelProfileIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
58 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
59 template <typename SubscriptionIdT = Aws::String>
60 void SetSubscriptionId(SubscriptionIdT&& value) {
61 m_subscriptionIdHasBeenSet = true;
62 m_subscriptionId = std::forward<SubscriptionIdT>(value);
63 }
64 template <typename SubscriptionIdT = Aws::String>
65 CustomPromptInterface& WithSubscriptionId(SubscriptionIdT&& value) {
66 SetSubscriptionId(std::forward<SubscriptionIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetQbsAwsAccountId() const { return m_qbsAwsAccountId; }
76 inline bool QbsAwsAccountIdHasBeenSet() const { return m_qbsAwsAccountIdHasBeenSet; }
77 template <typename QbsAwsAccountIdT = Aws::String>
78 void SetQbsAwsAccountId(QbsAwsAccountIdT&& value) {
79 m_qbsAwsAccountIdHasBeenSet = true;
80 m_qbsAwsAccountId = std::forward<QbsAwsAccountIdT>(value);
81 }
82 template <typename QbsAwsAccountIdT = Aws::String>
83 CustomPromptInterface& WithQbsAwsAccountId(QbsAwsAccountIdT&& value) {
84 SetQbsAwsAccountId(std::forward<QbsAwsAccountIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetResponseLength() const { return m_responseLength; }
94 inline bool ResponseLengthHasBeenSet() const { return m_responseLengthHasBeenSet; }
95 template <typename ResponseLengthT = Aws::String>
96 void SetResponseLength(ResponseLengthT&& value) {
97 m_responseLengthHasBeenSet = true;
98 m_responseLength = std::forward<ResponseLengthT>(value);
99 }
100 template <typename ResponseLengthT = Aws::String>
101 CustomPromptInterface& WithResponseLength(ResponseLengthT&& value) {
102 SetResponseLength(std::forward<ResponseLengthT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetOutputStyle() const { return m_outputStyle; }
112 inline bool OutputStyleHasBeenSet() const { return m_outputStyleHasBeenSet; }
113 template <typename OutputStyleT = Aws::String>
114 void SetOutputStyle(OutputStyleT&& value) {
115 m_outputStyleHasBeenSet = true;
116 m_outputStyle = std::forward<OutputStyleT>(value);
117 }
118 template <typename OutputStyleT = Aws::String>
119 CustomPromptInterface& WithOutputStyle(OutputStyleT&& value) {
120 SetOutputStyle(std::forward<OutputStyleT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetIdentity() const { return m_identity; }
130 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
131 template <typename IdentityT = Aws::String>
132 void SetIdentity(IdentityT&& value) {
133 m_identityHasBeenSet = true;
134 m_identity = std::forward<IdentityT>(value);
135 }
136 template <typename IdentityT = Aws::String>
138 SetIdentity(std::forward<IdentityT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetTone() const { return m_tone; }
148 inline bool ToneHasBeenSet() const { return m_toneHasBeenSet; }
149 template <typename ToneT = Aws::String>
150 void SetTone(ToneT&& value) {
151 m_toneHasBeenSet = true;
152 m_tone = std::forward<ToneT>(value);
153 }
154 template <typename ToneT = Aws::String>
156 SetTone(std::forward<ToneT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetCustomInstructions() const { return m_customInstructions; }
166 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
167 template <typename CustomInstructionsT = Aws::String>
168 void SetCustomInstructions(CustomInstructionsT&& value) {
169 m_customInstructionsHasBeenSet = true;
170 m_customInstructions = std::forward<CustomInstructionsT>(value);
171 }
172 template <typename CustomInstructionsT = Aws::String>
173 CustomPromptInterface& WithCustomInstructions(CustomInstructionsT&& value) {
174 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetPromptSummary() const { return m_promptSummary; }
184 inline bool PromptSummaryHasBeenSet() const { return m_promptSummaryHasBeenSet; }
185 template <typename PromptSummaryT = Aws::String>
186 void SetPromptSummary(PromptSummaryT&& value) {
187 m_promptSummaryHasBeenSet = true;
188 m_promptSummary = std::forward<PromptSummaryT>(value);
189 }
190 template <typename PromptSummaryT = Aws::String>
191 CustomPromptInterface& WithPromptSummary(PromptSummaryT&& value) {
192 SetPromptSummary(std::forward<PromptSummaryT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_modelProfileId;
198
199 Aws::String m_subscriptionId;
200
201 Aws::String m_qbsAwsAccountId;
202
203 Aws::String m_responseLength;
204
205 Aws::String m_outputStyle;
206
207 Aws::String m_identity;
208
209 Aws::String m_tone;
210
211 Aws::String m_customInstructions;
212
213 Aws::String m_promptSummary;
214 bool m_modelProfileIdHasBeenSet = false;
215 bool m_subscriptionIdHasBeenSet = false;
216 bool m_qbsAwsAccountIdHasBeenSet = false;
217 bool m_responseLengthHasBeenSet = false;
218 bool m_outputStyleHasBeenSet = false;
219 bool m_identityHasBeenSet = false;
220 bool m_toneHasBeenSet = false;
221 bool m_customInstructionsHasBeenSet = false;
222 bool m_promptSummaryHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace QuickSight
227} // namespace Aws
CustomPromptInterface & WithTone(ToneT &&value)
CustomPromptInterface & WithModelProfileId(ModelProfileIdT &&value)
CustomPromptInterface & WithSubscriptionId(SubscriptionIdT &&value)
CustomPromptInterface & WithOutputStyle(OutputStyleT &&value)
CustomPromptInterface & WithCustomInstructions(CustomInstructionsT &&value)
void SetCustomInstructions(CustomInstructionsT &&value)
CustomPromptInterface & WithQbsAwsAccountId(QbsAwsAccountIdT &&value)
AWS_QUICKSIGHT_API CustomPromptInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CustomPromptInterface(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CustomPromptInterface()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPromptInterface & WithPromptSummary(PromptSummaryT &&value)
CustomPromptInterface & WithResponseLength(ResponseLengthT &&value)
CustomPromptInterface & WithIdentity(IdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue