AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
47 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
48 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
49 inline RecognizedBotMember& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
50 inline RecognizedBotMember& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
51 inline RecognizedBotMember& WithBotId(const char* value) { SetBotId(value); return *this;}
53
55
58 inline const Aws::String& GetBotName() const{ return m_botName; }
59 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
60 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
61 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
62 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
63 inline RecognizedBotMember& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
64 inline RecognizedBotMember& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
65 inline RecognizedBotMember& WithBotName(const char* value) { SetBotName(value); return *this;}
67 private:
68
69 Aws::String m_botId;
70 bool m_botIdHasBeenSet = false;
71
72 Aws::String m_botName;
73 bool m_botNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexRuntimeV2
78} // namespace Aws
RecognizedBotMember & WithBotName(Aws::String &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
RecognizedBotMember & WithBotName(const Aws::String &value)
RecognizedBotMember & WithBotId(const char *value)
AWS_LEXRUNTIMEV2_API RecognizedBotMember & operator=(Aws::Utils::Json::JsonView jsonValue)
RecognizedBotMember & WithBotId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API RecognizedBotMember(Aws::Utils::Json::JsonView jsonValue)
RecognizedBotMember & WithBotName(const char *value)
RecognizedBotMember & WithBotId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue