AWS SDK for C++  1.9.20
AWS SDK for C++
PutFunctionEventInvokeConfigRequest.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 "PutFunctionEventInvokeConfig"; }
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 PutFunctionEventInvokeConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
125 
138  inline PutFunctionEventInvokeConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
139 
152  inline PutFunctionEventInvokeConfigRequest& 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 PutFunctionEventInvokeConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
184 
188  inline PutFunctionEventInvokeConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
189 
193  inline PutFunctionEventInvokeConfigRequest& 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 PutFunctionEventInvokeConfigRequest& 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 PutFunctionEventInvokeConfigRequest& 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 PutFunctionEventInvokeConfigRequest& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;}
291 
300  inline PutFunctionEventInvokeConfigRequest& 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::PutFunctionEventInvokeConfigRequest::WithFunctionName
PutFunctionEventInvokeConfigRequest & WithFunctionName(const Aws::String &value)
Definition: PutFunctionEventInvokeConfigRequest.h:124
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetQualifier
const Aws::String & GetQualifier() const
Definition: PutFunctionEventInvokeConfigRequest.h:158
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest
Definition: PutFunctionEventInvokeConfigRequest.h:27
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::MaximumRetryAttemptsHasBeenSet
bool MaximumRetryAttemptsHasBeenSet() const
Definition: PutFunctionEventInvokeConfigRequest.h:204
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithDestinationConfig
PutFunctionEventInvokeConfigRequest & WithDestinationConfig(const DestinationConfig &value)
Definition: PutFunctionEventInvokeConfigRequest.h:290
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::DestinationConfigHasBeenSet
bool DestinationConfigHasBeenSet() const
Definition: PutFunctionEventInvokeConfigRequest.h:260
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithDestinationConfig
PutFunctionEventInvokeConfigRequest & WithDestinationConfig(DestinationConfig &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:300
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetMaximumEventAgeInSeconds
int GetMaximumEventAgeInSeconds() const
Definition: PutFunctionEventInvokeConfigRequest.h:221
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:96
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithQualifier
PutFunctionEventInvokeConfigRequest & WithQualifier(Aws::String &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:188
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::PutFunctionEventInvokeConfigRequest
PutFunctionEventInvokeConfigRequest()
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: PutFunctionEventInvokeConfigRequest.h:110
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetDestinationConfig
void SetDestinationConfig(const DestinationConfig &value)
Definition: PutFunctionEventInvokeConfigRequest.h:270
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetMaximumEventAgeInSeconds
void SetMaximumEventAgeInSeconds(int value)
Definition: PutFunctionEventInvokeConfigRequest.h:233
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithFunctionName
PutFunctionEventInvokeConfigRequest & WithFunctionName(const char *value)
Definition: PutFunctionEventInvokeConfigRequest.h:152
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: PutFunctionEventInvokeConfigRequest.h:54
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: PutFunctionEventInvokeConfigRequest.h:199
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithQualifier
PutFunctionEventInvokeConfigRequest & WithQualifier(const Aws::String &value)
Definition: PutFunctionEventInvokeConfigRequest.h:183
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithMaximumRetryAttempts
PutFunctionEventInvokeConfigRequest & WithMaximumRetryAttempts(int value)
Definition: PutFunctionEventInvokeConfigRequest.h:214
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithQualifier
PutFunctionEventInvokeConfigRequest & WithQualifier(const char *value)
Definition: PutFunctionEventInvokeConfigRequest.h:193
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(const Aws::String &value)
Definition: PutFunctionEventInvokeConfigRequest.h:168
AWSString.h
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: PutFunctionEventInvokeConfigRequest.h:82
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithMaximumEventAgeInSeconds
PutFunctionEventInvokeConfigRequest & WithMaximumEventAgeInSeconds(int value)
Definition: PutFunctionEventInvokeConfigRequest.h:239
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: PutFunctionEventInvokeConfigRequest.h:68
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::QualifierHasBeenSet
bool QualifierHasBeenSet() const
Definition: PutFunctionEventInvokeConfigRequest.h:163
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(Aws::String &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:173
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetDestinationConfig
const DestinationConfig & GetDestinationConfig() const
Definition: PutFunctionEventInvokeConfigRequest.h:250
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: PutFunctionEventInvokeConfigRequest.h:209
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetDestinationConfig
void SetDestinationConfig(DestinationConfig &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:280
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::SetQualifier
void SetQualifier(const char *value)
Definition: PutFunctionEventInvokeConfigRequest.h:178
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::MaximumEventAgeInSecondsHasBeenSet
bool MaximumEventAgeInSecondsHasBeenSet() const
Definition: PutFunctionEventInvokeConfigRequest.h:227
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::WithFunctionName
PutFunctionEventInvokeConfigRequest & WithFunctionName(Aws::String &&value)
Definition: PutFunctionEventInvokeConfigRequest.h:138
Lambda_EXPORTS.h
Aws::Lambda::Model::PutFunctionEventInvokeConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutFunctionEventInvokeConfigRequest.h:35
DestinationConfig.h