AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
50 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
51 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
52 inline UtteranceBotResponse& WithContent(const Aws::String& value) { SetContent(value); return *this;}
53 inline UtteranceBotResponse& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
54 inline UtteranceBotResponse& WithContent(const char* value) { SetContent(value); return *this;}
56
58
69 inline const UtteranceContentType& GetContentType() const{ return m_contentType; }
70 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
71 inline void SetContentType(const UtteranceContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
72 inline void SetContentType(UtteranceContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
73 inline UtteranceBotResponse& WithContentType(const UtteranceContentType& value) { SetContentType(value); return *this;}
74 inline UtteranceBotResponse& WithContentType(UtteranceContentType&& value) { SetContentType(std::move(value)); return *this;}
76
78
79 inline const ImageResponseCard& GetImageResponseCard() const{ return m_imageResponseCard; }
80 inline bool ImageResponseCardHasBeenSet() const { return m_imageResponseCardHasBeenSet; }
81 inline void SetImageResponseCard(const ImageResponseCard& value) { m_imageResponseCardHasBeenSet = true; m_imageResponseCard = value; }
82 inline void SetImageResponseCard(ImageResponseCard&& value) { m_imageResponseCardHasBeenSet = true; m_imageResponseCard = std::move(value); }
84 inline UtteranceBotResponse& WithImageResponseCard(ImageResponseCard&& value) { SetImageResponseCard(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_content;
89 bool m_contentHasBeenSet = false;
90
91 UtteranceContentType m_contentType;
92 bool m_contentTypeHasBeenSet = false;
93
94 ImageResponseCard m_imageResponseCard;
95 bool m_imageResponseCardHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace LexModelsV2
100} // namespace Aws
void SetContentType(const UtteranceContentType &value)
UtteranceBotResponse & WithImageResponseCard(const ImageResponseCard &value)
UtteranceBotResponse & WithContent(const char *value)
UtteranceBotResponse & WithImageResponseCard(ImageResponseCard &&value)
UtteranceBotResponse & WithContentType(const UtteranceContentType &value)
UtteranceBotResponse & WithContentType(UtteranceContentType &&value)
void SetImageResponseCard(ImageResponseCard &&value)
UtteranceBotResponse & WithContent(const Aws::String &value)
AWS_LEXMODELSV2_API UtteranceBotResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageResponseCard(const ImageResponseCard &value)
AWS_LEXMODELSV2_API UtteranceBotResponse(Aws::Utils::Json::JsonView jsonValue)
const ImageResponseCard & GetImageResponseCard() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const UtteranceContentType & GetContentType() const
UtteranceBotResponse & WithContent(Aws::String &&value)
void SetContentType(UtteranceContentType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue