AWS SDK for C++  1.8.71
AWS SDK for C++
GetFunctionEventInvokeConfigRequest.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 "GetFunctionEventInvokeConfig"; }
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 GetFunctionEventInvokeConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
124 
137  inline GetFunctionEventInvokeConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
138 
151  inline GetFunctionEventInvokeConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
152 
153 
157  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
158 
162  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
163 
167  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
168 
172  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
173 
177  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
178 
182  inline GetFunctionEventInvokeConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
183 
187  inline GetFunctionEventInvokeConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
188 
192  inline GetFunctionEventInvokeConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
193 
194  private:
195 
196  Aws::String m_functionName;
197  bool m_functionNameHasBeenSet;
198 
199  Aws::String m_qualifier;
200  bool m_qualifierHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace Lambda
205 } // namespace Aws
GetFunctionEventInvokeConfigRequest & WithFunctionName(const char *value)
GetFunctionEventInvokeConfigRequest & WithQualifier(const Aws::String &value)
#define AWS_LAMBDA_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetFunctionEventInvokeConfigRequest & WithFunctionName(Aws::String &&value)
GetFunctionEventInvokeConfigRequest & WithFunctionName(const Aws::String &value)
GetFunctionEventInvokeConfigRequest & WithQualifier(Aws::String &&value)
GetFunctionEventInvokeConfigRequest & WithQualifier(const char *value)