AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListRegistriesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Schemas {
18namespace Model {
19
23 public:
24 AWS_SCHEMAS_API ListRegistriesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListRegistries"; }
31
32 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
33
34 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
38 inline int GetLimit() const { return m_limit; }
39 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
40 inline void SetLimit(int value) {
41 m_limitHasBeenSet = true;
42 m_limit = value;
43 }
44 inline ListRegistriesRequest& WithLimit(int value) {
45 SetLimit(value);
46 return *this;
47 }
49
51
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
64 ListRegistriesRequest& WithNextToken(NextTokenT&& value) {
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetRegistryNamePrefix() const { return m_registryNamePrefix; }
76 inline bool RegistryNamePrefixHasBeenSet() const { return m_registryNamePrefixHasBeenSet; }
77 template <typename RegistryNamePrefixT = Aws::String>
78 void SetRegistryNamePrefix(RegistryNamePrefixT&& value) {
79 m_registryNamePrefixHasBeenSet = true;
80 m_registryNamePrefix = std::forward<RegistryNamePrefixT>(value);
81 }
82 template <typename RegistryNamePrefixT = Aws::String>
83 ListRegistriesRequest& WithRegistryNamePrefix(RegistryNamePrefixT&& value) {
84 SetRegistryNamePrefix(std::forward<RegistryNamePrefixT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetScope() const { return m_scope; }
95 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
96 template <typename ScopeT = Aws::String>
97 void SetScope(ScopeT&& value) {
98 m_scopeHasBeenSet = true;
99 m_scope = std::forward<ScopeT>(value);
100 }
101 template <typename ScopeT = Aws::String>
103 SetScope(std::forward<ScopeT>(value));
104 return *this;
105 }
107 private:
108 int m_limit{0};
109
110 Aws::String m_nextToken;
111
112 Aws::String m_registryNamePrefix;
113
114 Aws::String m_scope;
115 bool m_limitHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_registryNamePrefixHasBeenSet = false;
118 bool m_scopeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Schemas
123} // namespace Aws
AWS_SCHEMAS_API ListRegistriesRequest()=default
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRegistriesRequest & WithNextToken(NextTokenT &&value)
ListRegistriesRequest & WithScope(ScopeT &&value)
void SetRegistryNamePrefix(RegistryNamePrefixT &&value)
virtual const char * GetServiceRequestName() const override
ListRegistriesRequest & WithLimit(int value)
ListRegistriesRequest & WithRegistryNamePrefix(RegistryNamePrefixT &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String