AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDatasetsRequest.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/CognitoSyncRequest.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 CognitoSync
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_COGNITOSYNC_API ListDatasetsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListDatasets"; }
38
39 AWS_COGNITOSYNC_API Aws::String SerializePayload() const override;
40
41 AWS_COGNITOSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
49 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
50 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
51 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
52 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
53 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
54 inline ListDatasetsRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
55 inline ListDatasetsRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
56 inline ListDatasetsRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
58
60
64 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
65 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
66 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
67 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
68 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
69 inline ListDatasetsRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
70 inline ListDatasetsRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
71 inline ListDatasetsRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
73
75
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline ListDatasetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline ListDatasetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline ListDatasetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
92 inline int GetMaxResults() const{ return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ListDatasetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 private:
98
99 Aws::String m_identityPoolId;
100 bool m_identityPoolIdHasBeenSet = false;
101
102 Aws::String m_identityId;
103 bool m_identityIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CognitoSync
114} // namespace Aws
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListDatasetsRequest & WithIdentityId(const Aws::String &value)
ListDatasetsRequest & WithNextToken(Aws::String &&value)
ListDatasetsRequest & WithMaxResults(int value)
AWS_COGNITOSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDatasetsRequest & WithIdentityId(const char *value)
ListDatasetsRequest & WithIdentityPoolId(const char *value)
ListDatasetsRequest & WithIdentityPoolId(Aws::String &&value)
ListDatasetsRequest & WithNextToken(const char *value)
ListDatasetsRequest & WithNextToken(const Aws::String &value)
ListDatasetsRequest & WithIdentityPoolId(const Aws::String &value)
ListDatasetsRequest & WithIdentityId(Aws::String &&value)
void SetIdentityPoolId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String