AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeUsersRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElastiCache
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICACHE_API DescribeUsersRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeUsers"; }
33
34 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetEngine() const{ return m_engine; }
46 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
47 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
48 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
49 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
50 inline DescribeUsersRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
51 inline DescribeUsersRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
52 inline DescribeUsersRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
54
56
59 inline const Aws::String& GetUserId() const{ return m_userId; }
60 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
61 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
62 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
63 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
64 inline DescribeUsersRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
65 inline DescribeUsersRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
66 inline DescribeUsersRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
68
70
73 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
74 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
75 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
76 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
77 inline DescribeUsersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
78 inline DescribeUsersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
79 inline DescribeUsersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
80 inline DescribeUsersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
82
84
89 inline int GetMaxRecords() const{ return m_maxRecords; }
90 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
91 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
92 inline DescribeUsersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
94
96
102 inline const Aws::String& GetMarker() const{ return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
105 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
106 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
107 inline DescribeUsersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 inline DescribeUsersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
109 inline DescribeUsersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
111 private:
112
113 Aws::String m_engine;
114 bool m_engineHasBeenSet = false;
115
116 Aws::String m_userId;
117 bool m_userIdHasBeenSet = false;
118
119 Aws::Vector<Filter> m_filters;
120 bool m_filtersHasBeenSet = false;
121
122 int m_maxRecords;
123 bool m_maxRecordsHasBeenSet = false;
124
125 Aws::String m_marker;
126 bool m_markerHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace ElastiCache
131} // namespace Aws
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeUsersRequest & WithUserId(const Aws::String &value)
DescribeUsersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeUsersRequest & WithEngine(const Aws::String &value)
DescribeUsersRequest & WithMaxRecords(int value)
DescribeUsersRequest & WithMarker(const Aws::String &value)
void SetFilters(Aws::Vector< Filter > &&value)
DescribeUsersRequest & AddFilters(Filter &&value)
DescribeUsersRequest & WithUserId(Aws::String &&value)
DescribeUsersRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeUsersRequest & WithUserId(const char *value)
const Aws::Vector< Filter > & GetFilters() const
DescribeUsersRequest & AddFilters(const Filter &value)
DescribeUsersRequest & WithMarker(Aws::String &&value)
DescribeUsersRequest & WithEngine(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeUsersRequest & WithEngine(Aws::String &&value)
DescribeUsersRequest & WithMarker(const char *value)
void SetFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector