7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/qconnect/model/ContentAssociationContents.h>
10#include <aws/qconnect/model/ContentAssociationType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
75 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
89 inline void SetContentId(
const char* value) { m_contentIdHasBeenSet =
true; m_contentId.assign(value); }
103 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
130 bool m_associationHasBeenSet =
false;
133 bool m_associationTypeHasBeenSet =
false;
136 bool m_clientTokenHasBeenSet =
false;
139 bool m_contentIdHasBeenSet =
false;
142 bool m_knowledgeBaseIdHasBeenSet =
false;
145 bool m_tagsHasBeenSet =
false;
void SetContentId(const Aws::String &value)
const ContentAssociationContents & GetAssociation() const
CreateContentAssociationRequest & AddTags(const char *key, Aws::String &&value)
CreateContentAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateContentAssociationRequest & WithAssociation(const ContentAssociationContents &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreateContentAssociationRequest & WithAssociation(ContentAssociationContents &&value)
bool AssociationTypeHasBeenSet() const
CreateContentAssociationRequest & WithAssociationType(const ContentAssociationType &value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateContentAssociationRequest & WithClientToken(Aws::String &&value)
void SetClientToken(const char *value)
const Aws::String & GetKnowledgeBaseId() const
bool AssociationHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetAssociationType(ContentAssociationType &&value)
CreateContentAssociationRequest & WithAssociationType(ContentAssociationType &&value)
CreateContentAssociationRequest & WithKnowledgeBaseId(const Aws::String &value)
CreateContentAssociationRequest & WithContentId(const char *value)
bool KnowledgeBaseIdHasBeenSet() const
void SetAssociation(ContentAssociationContents &&value)
const Aws::String & GetContentId() const
CreateContentAssociationRequest & AddTags(const char *key, const char *value)
CreateContentAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateContentAssociationRequest & WithKnowledgeBaseId(const char *value)
void SetAssociation(const ContentAssociationContents &value)
CreateContentAssociationRequest & WithKnowledgeBaseId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateContentAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAssociationType(const ContentAssociationType &value)
bool TagsHasBeenSet() const
void SetClientToken(Aws::String &&value)
void SetKnowledgeBaseId(const char *value)
CreateContentAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContentAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetContentId(Aws::String &&value)
CreateContentAssociationRequest & WithClientToken(const char *value)
CreateContentAssociationRequest & WithContentId(Aws::String &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
const ContentAssociationType & GetAssociationType() const
CreateContentAssociationRequest & WithContentId(const Aws::String &value)
AWS_QCONNECT_API CreateContentAssociationRequest()
const Aws::String & GetClientToken() const
bool ContentIdHasBeenSet() const
CreateContentAssociationRequest & AddTags(Aws::String &&key, const char *value)
void SetContentId(const char *value)
CreateContentAssociationRequest & WithClientToken(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