AWS SDK for C++  1.8.127
AWS SDK for C++
ListDiscoverersRequest.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 "ListDiscoverers"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetDiscovererIdPrefix() const{ return m_discovererIdPrefix; }
46 
51  inline bool DiscovererIdPrefixHasBeenSet() const { return m_discovererIdPrefixHasBeenSet; }
52 
57  inline void SetDiscovererIdPrefix(const Aws::String& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = value; }
58 
63  inline void SetDiscovererIdPrefix(Aws::String&& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = std::move(value); }
64 
69  inline void SetDiscovererIdPrefix(const char* value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix.assign(value); }
70 
75  inline ListDiscoverersRequest& WithDiscovererIdPrefix(const Aws::String& value) { SetDiscovererIdPrefix(value); return *this;}
76 
81  inline ListDiscoverersRequest& WithDiscovererIdPrefix(Aws::String&& value) { SetDiscovererIdPrefix(std::move(value)); return *this;}
82 
87  inline ListDiscoverersRequest& WithDiscovererIdPrefix(const char* value) { SetDiscovererIdPrefix(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 ListDiscoverersRequest& 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 ListDiscoverersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
150  inline ListDiscoverersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 
157  inline ListDiscoverersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
158 
159 
164  inline const Aws::String& GetSourceArnPrefix() const{ return m_sourceArnPrefix; }
165 
170  inline bool SourceArnPrefixHasBeenSet() const { return m_sourceArnPrefixHasBeenSet; }
171 
176  inline void SetSourceArnPrefix(const Aws::String& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = value; }
177 
182  inline void SetSourceArnPrefix(Aws::String&& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = std::move(value); }
183 
188  inline void SetSourceArnPrefix(const char* value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix.assign(value); }
189 
194  inline ListDiscoverersRequest& WithSourceArnPrefix(const Aws::String& value) { SetSourceArnPrefix(value); return *this;}
195 
200  inline ListDiscoverersRequest& WithSourceArnPrefix(Aws::String&& value) { SetSourceArnPrefix(std::move(value)); return *this;}
201 
206  inline ListDiscoverersRequest& WithSourceArnPrefix(const char* value) { SetSourceArnPrefix(value); return *this;}
207 
208  private:
209 
210  Aws::String m_discovererIdPrefix;
211  bool m_discovererIdPrefixHasBeenSet;
212 
213  int m_limit;
214  bool m_limitHasBeenSet;
215 
216  Aws::String m_nextToken;
217  bool m_nextTokenHasBeenSet;
218 
219  Aws::String m_sourceArnPrefix;
220  bool m_sourceArnPrefixHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Schemas
225 } // namespace Aws
Aws::Schemas::Model::ListDiscoverersRequest::SetLimit
void SetLimit(int value)
Definition: ListDiscoverersRequest.h:97
Aws::Schemas::Model::ListDiscoverersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDiscoverersRequest.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::ListDiscoverersRequest::WithSourceArnPrefix
ListDiscoverersRequest & WithSourceArnPrefix(Aws::String &&value)
Definition: ListDiscoverersRequest.h:200
Aws::Schemas::Model::ListDiscoverersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDiscoverersRequest.h:122
Aws::Schemas::Model::ListDiscoverersRequest::GetDiscovererIdPrefix
const Aws::String & GetDiscovererIdPrefix() const
Definition: ListDiscoverersRequest.h:45
Aws::Schemas::Model::ListDiscoverersRequest::GetLimit
int GetLimit() const
Definition: ListDiscoverersRequest.h:91
Aws::Schemas::Model::ListDiscoverersRequest::SetDiscovererIdPrefix
void SetDiscovererIdPrefix(const Aws::String &value)
Definition: ListDiscoverersRequest.h:57
Aws::Schemas::Model::ListDiscoverersRequest::SetSourceArnPrefix
void SetSourceArnPrefix(const Aws::String &value)
Definition: ListDiscoverersRequest.h:176
Aws::Schemas::Model::ListDiscoverersRequest::WithSourceArnPrefix
ListDiscoverersRequest & WithSourceArnPrefix(const char *value)
Definition: ListDiscoverersRequest.h:206
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::ListDiscoverersRequest::WithDiscovererIdPrefix
ListDiscoverersRequest & WithDiscovererIdPrefix(Aws::String &&value)
Definition: ListDiscoverersRequest.h:81
SchemasRequest.h
Aws::Schemas::Model::ListDiscoverersRequest::WithDiscovererIdPrefix
ListDiscoverersRequest & WithDiscovererIdPrefix(const char *value)
Definition: ListDiscoverersRequest.h:87
Aws::Schemas::Model::ListDiscoverersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDiscoverersRequest.h:115
Aws::Schemas::Model::ListDiscoverersRequest::WithNextToken
ListDiscoverersRequest & WithNextToken(const char *value)
Definition: ListDiscoverersRequest.h:157
Aws::Schemas::Model::ListDiscoverersRequest::WithNextToken
ListDiscoverersRequest & WithNextToken(const Aws::String &value)
Definition: ListDiscoverersRequest.h:143
Aws::Schemas::Model::ListDiscoverersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDiscoverersRequest.h:129
Aws::Schemas::Model::ListDiscoverersRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListDiscoverersRequest.h:94
Schemas_EXPORTS.h
Aws::Schemas::Model::ListDiscoverersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDiscoverersRequest.h:108
Aws::Schemas::Model::ListDiscoverersRequest::SetDiscovererIdPrefix
void SetDiscovererIdPrefix(const char *value)
Definition: ListDiscoverersRequest.h:69
Aws::Schemas::Model::ListDiscoverersRequest
Definition: ListDiscoverersRequest.h:26
Aws::Schemas::Model::ListDiscoverersRequest::WithSourceArnPrefix
ListDiscoverersRequest & WithSourceArnPrefix(const Aws::String &value)
Definition: ListDiscoverersRequest.h:194
Aws::Schemas::Model::ListDiscoverersRequest::SetDiscovererIdPrefix
void SetDiscovererIdPrefix(Aws::String &&value)
Definition: ListDiscoverersRequest.h:63
AWSString.h
Aws::Schemas::Model::ListDiscoverersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::ListDiscoverersRequest::SetSourceArnPrefix
void SetSourceArnPrefix(Aws::String &&value)
Definition: ListDiscoverersRequest.h:182
Aws::Schemas::Model::ListDiscoverersRequest::SetSourceArnPrefix
void SetSourceArnPrefix(const char *value)
Definition: ListDiscoverersRequest.h:188
Aws::Schemas::Model::ListDiscoverersRequest::WithDiscovererIdPrefix
ListDiscoverersRequest & WithDiscovererIdPrefix(const Aws::String &value)
Definition: ListDiscoverersRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::ListDiscoverersRequest::DiscovererIdPrefixHasBeenSet
bool DiscovererIdPrefixHasBeenSet() const
Definition: ListDiscoverersRequest.h:51
Aws::Schemas::Model::ListDiscoverersRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::ListDiscoverersRequest::WithLimit
ListDiscoverersRequest & WithLimit(int value)
Definition: ListDiscoverersRequest.h:100
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::ListDiscoverersRequest::SourceArnPrefixHasBeenSet
bool SourceArnPrefixHasBeenSet() const
Definition: ListDiscoverersRequest.h:170
Aws::Schemas::Model::ListDiscoverersRequest::GetSourceArnPrefix
const Aws::String & GetSourceArnPrefix() const
Definition: ListDiscoverersRequest.h:164
Aws::Schemas::Model::ListDiscoverersRequest::ListDiscoverersRequest
ListDiscoverersRequest()
Aws::Schemas::Model::ListDiscoverersRequest::WithNextToken
ListDiscoverersRequest & WithNextToken(Aws::String &&value)
Definition: ListDiscoverersRequest.h:150
Aws::Schemas::Model::ListDiscoverersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDiscoverersRequest.h:136