AWS SDK for C++  1.9.129
AWS SDK for C++
ListGroupsOlderThanOrderingIdRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace kendra
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "ListGroupsOlderThanOrderingId"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetIndexId() const{ return m_indexId; }
42 
47  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
48 
53  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
54 
59  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
60 
65  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
66 
71  inline ListGroupsOlderThanOrderingIdRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
72 
77  inline ListGroupsOlderThanOrderingIdRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
78 
83  inline ListGroupsOlderThanOrderingIdRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
84 
85 
90  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
91 
96  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
97 
102  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
103 
108  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
109 
114  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
115 
120  inline ListGroupsOlderThanOrderingIdRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
121 
126  inline ListGroupsOlderThanOrderingIdRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
127 
132  inline ListGroupsOlderThanOrderingIdRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
133 
134 
139  inline long long GetOrderingId() const{ return m_orderingId; }
140 
145  inline bool OrderingIdHasBeenSet() const { return m_orderingIdHasBeenSet; }
146 
151  inline void SetOrderingId(long long value) { m_orderingIdHasBeenSet = true; m_orderingId = value; }
152 
157  inline ListGroupsOlderThanOrderingIdRequest& WithOrderingId(long long value) { SetOrderingId(value); return *this;}
158 
159 
166  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
167 
174  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
175 
182  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
183 
190  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
191 
198  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
199 
206  inline ListGroupsOlderThanOrderingIdRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
207 
214  inline ListGroupsOlderThanOrderingIdRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
215 
222  inline ListGroupsOlderThanOrderingIdRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
223 
224 
229  inline int GetMaxResults() const{ return m_maxResults; }
230 
235  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
236 
241  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
242 
247  inline ListGroupsOlderThanOrderingIdRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
248 
249  private:
250 
251  Aws::String m_indexId;
252  bool m_indexIdHasBeenSet;
253 
254  Aws::String m_dataSourceId;
255  bool m_dataSourceIdHasBeenSet;
256 
257  long long m_orderingId;
258  bool m_orderingIdHasBeenSet;
259 
260  Aws::String m_nextToken;
261  bool m_nextTokenHasBeenSet;
262 
263  int m_maxResults;
264  bool m_maxResultsHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace kendra
269 } // namespace Aws
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:182
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithNextToken
ListGroupsOlderThanOrderingIdRequest & WithNextToken(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:214
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithIndexId
ListGroupsOlderThanOrderingIdRequest & WithIndexId(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:71
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithDataSourceId
ListGroupsOlderThanOrderingIdRequest & WithDataSourceId(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:132
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest
Definition: ListGroupsOlderThanOrderingIdRequest.h:22
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGroupsOlderThanOrderingIdRequest.h:30
KendraRequest.h
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:96
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetMaxResults
int GetMaxResults() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:229
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:41
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithIndexId
ListGroupsOlderThanOrderingIdRequest & WithIndexId(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:83
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetOrderingId
void SetOrderingId(long long value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:151
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:241
Kendra_EXPORTS.h
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:59
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithNextToken
ListGroupsOlderThanOrderingIdRequest & WithNextToken(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:222
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:166
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetOrderingId
long long GetOrderingId() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:139
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithOrderingId
ListGroupsOlderThanOrderingIdRequest & WithOrderingId(long long value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:157
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:90
AWSString.h
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithIndexId
ListGroupsOlderThanOrderingIdRequest & WithIndexId(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:77
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithDataSourceId
ListGroupsOlderThanOrderingIdRequest & WithDataSourceId(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:126
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:235
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetIndexId
void SetIndexId(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:65
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithNextToken
ListGroupsOlderThanOrderingIdRequest & WithNextToken(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:206
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithMaxResults
ListGroupsOlderThanOrderingIdRequest & WithMaxResults(int value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:247
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:198
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:102
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:190
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:47
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:174
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::WithDataSourceId
ListGroupsOlderThanOrderingIdRequest & WithDataSourceId(const Aws::String &value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:120
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::ListGroupsOlderThanOrderingIdRequest
ListGroupsOlderThanOrderingIdRequest()
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::OrderingIdHasBeenSet
bool OrderingIdHasBeenSet() const
Definition: ListGroupsOlderThanOrderingIdRequest.h:145
Aws::kendra::Model::ListGroupsOlderThanOrderingIdRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: ListGroupsOlderThanOrderingIdRequest.h:108