AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SearchSchemasRequest.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 SearchSchemasRequest() = 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 "SearchSchemas"; }
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
41 inline const Aws::String& GetKeywords() const { return m_keywords; }
42 inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
43 template <typename KeywordsT = Aws::String>
44 void SetKeywords(KeywordsT&& value) {
45 m_keywordsHasBeenSet = true;
46 m_keywords = std::forward<KeywordsT>(value);
47 }
48 template <typename KeywordsT = Aws::String>
49 SearchSchemasRequest& WithKeywords(KeywordsT&& value) {
50 SetKeywords(std::forward<KeywordsT>(value));
51 return *this;
52 }
54
56
57 inline int GetLimit() const { return m_limit; }
58 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
59 inline void SetLimit(int value) {
60 m_limitHasBeenSet = true;
61 m_limit = value;
62 }
63 inline SearchSchemasRequest& WithLimit(int value) {
64 SetLimit(value);
65 return *this;
66 }
68
70
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
83 SearchSchemasRequest& WithNextToken(NextTokenT&& value) {
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRegistryName() const { return m_registryName; }
94 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
95 template <typename RegistryNameT = Aws::String>
96 void SetRegistryName(RegistryNameT&& value) {
97 m_registryNameHasBeenSet = true;
98 m_registryName = std::forward<RegistryNameT>(value);
99 }
100 template <typename RegistryNameT = Aws::String>
101 SearchSchemasRequest& WithRegistryName(RegistryNameT&& value) {
102 SetRegistryName(std::forward<RegistryNameT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_keywords;
108
109 int m_limit{0};
110
111 Aws::String m_nextToken;
112
113 Aws::String m_registryName;
114 bool m_keywordsHasBeenSet = false;
115 bool m_limitHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_registryNameHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Schemas
122} // namespace Aws
SearchSchemasRequest & WithRegistryName(RegistryNameT &&value)
SearchSchemasRequest & WithLimit(int value)
SearchSchemasRequest & WithNextToken(NextTokenT &&value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SCHEMAS_API Aws::String SerializePayload() const override
AWS_SCHEMAS_API SearchSchemasRequest()=default
virtual const char * GetServiceRequestName() const override
SearchSchemasRequest & WithKeywords(KeywordsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String