7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/ActionFailurePolicy.h>
10#include <aws/mailmanager/model/LambdaInvocationType.h>
21namespace MailManager {
46 m_actionFailurePolicyHasBeenSet =
true;
47 m_actionFailurePolicy = value;
61 template <
typename FunctionArnT = Aws::String>
63 m_functionArnHasBeenSet =
true;
64 m_functionArn = std::forward<FunctionArnT>(value);
66 template <
typename FunctionArnT = Aws::String>
81 m_invocationTypeHasBeenSet =
true;
82 m_invocationType = value;
97 template <
typename RoleArnT = Aws::String>
99 m_roleArnHasBeenSet =
true;
100 m_roleArn = std::forward<RoleArnT>(value);
102 template <
typename RoleArnT = Aws::String>
117 m_retryTimeMinutesHasBeenSet =
true;
118 m_retryTimeMinutes = value;
134 int m_retryTimeMinutes{0};
135 bool m_actionFailurePolicyHasBeenSet =
false;
136 bool m_functionArnHasBeenSet =
false;
137 bool m_invocationTypeHasBeenSet =
false;
138 bool m_roleArnHasBeenSet =
false;
139 bool m_retryTimeMinutesHasBeenSet =
false;
AWS_MAILMANAGER_API InvokeLambdaAction()=default
InvokeLambdaAction & WithFunctionArn(FunctionArnT &&value)
void SetInvocationType(LambdaInvocationType value)
int GetRetryTimeMinutes() const
InvokeLambdaAction & WithInvocationType(LambdaInvocationType value)
bool RoleArnHasBeenSet() const
void SetActionFailurePolicy(ActionFailurePolicy value)
void SetRetryTimeMinutes(int value)
const Aws::String & GetRoleArn() const
AWS_MAILMANAGER_API InvokeLambdaAction(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionArn(FunctionArnT &&value)
AWS_MAILMANAGER_API InvokeLambdaAction & operator=(Aws::Utils::Json::JsonView jsonValue)
InvokeLambdaAction & WithActionFailurePolicy(ActionFailurePolicy value)
const Aws::String & GetFunctionArn() const
InvokeLambdaAction & WithRoleArn(RoleArnT &&value)
LambdaInvocationType GetInvocationType() const
InvokeLambdaAction & WithRetryTimeMinutes(int value)
bool ActionFailurePolicyHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
ActionFailurePolicy GetActionFailurePolicy() const
bool FunctionArnHasBeenSet() const
bool RetryTimeMinutesHasBeenSet() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InvocationTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue