AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IdentityPoolIdT = Aws::String>
52 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
53 template<typename IdentityPoolIdT = Aws::String>
54 ListDatasetsRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
56
58
62 inline const Aws::String& GetIdentityId() const { return m_identityId; }
63 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
64 template<typename IdentityIdT = Aws::String>
65 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
66 template<typename IdentityIdT = Aws::String>
67 ListDatasetsRequest& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template<typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
78 template<typename NextTokenT = Aws::String>
79 ListDatasetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
81
83
86 inline int GetMaxResults() const { return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline ListDatasetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91 private:
92
93 Aws::String m_identityPoolId;
94 bool m_identityPoolIdHasBeenSet = false;
95
96 Aws::String m_identityId;
97 bool m_identityIdHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults{0};
103 bool m_maxResultsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CognitoSync
108} // namespace Aws
AWS_COGNITOSYNC_API ListDatasetsRequest()=default
ListDatasetsRequest & WithIdentityId(IdentityIdT &&value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListDatasetsRequest & WithMaxResults(int value)
AWS_COGNITOSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetIdentityPoolId(IdentityPoolIdT &&value)
ListDatasetsRequest & WithNextToken(NextTokenT &&value)
ListDatasetsRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String