AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
CustomPromptInputParameters.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 CustomPromptInputParameters() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetResponseLength() const { return m_responseLength; }
40 inline bool ResponseLengthHasBeenSet() const { return m_responseLengthHasBeenSet; }
41 template <typename ResponseLengthT = Aws::String>
42 void SetResponseLength(ResponseLengthT&& value) {
43 m_responseLengthHasBeenSet = true;
44 m_responseLength = std::forward<ResponseLengthT>(value);
45 }
46 template <typename ResponseLengthT = Aws::String>
48 SetResponseLength(std::forward<ResponseLengthT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOutputStyle() const { return m_outputStyle; }
58 inline bool OutputStyleHasBeenSet() const { return m_outputStyleHasBeenSet; }
59 template <typename OutputStyleT = Aws::String>
60 void SetOutputStyle(OutputStyleT&& value) {
61 m_outputStyleHasBeenSet = true;
62 m_outputStyle = std::forward<OutputStyleT>(value);
63 }
64 template <typename OutputStyleT = Aws::String>
66 SetOutputStyle(std::forward<OutputStyleT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetIdentity() const { return m_identity; }
76 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
77 template <typename IdentityT = Aws::String>
78 void SetIdentity(IdentityT&& value) {
79 m_identityHasBeenSet = true;
80 m_identity = std::forward<IdentityT>(value);
81 }
82 template <typename IdentityT = Aws::String>
84 SetIdentity(std::forward<IdentityT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetTone() const { return m_tone; }
94 inline bool ToneHasBeenSet() const { return m_toneHasBeenSet; }
95 template <typename ToneT = Aws::String>
96 void SetTone(ToneT&& value) {
97 m_toneHasBeenSet = true;
98 m_tone = std::forward<ToneT>(value);
99 }
100 template <typename ToneT = Aws::String>
102 SetTone(std::forward<ToneT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetCustomInstructions() const { return m_customInstructions; }
112 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
113 template <typename CustomInstructionsT = Aws::String>
114 void SetCustomInstructions(CustomInstructionsT&& value) {
115 m_customInstructionsHasBeenSet = true;
116 m_customInstructions = std::forward<CustomInstructionsT>(value);
117 }
118 template <typename CustomInstructionsT = Aws::String>
120 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_responseLength;
126
127 Aws::String m_outputStyle;
128
129 Aws::String m_identity;
130
131 Aws::String m_tone;
132
133 Aws::String m_customInstructions;
134 bool m_responseLengthHasBeenSet = false;
135 bool m_outputStyleHasBeenSet = false;
136 bool m_identityHasBeenSet = false;
137 bool m_toneHasBeenSet = false;
138 bool m_customInstructionsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
CustomPromptInputParameters & WithTone(ToneT &&value)
AWS_QUICKSIGHT_API CustomPromptInputParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CustomPromptInputParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CustomPromptInputParameters()=default
CustomPromptInputParameters & WithCustomInstructions(CustomInstructionsT &&value)
CustomPromptInputParameters & WithResponseLength(ResponseLengthT &&value)
CustomPromptInputParameters & WithOutputStyle(OutputStyleT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPromptInputParameters & WithIdentity(IdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue