AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 GetFunctionEventInvokeConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
58 inline GetFunctionEventInvokeConfigResult& 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 GetFunctionEventInvokeConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline GetFunctionEventInvokeConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline GetFunctionEventInvokeConfigResult& 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
GetFunctionEventInvokeConfigResult & WithDestinationConfig(DestinationConfig &&value)
GetFunctionEventInvokeConfigResult & WithLastModified(const Aws::Utils::DateTime &value)
AWS_LAMBDA_API GetFunctionEventInvokeConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionEventInvokeConfigResult & WithLastModified(Aws::Utils::DateTime &&value)
GetFunctionEventInvokeConfigResult & WithMaximumRetryAttempts(int value)
GetFunctionEventInvokeConfigResult & WithDestinationConfig(const DestinationConfig &value)
AWS_LAMBDA_API GetFunctionEventInvokeConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionEventInvokeConfigResult & WithRequestId(const char *value)
GetFunctionEventInvokeConfigResult & WithFunctionArn(Aws::String &&value)
GetFunctionEventInvokeConfigResult & WithFunctionArn(const char *value)
GetFunctionEventInvokeConfigResult & WithRequestId(const Aws::String &value)
GetFunctionEventInvokeConfigResult & WithRequestId(Aws::String &&value)
GetFunctionEventInvokeConfigResult & WithMaximumEventAgeInSeconds(int value)
GetFunctionEventInvokeConfigResult & WithFunctionArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue