AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InstructionCollection.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_QBUSINESS_API InstructionCollection() = default;
41 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetResponseLength() const { return m_responseLength; }
51 inline bool ResponseLengthHasBeenSet() const { return m_responseLengthHasBeenSet; }
52 template<typename ResponseLengthT = Aws::String>
53 void SetResponseLength(ResponseLengthT&& value) { m_responseLengthHasBeenSet = true; m_responseLength = std::forward<ResponseLengthT>(value); }
54 template<typename ResponseLengthT = Aws::String>
55 InstructionCollection& WithResponseLength(ResponseLengthT&& value) { SetResponseLength(std::forward<ResponseLengthT>(value)); return *this;}
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>
68 void SetTargetAudience(TargetAudienceT&& value) { m_targetAudienceHasBeenSet = true; m_targetAudience = std::forward<TargetAudienceT>(value); }
69 template<typename TargetAudienceT = Aws::String>
70 InstructionCollection& WithTargetAudience(TargetAudienceT&& value) { SetTargetAudience(std::forward<TargetAudienceT>(value)); return *this;}
72
74
79 inline const Aws::String& GetPerspective() const { return m_perspective; }
80 inline bool PerspectiveHasBeenSet() const { return m_perspectiveHasBeenSet; }
81 template<typename PerspectiveT = Aws::String>
82 void SetPerspective(PerspectiveT&& value) { m_perspectiveHasBeenSet = true; m_perspective = std::forward<PerspectiveT>(value); }
83 template<typename PerspectiveT = Aws::String>
84 InstructionCollection& WithPerspective(PerspectiveT&& value) { SetPerspective(std::forward<PerspectiveT>(value)); return *this;}
86
88
93 inline const Aws::String& GetOutputStyle() const { return m_outputStyle; }
94 inline bool OutputStyleHasBeenSet() const { return m_outputStyleHasBeenSet; }
95 template<typename OutputStyleT = Aws::String>
96 void SetOutputStyle(OutputStyleT&& value) { m_outputStyleHasBeenSet = true; m_outputStyle = std::forward<OutputStyleT>(value); }
97 template<typename OutputStyleT = Aws::String>
98 InstructionCollection& WithOutputStyle(OutputStyleT&& value) { SetOutputStyle(std::forward<OutputStyleT>(value)); return *this;}
100
102
107 inline const Aws::String& GetIdentity() const { return m_identity; }
108 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
109 template<typename IdentityT = Aws::String>
110 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
111 template<typename IdentityT = Aws::String>
112 InstructionCollection& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
114
116
121 inline const Aws::String& GetTone() const { return m_tone; }
122 inline bool ToneHasBeenSet() const { return m_toneHasBeenSet; }
123 template<typename ToneT = Aws::String>
124 void SetTone(ToneT&& value) { m_toneHasBeenSet = true; m_tone = std::forward<ToneT>(value); }
125 template<typename ToneT = Aws::String>
126 InstructionCollection& WithTone(ToneT&& value) { SetTone(std::forward<ToneT>(value)); return *this;}
128
130
135 inline const Aws::String& GetCustomInstructions() const { return m_customInstructions; }
136 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
137 template<typename CustomInstructionsT = Aws::String>
138 void SetCustomInstructions(CustomInstructionsT&& value) { m_customInstructionsHasBeenSet = true; m_customInstructions = std::forward<CustomInstructionsT>(value); }
139 template<typename CustomInstructionsT = Aws::String>
140 InstructionCollection& WithCustomInstructions(CustomInstructionsT&& value) { SetCustomInstructions(std::forward<CustomInstructionsT>(value)); return *this;}
142
144
149 inline const Aws::String& GetExamples() const { return m_examples; }
150 inline bool ExamplesHasBeenSet() const { return m_examplesHasBeenSet; }
151 template<typename ExamplesT = Aws::String>
152 void SetExamples(ExamplesT&& value) { m_examplesHasBeenSet = true; m_examples = std::forward<ExamplesT>(value); }
153 template<typename ExamplesT = Aws::String>
154 InstructionCollection& WithExamples(ExamplesT&& value) { SetExamples(std::forward<ExamplesT>(value)); return *this;}
156 private:
157
158 Aws::String m_responseLength;
159 bool m_responseLengthHasBeenSet = false;
160
161 Aws::String m_targetAudience;
162 bool m_targetAudienceHasBeenSet = false;
163
164 Aws::String m_perspective;
165 bool m_perspectiveHasBeenSet = false;
166
167 Aws::String m_outputStyle;
168 bool m_outputStyleHasBeenSet = false;
169
170 Aws::String m_identity;
171 bool m_identityHasBeenSet = false;
172
173 Aws::String m_tone;
174 bool m_toneHasBeenSet = false;
175
176 Aws::String m_customInstructions;
177 bool m_customInstructionsHasBeenSet = false;
178
179 Aws::String m_examples;
180 bool m_examplesHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace QBusiness
185} // 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