AWS SDK for C++  0.12.9
AWS SDK for C++
DeleteFunctionRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace Lambda
27 {
28 namespace Model
29 {
30 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
53  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
54 
67  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
68 
81  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
82 
95  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
96 
109  inline DeleteFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
110 
123  inline DeleteFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
124 
137  inline DeleteFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
138 
152  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
153 
167  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
168 
182  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
183 
197  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
198 
212  inline DeleteFunctionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
213 
227  inline DeleteFunctionRequest& WithQualifier(Aws::String&& value) { SetQualifier(value); return *this;}
228 
242  inline DeleteFunctionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
243 
244  private:
245  Aws::String m_functionName;
246  bool m_functionNameHasBeenSet;
247  Aws::String m_qualifier;
248  bool m_qualifierHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace Lambda
253 } // namespace Aws
DeleteFunctionRequest & WithFunctionName(const char *value)
DeleteFunctionRequest & WithQualifier(Aws::String &&value)
DeleteFunctionRequest & WithFunctionName(const Aws::String &value)
void SetFunctionName(const Aws::String &value)
#define AWS_LAMBDA_API
void SetQualifier(const Aws::String &value)
DeleteFunctionRequest & WithFunctionName(Aws::String &&value)
const Aws::String & GetFunctionName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteFunctionRequest & WithQualifier(const Aws::String &value)
DeleteFunctionRequest & WithQualifier(const char *value)
JSON (JavaScript Object Notation).