AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParentBotNetwork.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_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 LexModelsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXMODELSV2_API ParentBotNetwork();
35 AWS_LEXMODELSV2_API ParentBotNetwork(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API ParentBotNetwork& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_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 ParentBotNetwork& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
50 inline ParentBotNetwork& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
51 inline ParentBotNetwork& WithBotId(const char* value) { SetBotId(value); return *this;}
53
55
58 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
59 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
60 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
61 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
62 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
63 inline ParentBotNetwork& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
64 inline ParentBotNetwork& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
65 inline ParentBotNetwork& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
67 private:
68
69 Aws::String m_botId;
70 bool m_botIdHasBeenSet = false;
71
72 Aws::String m_botVersion;
73 bool m_botVersionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
ParentBotNetwork & WithBotId(Aws::String &&value)
ParentBotNetwork & WithBotVersion(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API ParentBotNetwork(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBotVersion() const
ParentBotNetwork & WithBotVersion(const Aws::String &value)
ParentBotNetwork & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API ParentBotNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBotId(const Aws::String &value)
ParentBotNetwork & WithBotId(const char *value)
void SetBotVersion(const Aws::String &value)
ParentBotNetwork & WithBotVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue