7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/VocabularyLanguageCode.h>
9#include <aws/connect/model/VocabularyState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
80 template <
typename ArnT = Aws::String>
82 m_arnHasBeenSet =
true;
83 m_arn = std::forward<ArnT>(value);
85 template <
typename ArnT = Aws::String>
87 SetArn(std::forward<ArnT>(value));
102 m_languageCodeHasBeenSet =
true;
103 m_languageCode = value;
118 m_stateHasBeenSet =
true;
133 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
135 m_lastModifiedTimeHasBeenSet =
true;
136 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
138 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
151 template <
typename FailureReasonT = Aws::String>
153 m_failureReasonHasBeenSet =
true;
154 m_failureReason = std::forward<FailureReasonT>(value);
156 template <
typename FailureReasonT = Aws::String>
175 template <
typename ContentT = Aws::String>
177 m_contentHasBeenSet =
true;
178 m_content = std::forward<ContentT>(value);
180 template <
typename ContentT = Aws::String>
194 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
196 m_tagsHasBeenSet =
true;
197 m_tags = std::forward<TagsT>(value);
199 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 SetTags(std::forward<TagsT>(value));
204 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
206 m_tagsHasBeenSet =
true;
207 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
229 bool m_nameHasBeenSet =
false;
230 bool m_idHasBeenSet =
false;
231 bool m_arnHasBeenSet =
false;
232 bool m_languageCodeHasBeenSet =
false;
233 bool m_stateHasBeenSet =
false;
234 bool m_lastModifiedTimeHasBeenSet =
false;
235 bool m_failureReasonHasBeenSet =
false;
236 bool m_contentHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
Vocabulary & WithState(VocabularyState value)
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Vocabulary & WithName(NameT &&value)
Vocabulary & WithId(IdT &&value)
void SetState(VocabularyState value)
VocabularyState GetState() const
bool ContentHasBeenSet() const
Vocabulary & WithLanguageCode(VocabularyLanguageCode value)
Vocabulary & WithLastModifiedTime(LastModifiedTimeT &&value)
bool ArnHasBeenSet() const
void SetName(NameT &&value)
bool StateHasBeenSet() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TagsHasBeenSet() const
AWS_CONNECT_API Vocabulary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool LastModifiedTimeHasBeenSet() const
bool FailureReasonHasBeenSet() const
VocabularyLanguageCode GetLanguageCode() const
bool NameHasBeenSet() const
const Aws::String & GetFailureReason() const
void SetLanguageCode(VocabularyLanguageCode value)
Vocabulary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECT_API Vocabulary()=default
const Aws::String & GetName() const
const Aws::String & GetId() const
const Aws::String & GetContent() const
AWS_CONNECT_API Vocabulary & operator=(Aws::Utils::Json::JsonView jsonValue)
Vocabulary & WithArn(ArnT &&value)
void SetFailureReason(FailureReasonT &&value)
bool LanguageCodeHasBeenSet() const
Vocabulary & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
bool IdHasBeenSet() const
Vocabulary & WithTags(TagsT &&value)
Vocabulary & WithFailureReason(FailureReasonT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue