AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFunctionEventInvokeConfigResult.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:
35
36
38
41 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
42 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
43 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
47
49
52 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
53 inline void SetFunctionArn(const Aws::String& value) { m_functionArn = value; }
54 inline void SetFunctionArn(Aws::String&& value) { m_functionArn = std::move(value); }
55 inline void SetFunctionArn(const char* value) { m_functionArn.assign(value); }
57 inline PutFunctionEventInvokeConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
58 inline PutFunctionEventInvokeConfigResult& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
60
62
65 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
66 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttempts = value; }
69
71
75 inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; }
76 inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSeconds = value; }
79
81
89 inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
90 inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; }
91 inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline PutFunctionEventInvokeConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline PutFunctionEventInvokeConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline PutFunctionEventInvokeConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::Utils::DateTime m_lastModified;
109
110 Aws::String m_functionArn;
111
112 int m_maximumRetryAttempts;
113
114 int m_maximumEventAgeInSeconds;
115
116 DestinationConfig m_destinationConfig;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace Lambda
123} // namespace Aws
PutFunctionEventInvokeConfigResult & WithRequestId(Aws::String &&value)
PutFunctionEventInvokeConfigResult & WithFunctionArn(const char *value)
PutFunctionEventInvokeConfigResult & WithDestinationConfig(const DestinationConfig &value)
PutFunctionEventInvokeConfigResult & WithLastModified(const Aws::Utils::DateTime &value)
PutFunctionEventInvokeConfigResult & WithLastModified(Aws::Utils::DateTime &&value)
PutFunctionEventInvokeConfigResult & WithRequestId(const char *value)
PutFunctionEventInvokeConfigResult & WithRequestId(const Aws::String &value)
PutFunctionEventInvokeConfigResult & WithFunctionArn(const Aws::String &value)
PutFunctionEventInvokeConfigResult & WithMaximumRetryAttempts(int value)
PutFunctionEventInvokeConfigResult & WithFunctionArn(Aws::String &&value)
AWS_LAMBDA_API PutFunctionEventInvokeConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutFunctionEventInvokeConfigResult & WithMaximumEventAgeInSeconds(int value)
PutFunctionEventInvokeConfigResult & WithDestinationConfig(DestinationConfig &&value)
AWS_LAMBDA_API PutFunctionEventInvokeConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue