7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/VocabularyLanguageCode.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
50 template<
typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<
typename ClientTokenT = Aws::String>
64 template<
typename InstanceIdT = Aws::String>
65 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
66 template<
typename InstanceIdT = Aws::String>
76 template<
typename VocabularyNameT = Aws::String>
77 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
78 template<
typename VocabularyNameT = Aws::String>
107 template<
typename ContentT = Aws::String>
108 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
109 template<
typename ContentT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
132 bool m_clientTokenHasBeenSet =
false;
135 bool m_instanceIdHasBeenSet =
false;
138 bool m_vocabularyNameHasBeenSet =
false;
141 bool m_languageCodeHasBeenSet =
false;
144 bool m_contentHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool LanguageCodeHasBeenSet() const
bool InstanceIdHasBeenSet() const
const Aws::String & GetContent() const
CreateVocabularyRequest & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_CONNECT_API CreateVocabularyRequest()=default
bool TagsHasBeenSet() const
const Aws::String & GetVocabularyName() const
CreateVocabularyRequest & WithInstanceId(InstanceIdT &&value)
void SetInstanceId(InstanceIdT &&value)
CreateVocabularyRequest & WithVocabularyName(VocabularyNameT &&value)
CreateVocabularyRequest & WithClientToken(ClientTokenT &&value)
VocabularyLanguageCode GetLanguageCode() const
bool ClientTokenHasBeenSet() const
void SetVocabularyName(VocabularyNameT &&value)
bool ContentHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVocabularyRequest & WithTags(TagsT &&value)
CreateVocabularyRequest & WithLanguageCode(VocabularyLanguageCode value)
bool VocabularyNameHasBeenSet() const
CreateVocabularyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetLanguageCode(VocabularyLanguageCode value)
const Aws::String & GetClientToken() const
AWS_CONNECT_API Aws::String SerializePayload() const override
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