AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateCustomVocabularyItemResult.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 BatchUpdateCustomVocabularyItemResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline BatchUpdateCustomVocabularyItemResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline BatchUpdateCustomVocabularyItemResult& 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 BatchUpdateCustomVocabularyItemResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
62 inline BatchUpdateCustomVocabularyItemResult& 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 BatchUpdateCustomVocabularyItemResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
77 inline BatchUpdateCustomVocabularyItemResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
78 inline BatchUpdateCustomVocabularyItemResult& 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 BatchUpdateCustomVocabularyItemResult& AddErrors(const FailedCustomVocabularyItem& value) { m_errors.push_back(value); return *this; }
92 inline BatchUpdateCustomVocabularyItemResult& 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 BatchUpdateCustomVocabularyItemResult& AddResources(const CustomVocabularyItem& value) { m_resources.push_back(value); return *this; }
106 inline BatchUpdateCustomVocabularyItemResult& 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 BatchUpdateCustomVocabularyItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline BatchUpdateCustomVocabularyItemResult& 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
BatchUpdateCustomVocabularyItemResult & WithBotVersion(const Aws::String &value)
BatchUpdateCustomVocabularyItemResult & WithErrors(Aws::Vector< FailedCustomVocabularyItem > &&value)
BatchUpdateCustomVocabularyItemResult & AddErrors(FailedCustomVocabularyItem &&value)
BatchUpdateCustomVocabularyItemResult & WithBotId(const Aws::String &value)
void SetErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchUpdateCustomVocabularyItemResult & WithRequestId(const Aws::String &value)
BatchUpdateCustomVocabularyItemResult & WithLocaleId(const Aws::String &value)
BatchUpdateCustomVocabularyItemResult & AddResources(const CustomVocabularyItem &value)
BatchUpdateCustomVocabularyItemResult & WithBotId(const char *value)
BatchUpdateCustomVocabularyItemResult & WithLocaleId(const char *value)
BatchUpdateCustomVocabularyItemResult & AddErrors(const FailedCustomVocabularyItem &value)
AWS_LEXMODELSV2_API BatchUpdateCustomVocabularyItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateCustomVocabularyItemResult & WithResources(Aws::Vector< CustomVocabularyItem > &&value)
BatchUpdateCustomVocabularyItemResult & WithResources(const Aws::Vector< CustomVocabularyItem > &value)
AWS_LEXMODELSV2_API BatchUpdateCustomVocabularyItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateCustomVocabularyItemResult & WithLocaleId(Aws::String &&value)
BatchUpdateCustomVocabularyItemResult & AddResources(CustomVocabularyItem &&value)
BatchUpdateCustomVocabularyItemResult & WithRequestId(Aws::String &&value)
const Aws::Vector< FailedCustomVocabularyItem > & GetErrors() const
BatchUpdateCustomVocabularyItemResult & WithErrors(const Aws::Vector< FailedCustomVocabularyItem > &value)
BatchUpdateCustomVocabularyItemResult & WithBotId(Aws::String &&value)
BatchUpdateCustomVocabularyItemResult & WithBotVersion(Aws::String &&value)
BatchUpdateCustomVocabularyItemResult & WithRequestId(const char *value)
BatchUpdateCustomVocabularyItemResult & WithBotVersion(const char *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