AWS SDK for C++  1.8.71
AWS SDK for C++
GetFunctionConfigurationRequest.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 "GetFunctionConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
53  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
54 
67  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
68 
81  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
82 
95  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
96 
109  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
110 
123  inline GetFunctionConfigurationRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
124 
137  inline GetFunctionConfigurationRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
138 
151  inline GetFunctionConfigurationRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
152 
153 
158  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
159 
164  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
165 
170  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
171 
176  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
177 
182  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
183 
188  inline GetFunctionConfigurationRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
189 
194  inline GetFunctionConfigurationRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
195 
200  inline GetFunctionConfigurationRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
201 
202  private:
203 
204  Aws::String m_functionName;
205  bool m_functionNameHasBeenSet;
206 
207  Aws::String m_qualifier;
208  bool m_qualifierHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace Lambda
213 } // namespace Aws
GetFunctionConfigurationRequest & WithFunctionName(Aws::String &&value)
GetFunctionConfigurationRequest & WithQualifier(const Aws::String &value)
GetFunctionConfigurationRequest & WithQualifier(Aws::String &&value)
GetFunctionConfigurationRequest & WithFunctionName(const char *value)
#define AWS_LAMBDA_API
GetFunctionConfigurationRequest & WithFunctionName(const Aws::String &value)
GetFunctionConfigurationRequest & WithQualifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97