AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RepromptResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Source.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API RepromptResponse() = default;
37 AWS_BEDROCKAGENTRUNTIME_API RepromptResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API RepromptResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline Source GetSource() const { return m_source; }
47 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 inline void SetSource(Source value) { m_sourceHasBeenSet = true; m_source = value; }
49 inline RepromptResponse& WithSource(Source value) { SetSource(value); return *this;}
51
53
56 inline const Aws::String& GetText() const { return m_text; }
57 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
58 template<typename TextT = Aws::String>
59 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
60 template<typename TextT = Aws::String>
61 RepromptResponse& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
63 private:
64
65 Source m_source{Source::NOT_SET};
66 bool m_sourceHasBeenSet = false;
67
68 Aws::String m_text;
69 bool m_textHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RepromptResponse()=default
AWS_BEDROCKAGENTRUNTIME_API RepromptResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API RepromptResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue