AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateFunctionEventInvokeConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Lambda
20 {
21 namespace 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 "UpdateFunctionEventInvokeConfig"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
54  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
55 
68  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
69 
82  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
83 
96  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
97 
110  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
111 
124  inline UpdateFunctionEventInvokeConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
125 
138  inline UpdateFunctionEventInvokeConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
139 
152  inline UpdateFunctionEventInvokeConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
153 
154 
158  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
159 
163  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
164 
168  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
169 
173  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
174 
178  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
179 
183  inline UpdateFunctionEventInvokeConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
184 
188  inline UpdateFunctionEventInvokeConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
189 
193  inline UpdateFunctionEventInvokeConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
194 
195 
199  inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
200 
204  inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
205 
209  inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
210 
214  inline UpdateFunctionEventInvokeConfigRequest& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
215 
216 
221  inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; }
222 
227  inline bool MaximumEventAgeInSecondsHasBeenSet() const { return m_maximumEventAgeInSecondsHasBeenSet; }
228 
233  inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; }
234 
239  inline UpdateFunctionEventInvokeConfigRequest& WithMaximumEventAgeInSeconds(int value) { SetMaximumEventAgeInSeconds(value); return *this;}
240 
241 
250  inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
251 
260  inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
261 
270  inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
271 
280  inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
281 
290  inline UpdateFunctionEventInvokeConfigRequest& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;}
291 
300  inline UpdateFunctionEventInvokeConfigRequest& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;}
301 
302  private:
303 
304  Aws::String m_functionName;
305  bool m_functionNameHasBeenSet;
306 
307  Aws::String m_qualifier;
308  bool m_qualifierHasBeenSet;
309 
310  int m_maximumRetryAttempts;
311  bool m_maximumRetryAttemptsHasBeenSet;
312 
313  int m_maximumEventAgeInSeconds;
314  bool m_maximumEventAgeInSecondsHasBeenSet;
315 
316  DestinationConfig m_destinationConfig;
317  bool m_destinationConfigHasBeenSet;
318  };
319 
320 } // namespace Model
321 } // namespace Lambda
322 } // namespace Aws
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithQualifier
UpdateFunctionEventInvokeConfigRequest & WithQualifier(const Aws::String &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:183
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:110
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithFunctionName
UpdateFunctionEventInvokeConfigRequest & WithFunctionName(const Aws::String &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:124
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetMaximumEventAgeInSeconds
void SetMaximumEventAgeInSeconds(int value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:233
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithMaximumRetryAttempts
UpdateFunctionEventInvokeConfigRequest & WithMaximumRetryAttempts(int value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:214
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithQualifier
UpdateFunctionEventInvokeConfigRequest & WithQualifier(Aws::String &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:188
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::UpdateFunctionEventInvokeConfigRequest
UpdateFunctionEventInvokeConfigRequest()
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetDestinationConfig
void SetDestinationConfig(const DestinationConfig &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:270
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetDestinationConfig
void SetDestinationConfig(DestinationConfig &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:280
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithFunctionName
UpdateFunctionEventInvokeConfigRequest & WithFunctionName(const char *value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:152
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::DestinationConfigHasBeenSet
bool DestinationConfigHasBeenSet() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:260
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithFunctionName
UpdateFunctionEventInvokeConfigRequest & WithFunctionName(Aws::String &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:138
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetQualifier
const Aws::String & GetQualifier() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:158
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::MaximumEventAgeInSecondsHasBeenSet
bool MaximumEventAgeInSecondsHasBeenSet() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:227
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFunctionEventInvokeConfigRequest.h:35
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithMaximumEventAgeInSeconds
UpdateFunctionEventInvokeConfigRequest & WithMaximumEventAgeInSeconds(int value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:239
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetDestinationConfig
const DestinationConfig & GetDestinationConfig() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:250
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(Aws::String &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:173
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(const char *value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:178
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
LambdaRequest.h
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetMaximumEventAgeInSeconds
int GetMaximumEventAgeInSeconds() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:221
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:54
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:82
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithDestinationConfig
UpdateFunctionEventInvokeConfigRequest & WithDestinationConfig(const DestinationConfig &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:290
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest
Definition: UpdateFunctionEventInvokeConfigRequest.h:27
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(const Aws::String &value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:168
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithQualifier
UpdateFunctionEventInvokeConfigRequest & WithQualifier(const char *value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:193
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::MaximumRetryAttemptsHasBeenSet
bool MaximumRetryAttemptsHasBeenSet() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:204
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::QualifierHasBeenSet
bool QualifierHasBeenSet() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:163
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:209
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::WithDestinationConfig
UpdateFunctionEventInvokeConfigRequest & WithDestinationConfig(DestinationConfig &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:300
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: UpdateFunctionEventInvokeConfigRequest.h:199
Aws::Lambda::Model::UpdateFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: UpdateFunctionEventInvokeConfigRequest.h:96
Lambda_EXPORTS.h
DestinationConfig.h