AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
InstructionCollection.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
32 public:
33 AWS_QBUSINESS_API InstructionCollection() = default;
36 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetResponseLength() const { return m_responseLength; }
45 inline bool ResponseLengthHasBeenSet() const { return m_responseLengthHasBeenSet; }
46 template <typename ResponseLengthT = Aws::String>
48 m_responseLengthHasBeenSet = true;
49 m_responseLength = std::forward<ResponseLengthT>(value);
50 }
51 template <typename ResponseLengthT = Aws::String>
53 SetResponseLength(std::forward<ResponseLengthT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::String& GetTargetAudience() const { return m_targetAudience; }
66 inline bool TargetAudienceHasBeenSet() const { return m_targetAudienceHasBeenSet; }
67 template <typename TargetAudienceT = Aws::String>
69 m_targetAudienceHasBeenSet = true;
70 m_targetAudience = std::forward<TargetAudienceT>(value);
71 }
72 template <typename TargetAudienceT = Aws::String>
74 SetTargetAudience(std::forward<TargetAudienceT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetPerspective() const { return m_perspective; }
86 inline bool PerspectiveHasBeenSet() const { return m_perspectiveHasBeenSet; }
87 template <typename PerspectiveT = Aws::String>
89 m_perspectiveHasBeenSet = true;
90 m_perspective = std::forward<PerspectiveT>(value);
91 }
92 template <typename PerspectiveT = Aws::String>
94 SetPerspective(std::forward<PerspectiveT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetOutputStyle() const { return m_outputStyle; }
106 inline bool OutputStyleHasBeenSet() const { return m_outputStyleHasBeenSet; }
107 template <typename OutputStyleT = Aws::String>
109 m_outputStyleHasBeenSet = true;
110 m_outputStyle = std::forward<OutputStyleT>(value);
111 }
112 template <typename OutputStyleT = Aws::String>
114 SetOutputStyle(std::forward<OutputStyleT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::String& GetIdentity() const { return m_identity; }
126 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
127 template <typename IdentityT = Aws::String>
128 void SetIdentity(IdentityT&& value) {
129 m_identityHasBeenSet = true;
130 m_identity = std::forward<IdentityT>(value);
131 }
132 template <typename IdentityT = Aws::String>
134 SetIdentity(std::forward<IdentityT>(value));
135 return *this;
136 }
138
140
145 inline const Aws::String& GetTone() const { return m_tone; }
146 inline bool ToneHasBeenSet() const { return m_toneHasBeenSet; }
147 template <typename ToneT = Aws::String>
148 void SetTone(ToneT&& value) {
149 m_toneHasBeenSet = true;
150 m_tone = std::forward<ToneT>(value);
151 }
152 template <typename ToneT = Aws::String>
154 SetTone(std::forward<ToneT>(value));
155 return *this;
156 }
158
160
165 inline const Aws::String& GetCustomInstructions() const { return m_customInstructions; }
166 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
167 template <typename CustomInstructionsT = Aws::String>
169 m_customInstructionsHasBeenSet = true;
170 m_customInstructions = std::forward<CustomInstructionsT>(value);
171 }
172 template <typename CustomInstructionsT = Aws::String>
174 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
175 return *this;
176 }
178
180
185 inline const Aws::String& GetExamples() const { return m_examples; }
186 inline bool ExamplesHasBeenSet() const { return m_examplesHasBeenSet; }
187 template <typename ExamplesT = Aws::String>
188 void SetExamples(ExamplesT&& value) {
189 m_examplesHasBeenSet = true;
190 m_examples = std::forward<ExamplesT>(value);
191 }
192 template <typename ExamplesT = Aws::String>
194 SetExamples(std::forward<ExamplesT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_responseLength;
200
201 Aws::String m_targetAudience;
202
203 Aws::String m_perspective;
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_examples;
214 bool m_responseLengthHasBeenSet = false;
215 bool m_targetAudienceHasBeenSet = false;
216 bool m_perspectiveHasBeenSet = false;
217 bool m_outputStyleHasBeenSet = false;
218 bool m_identityHasBeenSet = false;
219 bool m_toneHasBeenSet = false;
220 bool m_customInstructionsHasBeenSet = false;
221 bool m_examplesHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace QBusiness
226} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomInstructions(CustomInstructionsT &&value)
AWS_QBUSINESS_API InstructionCollection(Aws::Utils::Json::JsonView jsonValue)
InstructionCollection & WithPerspective(PerspectiveT &&value)
InstructionCollection & WithResponseLength(ResponseLengthT &&value)
AWS_QBUSINESS_API InstructionCollection()=default
InstructionCollection & WithTargetAudience(TargetAudienceT &&value)
InstructionCollection & WithOutputStyle(OutputStyleT &&value)
InstructionCollection & WithTone(ToneT &&value)
InstructionCollection & WithIdentity(IdentityT &&value)
InstructionCollection & WithExamples(ExamplesT &&value)
AWS_QBUSINESS_API InstructionCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
InstructionCollection & WithCustomInstructions(CustomInstructionsT &&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