AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BotExportSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API BotExportSpecification() = default;
31 AWS_LEXMODELSV2_API BotExportSpecification(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
59 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
60 template <typename BotVersionT = Aws::String>
61 void SetBotVersion(BotVersionT&& value) {
62 m_botVersionHasBeenSet = true;
63 m_botVersion = std::forward<BotVersionT>(value);
64 }
65 template <typename BotVersionT = Aws::String>
66 BotExportSpecification& WithBotVersion(BotVersionT&& value) {
67 SetBotVersion(std::forward<BotVersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_botId;
73
74 Aws::String m_botVersion;
75 bool m_botIdHasBeenSet = false;
76 bool m_botVersionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexModelsV2
81} // namespace Aws
AWS_LEXMODELSV2_API BotExportSpecification(Aws::Utils::Json::JsonView jsonValue)
BotExportSpecification & WithBotId(BotIdT &&value)
BotExportSpecification & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API BotExportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotExportSpecification()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue