AWS SDK for C++  1.9.47
AWS SDK for C++
SearchSchemasRequest.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 "SearchSchemas"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetKeywords() const{ return m_keywords; }
46 
51  inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
52 
57  inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
58 
63  inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
64 
69  inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); }
70 
75  inline SearchSchemasRequest& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;}
76 
81  inline SearchSchemasRequest& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;}
82 
87  inline SearchSchemasRequest& WithKeywords(const char* value) { SetKeywords(value); return *this;}
88 
89 
90 
91  inline int GetLimit() const{ return m_limit; }
92 
93 
94  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
95 
96 
97  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
98 
99 
100  inline SearchSchemasRequest& WithLimit(int value) { SetLimit(value); return *this;}
101 
102 
108  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 
115  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 
122  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 
129  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
130 
136  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
137 
143  inline SearchSchemasRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
150  inline SearchSchemasRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 
157  inline SearchSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
158 
159 
163  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
164 
168  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
169 
173  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
174 
178  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
179 
183  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
184 
188  inline SearchSchemasRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
189 
193  inline SearchSchemasRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
194 
198  inline SearchSchemasRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
199 
200  private:
201 
202  Aws::String m_keywords;
203  bool m_keywordsHasBeenSet;
204 
205  int m_limit;
206  bool m_limitHasBeenSet;
207 
208  Aws::String m_nextToken;
209  bool m_nextTokenHasBeenSet;
210 
211  Aws::String m_registryName;
212  bool m_registryNameHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace Schemas
217 } // namespace Aws
Aws::Schemas::Model::SearchSchemasRequest::WithRegistryName
SearchSchemasRequest & WithRegistryName(const Aws::String &value)
Definition: SearchSchemasRequest.h:188
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::SearchSchemasRequest::WithNextToken
SearchSchemasRequest & WithNextToken(Aws::String &&value)
Definition: SearchSchemasRequest.h:150
Aws::Schemas::Model::SearchSchemasRequest::WithKeywords
SearchSchemasRequest & WithKeywords(const Aws::String &value)
Definition: SearchSchemasRequest.h:75
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::SearchSchemasRequest::GetLimit
int GetLimit() const
Definition: SearchSchemasRequest.h:91
Aws::Schemas::Model::SearchSchemasRequest
Definition: SearchSchemasRequest.h:26
Aws::Schemas::Model::SearchSchemasRequest::KeywordsHasBeenSet
bool KeywordsHasBeenSet() const
Definition: SearchSchemasRequest.h:51
Aws::Schemas::Model::SearchSchemasRequest::WithRegistryName
SearchSchemasRequest & WithRegistryName(const char *value)
Definition: SearchSchemasRequest.h:198
Aws::Schemas::Model::SearchSchemasRequest::SetLimit
void SetLimit(int value)
Definition: SearchSchemasRequest.h:97
Aws::Schemas::Model::SearchSchemasRequest::SetKeywords
void SetKeywords(const char *value)
Definition: SearchSchemasRequest.h:69
Schemas_EXPORTS.h
Aws::Schemas::Model::SearchSchemasRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: SearchSchemasRequest.h:94
Aws::Schemas::Model::SearchSchemasRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::SearchSchemasRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchSchemasRequest.h:122
Aws::Schemas::Model::SearchSchemasRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: SearchSchemasRequest.h:173
Aws::Schemas::Model::SearchSchemasRequest::SearchSchemasRequest
SearchSchemasRequest()
Aws::Schemas::Model::SearchSchemasRequest::WithNextToken
SearchSchemasRequest & WithNextToken(const Aws::String &value)
Definition: SearchSchemasRequest.h:143
Aws::Schemas::Model::SearchSchemasRequest::WithRegistryName
SearchSchemasRequest & WithRegistryName(Aws::String &&value)
Definition: SearchSchemasRequest.h:193
Aws::Schemas::Model::SearchSchemasRequest::WithLimit
SearchSchemasRequest & WithLimit(int value)
Definition: SearchSchemasRequest.h:100
Aws::Schemas::Model::SearchSchemasRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Schemas::Model::SearchSchemasRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchSchemasRequest.h:136
Aws::Schemas::Model::SearchSchemasRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchSchemasRequest.h:115
Aws::Schemas::Model::SearchSchemasRequest::GetKeywords
const Aws::String & GetKeywords() const
Definition: SearchSchemasRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::SearchSchemasRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: SearchSchemasRequest.h:163
Aws::Schemas::Model::SearchSchemasRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchSchemasRequest.h:108
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::SearchSchemasRequest::SetKeywords
void SetKeywords(Aws::String &&value)
Definition: SearchSchemasRequest.h:63
Aws::Schemas::Model::SearchSchemasRequest::WithNextToken
SearchSchemasRequest & WithNextToken(const char *value)
Definition: SearchSchemasRequest.h:157
Aws::Schemas::Model::SearchSchemasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchSchemasRequest.h:34
Aws::Schemas::Model::SearchSchemasRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: SearchSchemasRequest.h:183
Aws::Schemas::Model::SearchSchemasRequest::SetKeywords
void SetKeywords(const Aws::String &value)
Definition: SearchSchemasRequest.h:57
Aws::Schemas::Model::SearchSchemasRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: SearchSchemasRequest.h:178
Aws::Schemas::Model::SearchSchemasRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: SearchSchemasRequest.h:168
Aws::Schemas::Model::SearchSchemasRequest::WithKeywords
SearchSchemasRequest & WithKeywords(const char *value)
Definition: SearchSchemasRequest.h:87
Aws::Schemas::Model::SearchSchemasRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchSchemasRequest.h:129
Aws::Schemas::Model::SearchSchemasRequest::WithKeywords
SearchSchemasRequest & WithKeywords(Aws::String &&value)
Definition: SearchSchemasRequest.h:81