AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotExportSpecification.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
33 {
34 public:
35 AWS_LEXMODELSV2_API BotExportSpecification();
36 AWS_LEXMODELSV2_API BotExportSpecification(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBotId() const{ return m_botId; }
46 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
48 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
49 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
50 inline BotExportSpecification& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
51 inline BotExportSpecification& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
52 inline BotExportSpecification& WithBotId(const char* value) { SetBotId(value); return *this;}
54
56
60 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
61 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
62 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
63 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
64 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
65 inline BotExportSpecification& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
66 inline BotExportSpecification& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
67 inline BotExportSpecification& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
69 private:
70
71 Aws::String m_botId;
72 bool m_botIdHasBeenSet = false;
73
74 Aws::String m_botVersion;
75 bool m_botVersionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LexModelsV2
80} // namespace Aws
AWS_LEXMODELSV2_API BotExportSpecification(Aws::Utils::Json::JsonView jsonValue)
BotExportSpecification & WithBotVersion(const Aws::String &value)
BotExportSpecification & WithBotId(Aws::String &&value)
BotExportSpecification & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API BotExportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotExportSpecification & WithBotId(const char *value)
BotExportSpecification & WithBotVersion(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotExportSpecification & WithBotVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue