AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListConversationsRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QBusiness
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QBUSINESS_API ListConversationsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListConversations"; }
35
36 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
37
38 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline ListConversationsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline ListConversationsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline ListConversationsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
60 inline const Aws::String& GetUserId() const{ return m_userId; }
61 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
62 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
63 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
64 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
65 inline ListConversationsRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
66 inline ListConversationsRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
67 inline ListConversationsRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
69
71
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 inline ListConversationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
83 inline ListConversationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline ListConversationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86
88
91 inline int GetMaxResults() const{ return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
94 inline ListConversationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
96 private:
97
98 Aws::String m_applicationId;
99 bool m_applicationIdHasBeenSet = false;
100
101 Aws::String m_userId;
102 bool m_userIdHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 int m_maxResults;
108 bool m_maxResultsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QBusiness
113} // namespace Aws
ListConversationsRequest & WithUserId(Aws::String &&value)
ListConversationsRequest & WithNextToken(const char *value)
ListConversationsRequest & WithMaxResults(int value)
ListConversationsRequest & WithNextToken(const Aws::String &value)
ListConversationsRequest & WithApplicationId(const Aws::String &value)
ListConversationsRequest & WithUserId(const char *value)
ListConversationsRequest & WithApplicationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListConversationsRequest & WithApplicationId(const char *value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
ListConversationsRequest & WithNextToken(Aws::String &&value)
ListConversationsRequest & WithUserId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String