7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
16namespace ConnectWisdomService
49 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
105 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
120 inline void SetOverrideLinkOutUri(
const char* value) { m_overrideLinkOutUriHasBeenSet =
true; m_overrideLinkOutUri.assign(value); }
153 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
168 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
176 bool m_clientTokenHasBeenSet =
false;
179 bool m_knowledgeBaseIdHasBeenSet =
false;
182 bool m_metadataHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
188 bool m_overrideLinkOutUriHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
194 bool m_titleHasBeenSet =
false;
197 bool m_uploadIdHasBeenSet =
false;
CreateContentRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentRequest & AddMetadata(const char *key, Aws::String &&value)
CreateContentRequest & WithClientToken(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(const char *value)
CreateContentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(const char *value)
CreateContentRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateContentRequest & WithClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetKnowledgeBaseId() const
void SetClientToken(Aws::String &&value)
void SetTitle(const char *value)
bool MetadataHasBeenSet() const
CreateContentRequest & WithName(const Aws::String &value)
CreateContentRequest & WithName(Aws::String &&value)
CreateContentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateContentRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateContentRequest & WithKnowledgeBaseId(const char *value)
AWS_CONNECTWISDOMSERVICE_API CreateContentRequest()
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
CreateContentRequest & WithClientToken(Aws::String &&value)
CreateContentRequest & WithTitle(Aws::String &&value)
const Aws::String & GetName() const
CreateContentRequest & WithKnowledgeBaseId(Aws::String &&value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const Aws::String &value)
bool TagsHasBeenSet() const
CreateContentRequest & WithOverrideLinkOutUri(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateContentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetKnowledgeBaseId(Aws::String &&value)
bool NameHasBeenSet() const
CreateContentRequest & WithTitle(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
bool UploadIdHasBeenSet() const
const Aws::String & GetTitle() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateContentRequest & WithName(const char *value)
CreateContentRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetUploadId(const Aws::String &value)
void SetUploadId(Aws::String &&value)
CreateContentRequest & AddTags(const char *key, const char *value)
void SetOverrideLinkOutUri(const char *value)
CreateContentRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool OverrideLinkOutUriHasBeenSet() const
const Aws::String & GetClientToken() const
CreateContentRequest & WithOverrideLinkOutUri(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentRequest & AddMetadata(const char *key, const char *value)
void SetOverrideLinkOutUri(Aws::String &&value)
void SetKnowledgeBaseId(const char *value)
bool TitleHasBeenSet() const
CreateContentRequest & WithOverrideLinkOutUri(const char *value)
void SetTitle(const Aws::String &value)
CreateContentRequest & AddTags(Aws::String &&key, const char *value)
CreateContentRequest & WithUploadId(const Aws::String &value)
CreateContentRequest & AddMetadata(Aws::String &&key, const char *value)
void SetTitle(Aws::String &&value)
CreateContentRequest & WithKnowledgeBaseId(const Aws::String &value)
CreateContentRequest & WithUploadId(Aws::String &&value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
CreateContentRequest & WithTitle(const Aws::String &value)
void SetKnowledgeBaseId(const Aws::String &value)
CreateContentRequest & WithUploadId(const char *value)
CreateContentRequest & AddTags(const char *key, Aws::String &&value)
void SetUploadId(const char *value)
CreateContentRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CreateContentRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetOverrideLinkOutUri(const Aws::String &value)
CreateContentRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetOverrideLinkOutUri() const
CreateContentRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool KnowledgeBaseIdHasBeenSet() const
const Aws::String & GetUploadId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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