7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.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>
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 & AddMetadata(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateContentRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetTitle(Aws::String &&value)
CreateContentRequest & WithUploadId(Aws::String &&value)
CreateContentRequest & WithKnowledgeBaseId(const Aws::String &value)
void SetClientToken(const char *value)
bool TitleHasBeenSet() const
const Aws::String & GetClientToken() const
void SetName(Aws::String &&value)
CreateContentRequest & WithKnowledgeBaseId(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateContentRequest & WithKnowledgeBaseId(const char *value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateContentRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateContentRequest & WithName(const Aws::String &value)
CreateContentRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateContentRequest & AddMetadata(const char *key, const char *value)
bool KnowledgeBaseIdHasBeenSet() const
CreateContentRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateContentRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetTitle() const
CreateContentRequest & WithName(const char *value)
void SetTitle(const char *value)
void SetUploadId(const Aws::String &value)
void SetOverrideLinkOutUri(const char *value)
CreateContentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetName(const char *value)
void SetUploadId(Aws::String &&value)
CreateContentRequest & AddMetadata(Aws::String &&key, const char *value)
CreateContentRequest & AddTags(const char *key, const char *value)
bool NameHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool TagsHasBeenSet() const
CreateContentRequest & WithTitle(const Aws::String &value)
void SetOverrideLinkOutUri(const Aws::String &value)
void SetKnowledgeBaseId(Aws::String &&value)
CreateContentRequest & WithName(Aws::String &&value)
CreateContentRequest & AddTags(const char *key, Aws::String &&value)
AWS_QCONNECT_API CreateContentRequest()
const Aws::String & GetName() const
void SetOverrideLinkOutUri(Aws::String &&value)
void SetClientToken(Aws::String &&value)
void SetTitle(const Aws::String &value)
CreateContentRequest & WithUploadId(const Aws::String &value)
void SetUploadId(const char *value)
const Aws::String & GetOverrideLinkOutUri() const
CreateContentRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CreateContentRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
CreateContentRequest & WithOverrideLinkOutUri(const Aws::String &value)
CreateContentRequest & WithTitle(Aws::String &&value)
CreateContentRequest & WithOverrideLinkOutUri(Aws::String &&value)
CreateContentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetUploadId() const
CreateContentRequest & WithOverrideLinkOutUri(const char *value)
void SetKnowledgeBaseId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateContentRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool UploadIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetName(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
CreateContentRequest & WithClientToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateContentRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentRequest & AddTags(Aws::String &&key, const char *value)
CreateContentRequest & WithTitle(const char *value)
CreateContentRequest & WithClientToken(const char *value)
bool MetadataHasBeenSet() const
bool OverrideLinkOutUriHasBeenSet() const
CreateContentRequest & WithUploadId(const char *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