AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ListConversationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QBusiness {
18namespace Model {
19
23 public:
24 AWS_QBUSINESS_API ListConversationsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListConversations"; }
31
32 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
33
34 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetUserId() const { return m_userId; }
60 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
61 template <typename UserIdT = Aws::String>
62 void SetUserId(UserIdT&& value) {
63 m_userIdHasBeenSet = true;
64 m_userId = std::forward<UserIdT>(value);
65 }
66 template <typename UserIdT = Aws::String>
68 SetUserId(std::forward<UserIdT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93
95
98 inline int GetMaxResults() const { return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) {
101 m_maxResultsHasBeenSet = true;
102 m_maxResults = value;
103 }
105 SetMaxResults(value);
106 return *this;
107 }
109 private:
110 Aws::String m_applicationId;
111
112 Aws::String m_userId;
113
114 Aws::String m_nextToken;
115
116 int m_maxResults{0};
117 bool m_applicationIdHasBeenSet = false;
118 bool m_userIdHasBeenSet = false;
119 bool m_nextTokenHasBeenSet = false;
120 bool m_maxResultsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QBusiness
125} // namespace Aws
AWS_QBUSINESS_API ListConversationsRequest()=default
ListConversationsRequest & WithMaxResults(int value)
ListConversationsRequest & WithUserId(UserIdT &&value)
ListConversationsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListConversationsRequest & WithApplicationId(ApplicationIdT &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QBUSINESS_API Aws::String SerializePayload() const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String