AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFunctionEventInvokeConfigRequest.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/DestinationConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Lambda
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "PutFunctionEventInvokeConfig"; }
36
37 AWS_LAMBDA_API Aws::String SerializePayload() const override;
38
39 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
55 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
56 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
57 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
58 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
59 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
61 inline PutFunctionEventInvokeConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
62 inline PutFunctionEventInvokeConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
64
66
69 inline const Aws::String& GetQualifier() const{ return m_qualifier; }
70 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
71 inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
72 inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
73 inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
74 inline PutFunctionEventInvokeConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
75 inline PutFunctionEventInvokeConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
76 inline PutFunctionEventInvokeConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
78
80
83 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
84 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
85 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
88
90
94 inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; }
95 inline bool MaximumEventAgeInSecondsHasBeenSet() const { return m_maximumEventAgeInSecondsHasBeenSet; }
96 inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; }
99
101
109 inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
110 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
111 inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
112 inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
116 private:
117
118 Aws::String m_functionName;
119 bool m_functionNameHasBeenSet = false;
120
121 Aws::String m_qualifier;
122 bool m_qualifierHasBeenSet = false;
123
124 int m_maximumRetryAttempts;
125 bool m_maximumRetryAttemptsHasBeenSet = false;
126
127 int m_maximumEventAgeInSeconds;
128 bool m_maximumEventAgeInSecondsHasBeenSet = false;
129
130 DestinationConfig m_destinationConfig;
131 bool m_destinationConfigHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Lambda
136} // namespace Aws
PutFunctionEventInvokeConfigRequest & WithQualifier(Aws::String &&value)
PutFunctionEventInvokeConfigRequest & WithMaximumEventAgeInSeconds(int value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutFunctionEventInvokeConfigRequest & WithQualifier(const Aws::String &value)
PutFunctionEventInvokeConfigRequest & WithFunctionName(const Aws::String &value)
PutFunctionEventInvokeConfigRequest & WithDestinationConfig(DestinationConfig &&value)
PutFunctionEventInvokeConfigRequest & WithDestinationConfig(const DestinationConfig &value)
PutFunctionEventInvokeConfigRequest & WithQualifier(const char *value)
PutFunctionEventInvokeConfigRequest & WithMaximumRetryAttempts(int value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
PutFunctionEventInvokeConfigRequest & WithFunctionName(Aws::String &&value)
PutFunctionEventInvokeConfigRequest & WithFunctionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String