AWS SDK for C++  1.8.71
AWS SDK for C++
ListRegistriesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Schemas
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListRegistries"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41 
42  inline int GetLimit() const{ return m_limit; }
43 
44 
45  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
46 
47 
48  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
49 
50 
51  inline ListRegistriesRequest& WithLimit(int value) { SetLimit(value); return *this;}
52 
53 
59  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 
66  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 
73  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 
80  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 
87  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 
94  inline ListRegistriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
95 
101  inline ListRegistriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
108  inline ListRegistriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 
110 
115  inline const Aws::String& GetRegistryNamePrefix() const{ return m_registryNamePrefix; }
116 
121  inline bool RegistryNamePrefixHasBeenSet() const { return m_registryNamePrefixHasBeenSet; }
122 
127  inline void SetRegistryNamePrefix(const Aws::String& value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix = value; }
128 
133  inline void SetRegistryNamePrefix(Aws::String&& value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix = std::move(value); }
134 
139  inline void SetRegistryNamePrefix(const char* value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix.assign(value); }
140 
145  inline ListRegistriesRequest& WithRegistryNamePrefix(const Aws::String& value) { SetRegistryNamePrefix(value); return *this;}
146 
151  inline ListRegistriesRequest& WithRegistryNamePrefix(Aws::String&& value) { SetRegistryNamePrefix(std::move(value)); return *this;}
152 
157  inline ListRegistriesRequest& WithRegistryNamePrefix(const char* value) { SetRegistryNamePrefix(value); return *this;}
158 
159 
164  inline const Aws::String& GetScope() const{ return m_scope; }
165 
170  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
171 
176  inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
177 
182  inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
183 
188  inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
189 
194  inline ListRegistriesRequest& WithScope(const Aws::String& value) { SetScope(value); return *this;}
195 
200  inline ListRegistriesRequest& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
201 
206  inline ListRegistriesRequest& WithScope(const char* value) { SetScope(value); return *this;}
207 
208  private:
209 
210  int m_limit;
211  bool m_limitHasBeenSet;
212 
213  Aws::String m_nextToken;
214  bool m_nextTokenHasBeenSet;
215 
216  Aws::String m_registryNamePrefix;
217  bool m_registryNamePrefixHasBeenSet;
218 
219  Aws::String m_scope;
220  bool m_scopeHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Schemas
225 } // namespace Aws
ListRegistriesRequest & WithRegistryNamePrefix(const char *value)
void SetNextToken(const Aws::String &value)
ListRegistriesRequest & WithRegistryNamePrefix(const Aws::String &value)
ListRegistriesRequest & WithScope(const char *value)
ListRegistriesRequest & WithNextToken(Aws::String &&value)
ListRegistriesRequest & WithLimit(int value)
ListRegistriesRequest & WithNextToken(const Aws::String &value)
ListRegistriesRequest & WithScope(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
#define AWS_SCHEMAS_API
ListRegistriesRequest & WithRegistryNamePrefix(Aws::String &&value)
void SetRegistryNamePrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListRegistriesRequest & WithNextToken(const char *value)
ListRegistriesRequest & WithScope(Aws::String &&value)