7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ConversationIdT = Aws::String>
49 template<
typename ConversationIdT = Aws::String>
59 template<
typename ApplicationIdT = Aws::String>
61 template<
typename ApplicationIdT = Aws::String>
72 template<
typename UserIdT = Aws::String>
73 void SetUserId(
UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
74 template<
typename UserIdT = Aws::String>
86 template<
typename NextTokenT = Aws::String>
87 void SetNextToken(
NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
88 template<
typename NextTokenT = Aws::String>
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
104 bool m_conversationIdHasBeenSet =
false;
107 bool m_applicationIdHasBeenSet =
false;
110 bool m_userIdHasBeenSet =
false;
113 bool m_nextTokenHasBeenSet =
false;
116 bool m_maxResultsHasBeenSet =
false;
ListMessagesRequest & WithApplicationId(ApplicationIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetNextToken() const
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMessagesRequest & WithMaxResults(int value)
int GetMaxResults() const
bool ConversationIdHasBeenSet() const
void SetMaxResults(int value)
void SetNextToken(NextTokenT &&value)
void SetConversationId(ConversationIdT &&value)
ListMessagesRequest & WithConversationId(ConversationIdT &&value)
bool NextTokenHasBeenSet() const
ListMessagesRequest & WithUserId(UserIdT &&value)
const Aws::String & GetConversationId() const
const Aws::String & GetApplicationId() const
bool MaxResultsHasBeenSet() const
bool UserIdHasBeenSet() const
ListMessagesRequest & WithNextToken(NextTokenT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetUserId(UserIdT &&value)
const Aws::String & GetUserId() const
AWS_QBUSINESS_API ListMessagesRequest()=default
bool ApplicationIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String