AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecognizedBotMember.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexRuntimeV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXRUNTIMEV2_API RecognizedBotMember() = default;
35 AWS_LEXRUNTIMEV2_API RecognizedBotMember(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetBotId() const { return m_botId; }
45 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
46 template<typename BotIdT = Aws::String>
47 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
48 template<typename BotIdT = Aws::String>
49 RecognizedBotMember& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBotName() const { return m_botName; }
57 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
58 template<typename BotNameT = Aws::String>
59 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
60 template<typename BotNameT = Aws::String>
61 RecognizedBotMember& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
63 private:
64
65 Aws::String m_botId;
66 bool m_botIdHasBeenSet = false;
67
68 Aws::String m_botName;
69 bool m_botNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LexRuntimeV2
74} // namespace Aws
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
RecognizedBotMember & WithBotName(BotNameT &&value)
AWS_LEXRUNTIMEV2_API RecognizedBotMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API RecognizedBotMember(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API RecognizedBotMember()=default
RecognizedBotMember & WithBotId(BotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue