AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
VocabularyEntitySummary.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/Language.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockDataAutomation {
22namespace Model {
23
30 public:
31 AWS_BEDROCKDATAAUTOMATION_API VocabularyEntitySummary() = default;
34 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetEntityId() const { return m_entityId; }
39 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
40 template <typename EntityIdT = Aws::String>
41 void SetEntityId(EntityIdT&& value) {
42 m_entityIdHasBeenSet = true;
43 m_entityId = std::forward<EntityIdT>(value);
44 }
45 template <typename EntityIdT = Aws::String>
47 SetEntityId(std::forward<EntityIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
70 inline Language GetLanguage() const { return m_language; }
71 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
72 inline void SetLanguage(Language value) {
73 m_languageHasBeenSet = true;
74 m_language = value;
75 }
77 SetLanguage(value);
78 return *this;
79 }
81
83
86 inline int GetNumOfPhrases() const { return m_numOfPhrases; }
87 inline bool NumOfPhrasesHasBeenSet() const { return m_numOfPhrasesHasBeenSet; }
88 inline void SetNumOfPhrases(int value) {
89 m_numOfPhrasesHasBeenSet = true;
90 m_numOfPhrases = value;
91 }
93 SetNumOfPhrases(value);
94 return *this;
95 }
97
99
100 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
101 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
102 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
104 m_lastModifiedTimeHasBeenSet = true;
105 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
106 }
107 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
109 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_entityId;
115
116 Aws::String m_description;
117
118 Language m_language{Language::NOT_SET};
119
120 int m_numOfPhrases{0};
121
122 Aws::Utils::DateTime m_lastModifiedTime{};
123 bool m_entityIdHasBeenSet = false;
124 bool m_descriptionHasBeenSet = false;
125 bool m_languageHasBeenSet = false;
126 bool m_numOfPhrasesHasBeenSet = false;
127 bool m_lastModifiedTimeHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace BedrockDataAutomation
132} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API VocabularyEntitySummary()=default
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API VocabularyEntitySummary(Aws::Utils::Json::JsonView jsonValue)
VocabularyEntitySummary & WithDescription(DescriptionT &&value)
VocabularyEntitySummary & WithEntityId(EntityIdT &&value)
AWS_BEDROCKDATAAUTOMATION_API VocabularyEntitySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VocabularyEntitySummary & WithLastModifiedTime(LastModifiedTimeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue