AWS SDK for C++  0.14.3
AWS SDK for C++
GetFunctionRequest.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 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
52  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
53 
64  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
65 
76  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
77 
88  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
89 
100  inline GetFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
101 
112  inline GetFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
113 
124  inline GetFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
125 
135  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
136 
146  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
147 
157  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
158 
168  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
169 
179  inline GetFunctionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
180 
190  inline GetFunctionRequest& WithQualifier(Aws::String&& value) { SetQualifier(value); return *this;}
191 
201  inline GetFunctionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
202 
203  private:
204  Aws::String m_functionName;
205  bool m_functionNameHasBeenSet;
206  Aws::String m_qualifier;
207  bool m_qualifierHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace Lambda
212 } // namespace Aws
const Aws::String & GetFunctionName() const
GetFunctionRequest & WithFunctionName(Aws::String &&value)
const Aws::String & GetQualifier() const
GetFunctionRequest & WithQualifier(const char *value)
void SetQualifier(const Aws::String &value)
GetFunctionRequest & WithQualifier(const Aws::String &value)
#define AWS_LAMBDA_API
GetFunctionRequest & WithFunctionName(const Aws::String &value)
void SetFunctionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetFunctionRequest & WithFunctionName(const char *value)
void SetFunctionName(Aws::String &&value)
GetFunctionRequest & WithQualifier(Aws::String &&value)
JSON (JavaScript Object Notation).