AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteCustomVocabularyItemResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/FailedCustomVocabularyItem.h>
11#include <aws/lexv2-models/model/CustomVocabularyItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetBotId() const{ return m_botId; }
43 inline void SetBotId(const Aws::String& value) { m_botId = value; }
44 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
45 inline void SetBotId(const char* value) { m_botId.assign(value); }
46 inline BatchDeleteCustomVocabularyItemResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline BatchDeleteCustomVocabularyItemResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline BatchDeleteCustomVocabularyItemResult& WithBotId(const char* value) { SetBotId(value); return *this;}
50
52
56 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
57 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
58 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
59 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
61 inline BatchDeleteCustomVocabularyItemResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
62 inline BatchDeleteCustomVocabularyItemResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
64
66
72 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
73 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
74 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
75 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
76 inline BatchDeleteCustomVocabularyItemResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
77 inline BatchDeleteCustomVocabularyItemResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
78 inline BatchDeleteCustomVocabularyItemResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
80
82
86 inline const Aws::Vector<FailedCustomVocabularyItem>& GetErrors() const{ return m_errors; }
87 inline void SetErrors(const Aws::Vector<FailedCustomVocabularyItem>& value) { m_errors = value; }
88 inline void SetErrors(Aws::Vector<FailedCustomVocabularyItem>&& value) { m_errors = std::move(value); }
91 inline BatchDeleteCustomVocabularyItemResult& AddErrors(const FailedCustomVocabularyItem& value) { m_errors.push_back(value); return *this; }
92 inline BatchDeleteCustomVocabularyItemResult& AddErrors(FailedCustomVocabularyItem&& value) { m_errors.push_back(std::move(value)); return *this; }
94
96
100 inline const Aws::Vector<CustomVocabularyItem>& GetResources() const{ return m_resources; }
101 inline void SetResources(const Aws::Vector<CustomVocabularyItem>& value) { m_resources = value; }
102 inline void SetResources(Aws::Vector<CustomVocabularyItem>&& value) { m_resources = std::move(value); }
105 inline BatchDeleteCustomVocabularyItemResult& AddResources(const CustomVocabularyItem& value) { m_resources.push_back(value); return *this; }
106 inline BatchDeleteCustomVocabularyItemResult& AddResources(CustomVocabularyItem&& value) { m_resources.push_back(std::move(value)); return *this; }
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline BatchDeleteCustomVocabularyItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline BatchDeleteCustomVocabularyItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::String m_botId;
122
123 Aws::String m_botVersion;
124
125 Aws::String m_localeId;
126
128
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace LexModelsV2
136} // namespace Aws
AWS_LEXMODELSV2_API BatchDeleteCustomVocabularyItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteCustomVocabularyItemResult & WithErrors(Aws::Vector< FailedCustomVocabularyItem > &&value)
BatchDeleteCustomVocabularyItemResult & WithBotId(const char *value)
BatchDeleteCustomVocabularyItemResult & WithLocaleId(const char *value)
BatchDeleteCustomVocabularyItemResult & WithBotId(Aws::String &&value)
BatchDeleteCustomVocabularyItemResult & WithBotVersion(const char *value)
const Aws::Vector< FailedCustomVocabularyItem > & GetErrors() const
BatchDeleteCustomVocabularyItemResult & WithBotVersion(Aws::String &&value)
BatchDeleteCustomVocabularyItemResult & WithBotVersion(const Aws::String &value)
BatchDeleteCustomVocabularyItemResult & AddErrors(const FailedCustomVocabularyItem &value)
BatchDeleteCustomVocabularyItemResult & WithRequestId(Aws::String &&value)
BatchDeleteCustomVocabularyItemResult & WithBotId(const Aws::String &value)
BatchDeleteCustomVocabularyItemResult & WithResources(Aws::Vector< CustomVocabularyItem > &&value)
void SetErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchDeleteCustomVocabularyItemResult & AddResources(CustomVocabularyItem &&value)
AWS_LEXMODELSV2_API BatchDeleteCustomVocabularyItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteCustomVocabularyItemResult & WithErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchDeleteCustomVocabularyItemResult & AddResources(const CustomVocabularyItem &value)
BatchDeleteCustomVocabularyItemResult & WithRequestId(const Aws::String &value)
BatchDeleteCustomVocabularyItemResult & WithLocaleId(Aws::String &&value)
BatchDeleteCustomVocabularyItemResult & WithLocaleId(const Aws::String &value)
BatchDeleteCustomVocabularyItemResult & WithRequestId(const char *value)
BatchDeleteCustomVocabularyItemResult & WithResources(const Aws::Vector< CustomVocabularyItem > &value)
BatchDeleteCustomVocabularyItemResult & AddErrors(FailedCustomVocabularyItem &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue