AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
UpsertEntityInfo.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/VocabularyEntityInfo.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockDataAutomation {
20namespace Model {
21
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API UpsertEntityInfo() = default;
33 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const VocabularyEntityInfo& GetVocabulary() const { return m_vocabulary; }
38 inline bool VocabularyHasBeenSet() const { return m_vocabularyHasBeenSet; }
39 template <typename VocabularyT = VocabularyEntityInfo>
40 void SetVocabulary(VocabularyT&& value) {
41 m_vocabularyHasBeenSet = true;
42 m_vocabulary = std::forward<VocabularyT>(value);
43 }
44 template <typename VocabularyT = VocabularyEntityInfo>
46 SetVocabulary(std::forward<VocabularyT>(value));
47 return *this;
48 }
50 private:
51 VocabularyEntityInfo m_vocabulary;
52 bool m_vocabularyHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace BedrockDataAutomation
57} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API UpsertEntityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
UpsertEntityInfo & WithVocabulary(VocabularyT &&value)
AWS_BEDROCKDATAAUTOMATION_API UpsertEntityInfo()=default
const VocabularyEntityInfo & GetVocabulary() const
AWS_BEDROCKDATAAUTOMATION_API UpsertEntityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue