AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProvisionedConcurrencyConfigRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Lambda
19{
20namespace 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 "PutProvisionedConcurrencyConfig"; }
35
36 AWS_LAMBDA_API Aws::String SerializePayload() const override;
37
38 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
52 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
53 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
54 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
55 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
56 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
58 inline PutProvisionedConcurrencyConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
59 inline PutProvisionedConcurrencyConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
61
63
66 inline const Aws::String& GetQualifier() const{ return m_qualifier; }
67 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
68 inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
69 inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
70 inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
72 inline PutProvisionedConcurrencyConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
73 inline PutProvisionedConcurrencyConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
75
77
81 inline int GetProvisionedConcurrentExecutions() const{ return m_provisionedConcurrentExecutions; }
82 inline bool ProvisionedConcurrentExecutionsHasBeenSet() const { return m_provisionedConcurrentExecutionsHasBeenSet; }
83 inline void SetProvisionedConcurrentExecutions(int value) { m_provisionedConcurrentExecutionsHasBeenSet = true; m_provisionedConcurrentExecutions = value; }
86 private:
87
88 Aws::String m_functionName;
89 bool m_functionNameHasBeenSet = false;
90
91 Aws::String m_qualifier;
92 bool m_qualifierHasBeenSet = false;
93
94 int m_provisionedConcurrentExecutions;
95 bool m_provisionedConcurrentExecutionsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Lambda
100} // namespace Aws
AWS_LAMBDA_API Aws::String SerializePayload() const override
PutProvisionedConcurrencyConfigRequest & WithFunctionName(const Aws::String &value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutProvisionedConcurrencyConfigRequest & WithQualifier(const Aws::String &value)
PutProvisionedConcurrencyConfigRequest & WithQualifier(Aws::String &&value)
PutProvisionedConcurrencyConfigRequest & WithProvisionedConcurrentExecutions(int value)
PutProvisionedConcurrencyConfigRequest & WithFunctionName(const char *value)
PutProvisionedConcurrencyConfigRequest & WithQualifier(const char *value)
PutProvisionedConcurrencyConfigRequest & WithFunctionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String