AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API RepromptResponse() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Source GetSource() const { return m_source; }
41 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
42 inline void SetSource(Source value) {
43 m_sourceHasBeenSet = true;
44 m_source = value;
45 }
47 SetSource(value);
48 return *this;
49 }
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) {
60 m_textHasBeenSet = true;
61 m_text = std::forward<TextT>(value);
62 }
63 template <typename TextT = Aws::String>
65 SetText(std::forward<TextT>(value));
66 return *this;
67 }
69 private:
70 Source m_source{Source::NOT_SET};
71
72 Aws::String m_text;
73 bool m_sourceHasBeenSet = false;
74 bool m_textHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace BedrockAgentRuntime
79} // 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::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