AWS SDK for C++  1.8.71
AWS SDK for C++
GetProvisionedConcurrencyConfigRequest.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 "GetProvisionedConcurrencyConfig"; }
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 GetProvisionedConcurrencyConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
112 
123  inline GetProvisionedConcurrencyConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
124 
135  inline GetProvisionedConcurrencyConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
136 
137 
141  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
142 
146  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
147 
151  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
152 
156  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
157 
161  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
162 
166  inline GetProvisionedConcurrencyConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
167 
171  inline GetProvisionedConcurrencyConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
172 
176  inline GetProvisionedConcurrencyConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
177 
178  private:
179 
180  Aws::String m_functionName;
181  bool m_functionNameHasBeenSet;
182 
183  Aws::String m_qualifier;
184  bool m_qualifierHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace Lambda
189 } // namespace Aws
GetProvisionedConcurrencyConfigRequest & WithQualifier(Aws::String &&value)
GetProvisionedConcurrencyConfigRequest & WithFunctionName(const Aws::String &value)
GetProvisionedConcurrencyConfigRequest & WithFunctionName(Aws::String &&value)
#define AWS_LAMBDA_API
GetProvisionedConcurrencyConfigRequest & WithQualifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetProvisionedConcurrencyConfigRequest & WithFunctionName(const char *value)
GetProvisionedConcurrencyConfigRequest & WithQualifier(const char *value)