AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UtteranceBotResponse.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/UtteranceContentType.h>
10#include <aws/lexv2-models/model/ImageResponseCard.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API UtteranceBotResponse() = default;
38 AWS_LEXMODELSV2_API UtteranceBotResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetContent() const { return m_content; }
48 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
49 template<typename ContentT = Aws::String>
50 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
51 template<typename ContentT = Aws::String>
52 UtteranceBotResponse& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
54
56
67 inline UtteranceContentType GetContentType() const { return m_contentType; }
68 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
69 inline void SetContentType(UtteranceContentType value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
72
74
75 inline const ImageResponseCard& GetImageResponseCard() const { return m_imageResponseCard; }
76 inline bool ImageResponseCardHasBeenSet() const { return m_imageResponseCardHasBeenSet; }
77 template<typename ImageResponseCardT = ImageResponseCard>
78 void SetImageResponseCard(ImageResponseCardT&& value) { m_imageResponseCardHasBeenSet = true; m_imageResponseCard = std::forward<ImageResponseCardT>(value); }
79 template<typename ImageResponseCardT = ImageResponseCard>
80 UtteranceBotResponse& WithImageResponseCard(ImageResponseCardT&& value) { SetImageResponseCard(std::forward<ImageResponseCardT>(value)); return *this;}
82 private:
83
84 Aws::String m_content;
85 bool m_contentHasBeenSet = false;
86
88 bool m_contentTypeHasBeenSet = false;
89
90 ImageResponseCard m_imageResponseCard;
91 bool m_imageResponseCardHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace LexModelsV2
96} // namespace Aws
UtteranceBotResponse & WithContent(ContentT &&value)
void SetContentType(UtteranceContentType value)
void SetImageResponseCard(ImageResponseCardT &&value)
AWS_LEXMODELSV2_API UtteranceBotResponse()=default
AWS_LEXMODELSV2_API UtteranceBotResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
UtteranceBotResponse & WithContentType(UtteranceContentType value)
AWS_LEXMODELSV2_API UtteranceBotResponse(Aws::Utils::Json::JsonView jsonValue)
const ImageResponseCard & GetImageResponseCard() const
UtteranceBotResponse & WithImageResponseCard(ImageResponseCardT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue