AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExportResourceSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/BotExportSpecification.h>
9#include <aws/lexv2-models/model/BotLocaleExportSpecification.h>
10#include <aws/lexv2-models/model/CustomVocabularyExportSpecification.h>
11#include <aws/lexv2-models/model/TestSetExportSpecification.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_LEXMODELSV2_API ExportResourceSpecification() = default;
43 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const BotExportSpecification& GetBotExportSpecification() const { return m_botExportSpecification; }
51 inline bool BotExportSpecificationHasBeenSet() const { return m_botExportSpecificationHasBeenSet; }
52 template<typename BotExportSpecificationT = BotExportSpecification>
53 void SetBotExportSpecification(BotExportSpecificationT&& value) { m_botExportSpecificationHasBeenSet = true; m_botExportSpecification = std::forward<BotExportSpecificationT>(value); }
54 template<typename BotExportSpecificationT = BotExportSpecification>
55 ExportResourceSpecification& WithBotExportSpecification(BotExportSpecificationT&& value) { SetBotExportSpecification(std::forward<BotExportSpecificationT>(value)); return *this;}
57
59
62 inline const BotLocaleExportSpecification& GetBotLocaleExportSpecification() const { return m_botLocaleExportSpecification; }
63 inline bool BotLocaleExportSpecificationHasBeenSet() const { return m_botLocaleExportSpecificationHasBeenSet; }
64 template<typename BotLocaleExportSpecificationT = BotLocaleExportSpecification>
65 void SetBotLocaleExportSpecification(BotLocaleExportSpecificationT&& value) { m_botLocaleExportSpecificationHasBeenSet = true; m_botLocaleExportSpecification = std::forward<BotLocaleExportSpecificationT>(value); }
66 template<typename BotLocaleExportSpecificationT = BotLocaleExportSpecification>
67 ExportResourceSpecification& WithBotLocaleExportSpecification(BotLocaleExportSpecificationT&& value) { SetBotLocaleExportSpecification(std::forward<BotLocaleExportSpecificationT>(value)); return *this;}
69
71
74 inline const CustomVocabularyExportSpecification& GetCustomVocabularyExportSpecification() const { return m_customVocabularyExportSpecification; }
75 inline bool CustomVocabularyExportSpecificationHasBeenSet() const { return m_customVocabularyExportSpecificationHasBeenSet; }
76 template<typename CustomVocabularyExportSpecificationT = CustomVocabularyExportSpecification>
77 void SetCustomVocabularyExportSpecification(CustomVocabularyExportSpecificationT&& value) { m_customVocabularyExportSpecificationHasBeenSet = true; m_customVocabularyExportSpecification = std::forward<CustomVocabularyExportSpecificationT>(value); }
78 template<typename CustomVocabularyExportSpecificationT = CustomVocabularyExportSpecification>
79 ExportResourceSpecification& WithCustomVocabularyExportSpecification(CustomVocabularyExportSpecificationT&& value) { SetCustomVocabularyExportSpecification(std::forward<CustomVocabularyExportSpecificationT>(value)); return *this;}
81
83
86 inline const TestSetExportSpecification& GetTestSetExportSpecification() const { return m_testSetExportSpecification; }
87 inline bool TestSetExportSpecificationHasBeenSet() const { return m_testSetExportSpecificationHasBeenSet; }
88 template<typename TestSetExportSpecificationT = TestSetExportSpecification>
89 void SetTestSetExportSpecification(TestSetExportSpecificationT&& value) { m_testSetExportSpecificationHasBeenSet = true; m_testSetExportSpecification = std::forward<TestSetExportSpecificationT>(value); }
90 template<typename TestSetExportSpecificationT = TestSetExportSpecification>
91 ExportResourceSpecification& WithTestSetExportSpecification(TestSetExportSpecificationT&& value) { SetTestSetExportSpecification(std::forward<TestSetExportSpecificationT>(value)); return *this;}
93 private:
94
95 BotExportSpecification m_botExportSpecification;
96 bool m_botExportSpecificationHasBeenSet = false;
97
98 BotLocaleExportSpecification m_botLocaleExportSpecification;
99 bool m_botLocaleExportSpecificationHasBeenSet = false;
100
101 CustomVocabularyExportSpecification m_customVocabularyExportSpecification;
102 bool m_customVocabularyExportSpecificationHasBeenSet = false;
103
104 TestSetExportSpecification m_testSetExportSpecification;
105 bool m_testSetExportSpecificationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LexModelsV2
110} // namespace Aws
void SetBotExportSpecification(BotExportSpecificationT &&value)
AWS_LEXMODELSV2_API ExportResourceSpecification()=default
const CustomVocabularyExportSpecification & GetCustomVocabularyExportSpecification() const
void SetBotLocaleExportSpecification(BotLocaleExportSpecificationT &&value)
AWS_LEXMODELSV2_API ExportResourceSpecification(Aws::Utils::Json::JsonView jsonValue)
ExportResourceSpecification & WithBotExportSpecification(BotExportSpecificationT &&value)
void SetCustomVocabularyExportSpecification(CustomVocabularyExportSpecificationT &&value)
const BotLocaleExportSpecification & GetBotLocaleExportSpecification() const
ExportResourceSpecification & WithCustomVocabularyExportSpecification(CustomVocabularyExportSpecificationT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ExportResourceSpecification & WithBotLocaleExportSpecification(BotLocaleExportSpecificationT &&value)
void SetTestSetExportSpecification(TestSetExportSpecificationT &&value)
const BotExportSpecification & GetBotExportSpecification() const
ExportResourceSpecification & WithTestSetExportSpecification(TestSetExportSpecificationT &&value)
const TestSetExportSpecification & GetTestSetExportSpecification() const
AWS_LEXMODELSV2_API ExportResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue