AWS SDK for C++  1.9.19
AWS SDK for C++
FunctionEventInvokeConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lambda
24 {
25 namespace Model
26 {
27 
29  {
30  public:
35 
36 
40  inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
41 
45  inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
46 
50  inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
51 
55  inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
56 
60  inline FunctionEventInvokeConfig& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
61 
65  inline FunctionEventInvokeConfig& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
66 
67 
71  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
72 
76  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
77 
81  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
82 
86  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
87 
91  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
92 
96  inline FunctionEventInvokeConfig& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
97 
101  inline FunctionEventInvokeConfig& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
102 
106  inline FunctionEventInvokeConfig& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
107 
108 
112  inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
113 
117  inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
118 
122  inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
123 
127  inline FunctionEventInvokeConfig& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
128 
129 
134  inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; }
135 
140  inline bool MaximumEventAgeInSecondsHasBeenSet() const { return m_maximumEventAgeInSecondsHasBeenSet; }
141 
146  inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; }
147 
152  inline FunctionEventInvokeConfig& WithMaximumEventAgeInSeconds(int value) { SetMaximumEventAgeInSeconds(value); return *this;}
153 
154 
163  inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
164 
173  inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
174 
183  inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
184 
193  inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
194 
203  inline FunctionEventInvokeConfig& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;}
204 
213  inline FunctionEventInvokeConfig& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;}
214 
215  private:
216 
217  Aws::Utils::DateTime m_lastModified;
218  bool m_lastModifiedHasBeenSet;
219 
220  Aws::String m_functionArn;
221  bool m_functionArnHasBeenSet;
222 
223  int m_maximumRetryAttempts;
224  bool m_maximumRetryAttemptsHasBeenSet;
225 
226  int m_maximumEventAgeInSeconds;
227  bool m_maximumEventAgeInSecondsHasBeenSet;
228 
229  DestinationConfig m_destinationConfig;
230  bool m_destinationConfigHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace Lambda
235 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lambda::Model::FunctionEventInvokeConfig::MaximumEventAgeInSecondsHasBeenSet
bool MaximumEventAgeInSecondsHasBeenSet() const
Definition: FunctionEventInvokeConfig.h:140
Aws::Lambda::Model::FunctionEventInvokeConfig::GetLastModified
const Aws::Utils::DateTime & GetLastModified() const
Definition: FunctionEventInvokeConfig.h:40
Aws::Lambda::Model::FunctionEventInvokeConfig::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: FunctionEventInvokeConfig.h:71
Aws::Lambda::Model::FunctionEventInvokeConfig::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: FunctionEventInvokeConfig.h:81
Aws::Lambda::Model::FunctionEventInvokeConfig::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: FunctionEventInvokeConfig.h:91
Aws::Lambda::Model::FunctionEventInvokeConfig::SetLastModified
void SetLastModified(Aws::Utils::DateTime &&value)
Definition: FunctionEventInvokeConfig.h:55
Aws::Lambda::Model::FunctionEventInvokeConfig::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: FunctionEventInvokeConfig.h:112
Aws::Lambda::Model::FunctionEventInvokeConfig::SetLastModified
void SetLastModified(const Aws::Utils::DateTime &value)
Definition: FunctionEventInvokeConfig.h:50
Aws::Lambda::Model::FunctionEventInvokeConfig::WithDestinationConfig
FunctionEventInvokeConfig & WithDestinationConfig(const DestinationConfig &value)
Definition: FunctionEventInvokeConfig.h:203
DateTime.h
Aws::Lambda::Model::FunctionEventInvokeConfig::SetDestinationConfig
void SetDestinationConfig(DestinationConfig &&value)
Definition: FunctionEventInvokeConfig.h:193
Aws::Lambda::Model::FunctionEventInvokeConfig
Definition: FunctionEventInvokeConfig.h:29
Aws::Lambda::Model::FunctionEventInvokeConfig::GetDestinationConfig
const DestinationConfig & GetDestinationConfig() const
Definition: FunctionEventInvokeConfig.h:163
Aws::Lambda::Model::FunctionEventInvokeConfig::WithLastModified
FunctionEventInvokeConfig & WithLastModified(Aws::Utils::DateTime &&value)
Definition: FunctionEventInvokeConfig.h:65
Aws::Lambda::Model::FunctionEventInvokeConfig::FunctionEventInvokeConfig
FunctionEventInvokeConfig()
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::FunctionEventInvokeConfig::SetDestinationConfig
void SetDestinationConfig(const DestinationConfig &value)
Definition: FunctionEventInvokeConfig.h:183
Aws::Lambda::Model::FunctionEventInvokeConfig::WithDestinationConfig
FunctionEventInvokeConfig & WithDestinationConfig(DestinationConfig &&value)
Definition: FunctionEventInvokeConfig.h:213
Aws::Lambda::Model::FunctionEventInvokeConfig::WithMaximumEventAgeInSeconds
FunctionEventInvokeConfig & WithMaximumEventAgeInSeconds(int value)
Definition: FunctionEventInvokeConfig.h:152
Aws::Lambda::Model::FunctionEventInvokeConfig::WithFunctionArn
FunctionEventInvokeConfig & WithFunctionArn(const char *value)
Definition: FunctionEventInvokeConfig.h:106
Aws::Lambda::Model::FunctionEventInvokeConfig::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: FunctionEventInvokeConfig.h:122
Aws::Lambda::Model::FunctionEventInvokeConfig::FunctionEventInvokeConfig
FunctionEventInvokeConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::FunctionEventInvokeConfig::GetMaximumEventAgeInSeconds
int GetMaximumEventAgeInSeconds() const
Definition: FunctionEventInvokeConfig.h:134
Aws::Lambda::Model::FunctionEventInvokeConfig::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: FunctionEventInvokeConfig.h:86
Aws::Lambda::Model::FunctionEventInvokeConfig::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: FunctionEventInvokeConfig.h:76
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::FunctionEventInvokeConfig::WithFunctionArn
FunctionEventInvokeConfig & WithFunctionArn(Aws::String &&value)
Definition: FunctionEventInvokeConfig.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::FunctionEventInvokeConfig::DestinationConfigHasBeenSet
bool DestinationConfigHasBeenSet() const
Definition: FunctionEventInvokeConfig.h:173
Aws::Lambda::Model::FunctionEventInvokeConfig::operator=
FunctionEventInvokeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::FunctionEventInvokeConfig::WithFunctionArn
FunctionEventInvokeConfig & WithFunctionArn(const Aws::String &value)
Definition: FunctionEventInvokeConfig.h:96
Aws::Lambda::Model::FunctionEventInvokeConfig::WithLastModified
FunctionEventInvokeConfig & WithLastModified(const Aws::Utils::DateTime &value)
Definition: FunctionEventInvokeConfig.h:60
Aws::Lambda::Model::FunctionEventInvokeConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::FunctionEventInvokeConfig::MaximumRetryAttemptsHasBeenSet
bool MaximumRetryAttemptsHasBeenSet() const
Definition: FunctionEventInvokeConfig.h:117
Aws::Lambda::Model::FunctionEventInvokeConfig::WithMaximumRetryAttempts
FunctionEventInvokeConfig & WithMaximumRetryAttempts(int value)
Definition: FunctionEventInvokeConfig.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::FunctionEventInvokeConfig::SetMaximumEventAgeInSeconds
void SetMaximumEventAgeInSeconds(int value)
Definition: FunctionEventInvokeConfig.h:146
Lambda_EXPORTS.h
Aws::Lambda::Model::FunctionEventInvokeConfig::LastModifiedHasBeenSet
bool LastModifiedHasBeenSet() const
Definition: FunctionEventInvokeConfig.h:45
DestinationConfig.h