AWS SDK for C++  1.9.129
AWS SDK for C++
ListAliasesRequest.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 Lambda
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 "ListAliases"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
51  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
52 
63  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
64 
75  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
76 
87  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
88 
99  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
100 
111  inline ListAliasesRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
112 
123  inline ListAliasesRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
124 
135  inline ListAliasesRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
136 
137 
141  inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
142 
146  inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
147 
151  inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
152 
156  inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
157 
161  inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
162 
166  inline ListAliasesRequest& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
167 
171  inline ListAliasesRequest& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
172 
176  inline ListAliasesRequest& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
177 
178 
183  inline const Aws::String& GetMarker() const{ return m_marker; }
184 
189  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
190 
195  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
196 
201  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
202 
207  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
208 
213  inline ListAliasesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
214 
219  inline ListAliasesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
220 
225  inline ListAliasesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
226 
227 
231  inline int GetMaxItems() const{ return m_maxItems; }
232 
236  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
237 
241  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
242 
246  inline ListAliasesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
247 
248  private:
249 
250  Aws::String m_functionName;
251  bool m_functionNameHasBeenSet;
252 
253  Aws::String m_functionVersion;
254  bool m_functionVersionHasBeenSet;
255 
256  Aws::String m_marker;
257  bool m_markerHasBeenSet;
258 
259  int m_maxItems;
260  bool m_maxItemsHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace Lambda
265 } // namespace Aws
Aws::Lambda::Model::ListAliasesRequest::WithFunctionVersion
ListAliasesRequest & WithFunctionVersion(const char *value)
Definition: ListAliasesRequest.h:176
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListAliasesRequest::SetFunctionVersion
void SetFunctionVersion(Aws::String &&value)
Definition: ListAliasesRequest.h:156
Aws::Lambda::Model::ListAliasesRequest::SetFunctionVersion
void SetFunctionVersion(const char *value)
Definition: ListAliasesRequest.h:161
Aws::Lambda::Model::ListAliasesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListAliasesRequest.h:183
Aws::Lambda::Model::ListAliasesRequest::WithMarker
ListAliasesRequest & WithMarker(const char *value)
Definition: ListAliasesRequest.h:225
Aws::Lambda::Model::ListAliasesRequest::WithFunctionName
ListAliasesRequest & WithFunctionName(Aws::String &&value)
Definition: ListAliasesRequest.h:123
Aws::Lambda::Model::ListAliasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAliasesRequest.h:34
Aws::Lambda::Model::ListAliasesRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: ListAliasesRequest.h:87
Aws::Lambda::Model::ListAliasesRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: ListAliasesRequest.h:51
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListAliasesRequest::GetFunctionVersion
const Aws::String & GetFunctionVersion() const
Definition: ListAliasesRequest.h:141
Aws::Lambda::Model::ListAliasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListAliasesRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: ListAliasesRequest.h:75
Aws::Lambda::Model::ListAliasesRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: ListAliasesRequest.h:63
Aws::Lambda::Model::ListAliasesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListAliasesRequest.h:189
Aws::Lambda::Model::ListAliasesRequest::WithFunctionName
ListAliasesRequest & WithFunctionName(const char *value)
Definition: ListAliasesRequest.h:135
AWSString.h
Aws::Lambda::Model::ListAliasesRequest::WithMaxItems
ListAliasesRequest & WithMaxItems(int value)
Definition: ListAliasesRequest.h:246
Aws::Lambda::Model::ListAliasesRequest::WithFunctionVersion
ListAliasesRequest & WithFunctionVersion(const Aws::String &value)
Definition: ListAliasesRequest.h:166
Aws::Lambda::Model::ListAliasesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListAliasesRequest.h:195
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListAliasesRequest::ListAliasesRequest
ListAliasesRequest()
Aws::Lambda::Model::ListAliasesRequest::WithMarker
ListAliasesRequest & WithMarker(Aws::String &&value)
Definition: ListAliasesRequest.h:219
Aws::Lambda::Model::ListAliasesRequest::GetMaxItems
int GetMaxItems() const
Definition: ListAliasesRequest.h:231
Aws::Lambda::Model::ListAliasesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListAliasesRequest.h:201
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws::Lambda::Model::ListAliasesRequest::WithFunctionName
ListAliasesRequest & WithFunctionName(const Aws::String &value)
Definition: ListAliasesRequest.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListAliasesRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListAliasesRequest.h:236
Aws::Lambda::Model::ListAliasesRequest::WithFunctionVersion
ListAliasesRequest & WithFunctionVersion(Aws::String &&value)
Definition: ListAliasesRequest.h:171
Aws::Lambda::Model::ListAliasesRequest
Definition: ListAliasesRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListAliasesRequest::FunctionVersionHasBeenSet
bool FunctionVersionHasBeenSet() const
Definition: ListAliasesRequest.h:146
Aws::Lambda::Model::ListAliasesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListAliasesRequest.h:207
Aws::Lambda::Model::ListAliasesRequest::WithMarker
ListAliasesRequest & WithMarker(const Aws::String &value)
Definition: ListAliasesRequest.h:213
Aws::Lambda::Model::ListAliasesRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: ListAliasesRequest.h:99
Aws::Lambda::Model::ListAliasesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Lambda_EXPORTS.h
Aws::Lambda::Model::ListAliasesRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListAliasesRequest.h:241
Aws::Lambda::Model::ListAliasesRequest::SetFunctionVersion
void SetFunctionVersion(const Aws::String &value)
Definition: ListAliasesRequest.h:151