AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FollowUpPrompt.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/Prompt.h>
9#include <aws/lex-models/model/Statement.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 LexModelBuildingService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt() = default;
39 AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Prompt& GetPrompt() const { return m_prompt; }
49 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
50 template<typename PromptT = Prompt>
51 void SetPrompt(PromptT&& value) { m_promptHasBeenSet = true; m_prompt = std::forward<PromptT>(value); }
52 template<typename PromptT = Prompt>
53 FollowUpPrompt& WithPrompt(PromptT&& value) { SetPrompt(std::forward<PromptT>(value)); return *this;}
55
57
62 inline const Statement& GetRejectionStatement() const { return m_rejectionStatement; }
63 inline bool RejectionStatementHasBeenSet() const { return m_rejectionStatementHasBeenSet; }
64 template<typename RejectionStatementT = Statement>
65 void SetRejectionStatement(RejectionStatementT&& value) { m_rejectionStatementHasBeenSet = true; m_rejectionStatement = std::forward<RejectionStatementT>(value); }
66 template<typename RejectionStatementT = Statement>
67 FollowUpPrompt& WithRejectionStatement(RejectionStatementT&& value) { SetRejectionStatement(std::forward<RejectionStatementT>(value)); return *this;}
69 private:
70
71 Prompt m_prompt;
72 bool m_promptHasBeenSet = false;
73
74 Statement m_rejectionStatement;
75 bool m_rejectionStatementHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LexModelBuildingService
80} // namespace Aws
FollowUpPrompt & WithRejectionStatement(RejectionStatementT &&value)
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt(Aws::Utils::Json::JsonView jsonValue)
FollowUpPrompt & WithPrompt(PromptT &&value)
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRejectionStatement(RejectionStatementT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt()=default
Aws::Utils::Json::JsonValue JsonValue