AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRegistriesRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.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 Schemas
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SCHEMAS_API ListRegistriesRequest();
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_SCHEMAS_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
43 inline int GetLimit() const{ return m_limit; }
44 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
45 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
46 inline ListRegistriesRequest& WithLimit(int value) { SetLimit(value); return *this;}
48
50
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
60 inline ListRegistriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline ListRegistriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline ListRegistriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
70 inline const Aws::String& GetRegistryNamePrefix() const{ return m_registryNamePrefix; }
71 inline bool RegistryNamePrefixHasBeenSet() const { return m_registryNamePrefixHasBeenSet; }
72 inline void SetRegistryNamePrefix(const Aws::String& value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix = value; }
73 inline void SetRegistryNamePrefix(Aws::String&& value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix = std::move(value); }
74 inline void SetRegistryNamePrefix(const char* value) { m_registryNamePrefixHasBeenSet = true; m_registryNamePrefix.assign(value); }
76 inline ListRegistriesRequest& WithRegistryNamePrefix(Aws::String&& value) { SetRegistryNamePrefix(std::move(value)); return *this;}
77 inline ListRegistriesRequest& WithRegistryNamePrefix(const char* value) { SetRegistryNamePrefix(value); return *this;}
79
81
85 inline const Aws::String& GetScope() const{ return m_scope; }
86 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
87 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
88 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
89 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
90 inline ListRegistriesRequest& WithScope(const Aws::String& value) { SetScope(value); return *this;}
91 inline ListRegistriesRequest& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
92 inline ListRegistriesRequest& WithScope(const char* value) { SetScope(value); return *this;}
94 private:
95
96 int m_limit;
97 bool m_limitHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 Aws::String m_registryNamePrefix;
103 bool m_registryNamePrefixHasBeenSet = false;
104
105 Aws::String m_scope;
106 bool m_scopeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Schemas
111} // namespace Aws
ListRegistriesRequest & WithNextToken(Aws::String &&value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRegistriesRequest & WithRegistryNamePrefix(const char *value)
ListRegistriesRequest & WithNextToken(const Aws::String &value)
ListRegistriesRequest & WithScope(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListRegistriesRequest & WithRegistryNamePrefix(const Aws::String &value)
ListRegistriesRequest & WithScope(const char *value)
ListRegistriesRequest & WithNextToken(const char *value)
ListRegistriesRequest & WithScope(Aws::String &&value)
ListRegistriesRequest & WithLimit(int value)
void SetRegistryNamePrefix(const Aws::String &value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
ListRegistriesRequest & WithRegistryNamePrefix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String