7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/VocabularyLanguageCode.h>
10#include <aws/connect/model/VocabularyState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
66 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
79 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
80 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
133 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
153 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
176 inline Vocabulary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
181 bool m_nameHasBeenSet =
false;
184 bool m_idHasBeenSet =
false;
187 bool m_arnHasBeenSet =
false;
190 bool m_languageCodeHasBeenSet =
false;
193 bool m_stateHasBeenSet =
false;
196 bool m_lastModifiedTimeHasBeenSet =
false;
199 bool m_failureReasonHasBeenSet =
false;
202 bool m_contentHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetContent(Aws::String &&value)
void SetId(const Aws::String &value)
bool ContentHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Vocabulary & WithLanguageCode(VocabularyLanguageCode &&value)
Vocabulary & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ArnHasBeenSet() const
Vocabulary & WithId(const Aws::String &value)
bool StateHasBeenSet() const
const Aws::String & GetArn() const
Vocabulary & AddTags(Aws::String &&key, Aws::String &&value)
Vocabulary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const VocabularyLanguageCode & GetLanguageCode() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Vocabulary & WithLanguageCode(const VocabularyLanguageCode &value)
bool TagsHasBeenSet() const
AWS_CONNECT_API Vocabulary(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
Vocabulary & AddTags(Aws::String &&key, const char *value)
Vocabulary & AddTags(const Aws::String &key, Aws::String &&value)
Vocabulary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Vocabulary & WithFailureReason(Aws::String &&value)
bool LastModifiedTimeHasBeenSet() const
Vocabulary & WithId(Aws::String &&value)
Vocabulary & WithFailureReason(const char *value)
bool FailureReasonHasBeenSet() const
Vocabulary & WithArn(const char *value)
void SetId(const char *value)
bool NameHasBeenSet() const
void SetState(const VocabularyState &value)
void SetContent(const Aws::String &value)
void SetId(Aws::String &&value)
void SetName(const char *value)
Vocabulary & AddTags(const char *key, Aws::String &&value)
Vocabulary & WithArn(const Aws::String &value)
Vocabulary & WithName(Aws::String &&value)
const Aws::String & GetFailureReason() const
void SetFailureReason(Aws::String &&value)
Vocabulary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Vocabulary & AddTags(const Aws::String &key, const Aws::String &value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
Vocabulary & WithContent(const Aws::String &value)
const Aws::String & GetName() const
Vocabulary & WithFailureReason(const Aws::String &value)
Vocabulary & WithContent(const char *value)
Vocabulary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetFailureReason(const Aws::String &value)
const Aws::String & GetId() const
const Aws::String & GetContent() const
AWS_CONNECT_API Vocabulary & operator=(Aws::Utils::Json::JsonView jsonValue)
const VocabularyState & GetState() const
Vocabulary & WithId(const char *value)
void SetArn(Aws::String &&value)
void SetFailureReason(const char *value)
AWS_CONNECT_API Vocabulary()
void SetLanguageCode(const VocabularyLanguageCode &value)
void SetArn(const Aws::String &value)
void SetState(VocabularyState &&value)
Vocabulary & WithArn(Aws::String &&value)
bool LanguageCodeHasBeenSet() const
void SetContent(const char *value)
Vocabulary & WithContent(Aws::String &&value)
Vocabulary & WithState(VocabularyState &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLanguageCode(VocabularyLanguageCode &&value)
bool IdHasBeenSet() const
Vocabulary & AddTags(Aws::String &&key, const Aws::String &value)
Vocabulary & WithName(const char *value)
Vocabulary & WithState(const VocabularyState &value)
Vocabulary & WithName(const Aws::String &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