AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPrompt(const Prompt& value) { m_promptHasBeenSet = true; m_prompt = value; }
51 inline void SetPrompt(Prompt&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
52 inline FollowUpPrompt& WithPrompt(const Prompt& value) { SetPrompt(value); return *this;}
53 inline FollowUpPrompt& WithPrompt(Prompt&& value) { SetPrompt(std::move(value)); return *this;}
55
57
62 inline const Statement& GetRejectionStatement() const{ return m_rejectionStatement; }
63 inline bool RejectionStatementHasBeenSet() const { return m_rejectionStatementHasBeenSet; }
64 inline void SetRejectionStatement(const Statement& value) { m_rejectionStatementHasBeenSet = true; m_rejectionStatement = value; }
65 inline void SetRejectionStatement(Statement&& value) { m_rejectionStatementHasBeenSet = true; m_rejectionStatement = std::move(value); }
66 inline FollowUpPrompt& WithRejectionStatement(const Statement& value) { SetRejectionStatement(value); return *this;}
67 inline FollowUpPrompt& WithRejectionStatement(Statement&& value) { SetRejectionStatement(std::move(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
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt()
FollowUpPrompt & WithRejectionStatement(Statement &&value)
FollowUpPrompt & WithPrompt(const Prompt &value)
AWS_LEXMODELBUILDINGSERVICE_API FollowUpPrompt & operator=(Aws::Utils::Json::JsonView jsonValue)
FollowUpPrompt & WithRejectionStatement(const Statement &value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue