AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportResourceSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/BotImportSpecification.h>
9#include <aws/lexv2-models/model/BotLocaleImportSpecification.h>
10#include <aws/lexv2-models/model/CustomVocabularyImportSpecification.h>
11#include <aws/lexv2-models/model/TestSetImportResourceSpecification.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 ImportResourceSpecification();
43 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const BotImportSpecification& GetBotImportSpecification() const{ return m_botImportSpecification; }
51 inline bool BotImportSpecificationHasBeenSet() const { return m_botImportSpecificationHasBeenSet; }
52 inline void SetBotImportSpecification(const BotImportSpecification& value) { m_botImportSpecificationHasBeenSet = true; m_botImportSpecification = value; }
53 inline void SetBotImportSpecification(BotImportSpecification&& value) { m_botImportSpecificationHasBeenSet = true; m_botImportSpecification = std::move(value); }
57
59
62 inline const BotLocaleImportSpecification& GetBotLocaleImportSpecification() const{ return m_botLocaleImportSpecification; }
63 inline bool BotLocaleImportSpecificationHasBeenSet() const { return m_botLocaleImportSpecificationHasBeenSet; }
64 inline void SetBotLocaleImportSpecification(const BotLocaleImportSpecification& value) { m_botLocaleImportSpecificationHasBeenSet = true; m_botLocaleImportSpecification = value; }
65 inline void SetBotLocaleImportSpecification(BotLocaleImportSpecification&& value) { m_botLocaleImportSpecificationHasBeenSet = true; m_botLocaleImportSpecification = std::move(value); }
69
71
72 inline const CustomVocabularyImportSpecification& GetCustomVocabularyImportSpecification() const{ return m_customVocabularyImportSpecification; }
73 inline bool CustomVocabularyImportSpecificationHasBeenSet() const { return m_customVocabularyImportSpecificationHasBeenSet; }
74 inline void SetCustomVocabularyImportSpecification(const CustomVocabularyImportSpecification& value) { m_customVocabularyImportSpecificationHasBeenSet = true; m_customVocabularyImportSpecification = value; }
75 inline void SetCustomVocabularyImportSpecification(CustomVocabularyImportSpecification&& value) { m_customVocabularyImportSpecificationHasBeenSet = true; m_customVocabularyImportSpecification = std::move(value); }
79
81
84 inline const TestSetImportResourceSpecification& GetTestSetImportResourceSpecification() const{ return m_testSetImportResourceSpecification; }
85 inline bool TestSetImportResourceSpecificationHasBeenSet() const { return m_testSetImportResourceSpecificationHasBeenSet; }
86 inline void SetTestSetImportResourceSpecification(const TestSetImportResourceSpecification& value) { m_testSetImportResourceSpecificationHasBeenSet = true; m_testSetImportResourceSpecification = value; }
87 inline void SetTestSetImportResourceSpecification(TestSetImportResourceSpecification&& value) { m_testSetImportResourceSpecificationHasBeenSet = true; m_testSetImportResourceSpecification = std::move(value); }
88 inline ImportResourceSpecification& WithTestSetImportResourceSpecification(const TestSetImportResourceSpecification& value) { SetTestSetImportResourceSpecification(value); return *this;}
89 inline ImportResourceSpecification& WithTestSetImportResourceSpecification(TestSetImportResourceSpecification&& value) { SetTestSetImportResourceSpecification(std::move(value)); return *this;}
91 private:
92
93 BotImportSpecification m_botImportSpecification;
94 bool m_botImportSpecificationHasBeenSet = false;
95
96 BotLocaleImportSpecification m_botLocaleImportSpecification;
97 bool m_botLocaleImportSpecificationHasBeenSet = false;
98
99 CustomVocabularyImportSpecification m_customVocabularyImportSpecification;
100 bool m_customVocabularyImportSpecificationHasBeenSet = false;
101
102 TestSetImportResourceSpecification m_testSetImportResourceSpecification;
103 bool m_testSetImportResourceSpecificationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace LexModelsV2
108} // namespace Aws
AWS_LEXMODELSV2_API ImportResourceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportResourceSpecification & WithTestSetImportResourceSpecification(TestSetImportResourceSpecification &&value)
void SetCustomVocabularyImportSpecification(const CustomVocabularyImportSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomVocabularyImportSpecification(CustomVocabularyImportSpecification &&value)
ImportResourceSpecification & WithBotImportSpecification(const BotImportSpecification &value)
const CustomVocabularyImportSpecification & GetCustomVocabularyImportSpecification() const
void SetTestSetImportResourceSpecification(TestSetImportResourceSpecification &&value)
const TestSetImportResourceSpecification & GetTestSetImportResourceSpecification() const
void SetBotLocaleImportSpecification(const BotLocaleImportSpecification &value)
void SetBotImportSpecification(const BotImportSpecification &value)
AWS_LEXMODELSV2_API ImportResourceSpecification(Aws::Utils::Json::JsonView jsonValue)
ImportResourceSpecification & WithCustomVocabularyImportSpecification(const CustomVocabularyImportSpecification &value)
ImportResourceSpecification & WithBotLocaleImportSpecification(const BotLocaleImportSpecification &value)
ImportResourceSpecification & WithBotLocaleImportSpecification(BotLocaleImportSpecification &&value)
void SetBotLocaleImportSpecification(BotLocaleImportSpecification &&value)
const BotLocaleImportSpecification & GetBotLocaleImportSpecification() const
void SetTestSetImportResourceSpecification(const TestSetImportResourceSpecification &value)
ImportResourceSpecification & WithTestSetImportResourceSpecification(const TestSetImportResourceSpecification &value)
ImportResourceSpecification & WithBotImportSpecification(BotImportSpecification &&value)
ImportResourceSpecification & WithCustomVocabularyImportSpecification(CustomVocabularyImportSpecification &&value)
const BotImportSpecification & GetBotImportSpecification() const
Aws::Utils::Json::JsonValue JsonValue