AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Source& GetSource() const{ return m_source; }
47 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
49 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
50 inline RepromptResponse& WithSource(const Source& value) { SetSource(value); return *this;}
51 inline RepromptResponse& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetText() const{ return m_text; }
59 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
60 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
61 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
62 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
63 inline RepromptResponse& WithText(const Aws::String& value) { SetText(value); return *this;}
64 inline RepromptResponse& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
65 inline RepromptResponse& WithText(const char* value) { SetText(value); return *this;}
67 private:
68
69 Source m_source;
70 bool m_sourceHasBeenSet = false;
71
72 Aws::String m_text;
73 bool m_textHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace BedrockAgentRuntime
78} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RepromptResponse()
RepromptResponse & WithSource(Source &&value)
RepromptResponse & WithText(const char *value)
RepromptResponse & WithText(const Aws::String &value)
RepromptResponse & WithText(Aws::String &&value)
RepromptResponse & WithSource(const Source &value)
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