AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFunctionRecursionConfigRequest.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 <aws/lambda/model/RecursiveLoop.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Lambda
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutFunctionRecursionConfig"; }
32
33 AWS_LAMBDA_API Aws::String SerializePayload() const override;
34
35
37
47 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
48 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
49 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
50 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
51 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
53 inline PutFunctionRecursionConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
54 inline PutFunctionRecursionConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
56
58
77 inline const RecursiveLoop& GetRecursiveLoop() const{ return m_recursiveLoop; }
78 inline bool RecursiveLoopHasBeenSet() const { return m_recursiveLoopHasBeenSet; }
79 inline void SetRecursiveLoop(const RecursiveLoop& value) { m_recursiveLoopHasBeenSet = true; m_recursiveLoop = value; }
80 inline void SetRecursiveLoop(RecursiveLoop&& value) { m_recursiveLoopHasBeenSet = true; m_recursiveLoop = std::move(value); }
82 inline PutFunctionRecursionConfigRequest& WithRecursiveLoop(RecursiveLoop&& value) { SetRecursiveLoop(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_functionName;
87 bool m_functionNameHasBeenSet = false;
88
89 RecursiveLoop m_recursiveLoop;
90 bool m_recursiveLoopHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Lambda
95} // namespace Aws
PutFunctionRecursionConfigRequest & WithFunctionName(const Aws::String &value)
PutFunctionRecursionConfigRequest & WithRecursiveLoop(RecursiveLoop &&value)
PutFunctionRecursionConfigRequest & WithFunctionName(const char *value)
PutFunctionRecursionConfigRequest & WithRecursiveLoop(const RecursiveLoop &value)
PutFunctionRecursionConfigRequest & WithFunctionName(Aws::String &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String