AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetFunctionEventInvokeConfigResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/DestinationConfig.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Lambda
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LAMBDA_API GetFunctionEventInvokeConfigResult() = default;
35
36
38
41 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
42 template<typename LastModifiedT = Aws::Utils::DateTime>
43 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
44 template<typename LastModifiedT = Aws::Utils::DateTime>
45 GetFunctionEventInvokeConfigResult& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
47
49
52 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
53 template<typename FunctionArnT = Aws::String>
54 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
55 template<typename FunctionArnT = Aws::String>
56 GetFunctionEventInvokeConfigResult& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
58
60
63 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
64 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
67
69
73 inline int GetMaximumEventAgeInSeconds() const { return m_maximumEventAgeInSeconds; }
74 inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; }
77
79
90 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
91 template<typename DestinationConfigT = DestinationConfig>
92 void SetDestinationConfig(DestinationConfigT&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::forward<DestinationConfigT>(value); }
93 template<typename DestinationConfigT = DestinationConfig>
94 GetFunctionEventInvokeConfigResult& WithDestinationConfig(DestinationConfigT&& value) { SetDestinationConfig(std::forward<DestinationConfigT>(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template<typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
102 template<typename RequestIdT = Aws::String>
103 GetFunctionEventInvokeConfigResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
105 private:
106
107 Aws::Utils::DateTime m_lastModified{};
108 bool m_lastModifiedHasBeenSet = false;
109
110 Aws::String m_functionArn;
111 bool m_functionArnHasBeenSet = false;
112
113 int m_maximumRetryAttempts{0};
114 bool m_maximumRetryAttemptsHasBeenSet = false;
115
116 int m_maximumEventAgeInSeconds{0};
117 bool m_maximumEventAgeInSecondsHasBeenSet = false;
118
119 DestinationConfig m_destinationConfig;
120 bool m_destinationConfigHasBeenSet = false;
121
122 Aws::String m_requestId;
123 bool m_requestIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Lambda
128} // namespace Aws
GetFunctionEventInvokeConfigResult & WithFunctionArn(FunctionArnT &&value)
AWS_LAMBDA_API GetFunctionEventInvokeConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionEventInvokeConfigResult & WithLastModified(LastModifiedT &&value)
GetFunctionEventInvokeConfigResult & WithDestinationConfig(DestinationConfigT &&value)
GetFunctionEventInvokeConfigResult & WithMaximumRetryAttempts(int value)
AWS_LAMBDA_API GetFunctionEventInvokeConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionEventInvokeConfigResult & WithMaximumEventAgeInSeconds(int value)
GetFunctionEventInvokeConfigResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue