7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/FunctionUrlAuthType.h>
59 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
74 inline void SetStatementId(
const char* value) { m_statementIdHasBeenSet =
true; m_statementId.assign(value); }
89 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
106 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
123 inline void SetSourceArn(
const char* value) { m_sourceArnHasBeenSet =
true; m_sourceArn.assign(value); }
140 inline void SetSourceAccount(
const char* value) { m_sourceAccountHasBeenSet =
true; m_sourceAccount.assign(value); }
154 inline void SetEventSourceToken(
const char* value) { m_eventSourceTokenHasBeenSet =
true; m_eventSourceToken.assign(value); }
169 inline void SetQualifier(
const char* value) { m_qualifierHasBeenSet =
true; m_qualifier.assign(value); }
185 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
200 inline void SetPrincipalOrgID(
const char* value) { m_principalOrgIDHasBeenSet =
true; m_principalOrgID.assign(value); }
225 bool m_functionNameHasBeenSet =
false;
228 bool m_statementIdHasBeenSet =
false;
231 bool m_actionHasBeenSet =
false;
234 bool m_principalHasBeenSet =
false;
237 bool m_sourceArnHasBeenSet =
false;
240 bool m_sourceAccountHasBeenSet =
false;
243 bool m_eventSourceTokenHasBeenSet =
false;
246 bool m_qualifierHasBeenSet =
false;
249 bool m_revisionIdHasBeenSet =
false;
252 bool m_principalOrgIDHasBeenSet =
false;
255 bool m_functionUrlAuthTypeHasBeenSet =
false;
const Aws::String & GetStatementId() const
AddPermissionRequest & WithPrincipal(const char *value)
void SetSourceArn(Aws::String &&value)
AddPermissionRequest & WithQualifier(const Aws::String &value)
void SetAction(const char *value)
AddPermissionRequest & WithRevisionId(const Aws::String &value)
bool EventSourceTokenHasBeenSet() const
AddPermissionRequest & WithSourceAccount(const Aws::String &value)
void SetStatementId(Aws::String &&value)
const Aws::String & GetPrincipal() const
AddPermissionRequest & WithQualifier(Aws::String &&value)
AddPermissionRequest & WithSourceArn(const char *value)
void SetSourceArn(const Aws::String &value)
const Aws::String & GetFunctionName() const
AddPermissionRequest & WithStatementId(const Aws::String &value)
bool QualifierHasBeenSet() const
AddPermissionRequest & WithPrincipalOrgID(Aws::String &&value)
void SetFunctionName(const Aws::String &value)
AddPermissionRequest & WithEventSourceToken(const Aws::String &value)
AddPermissionRequest & WithRevisionId(Aws::String &&value)
void SetRevisionId(Aws::String &&value)
AddPermissionRequest & WithFunctionUrlAuthType(FunctionUrlAuthType &&value)
void SetRevisionId(const Aws::String &value)
void SetPrincipalOrgID(const char *value)
void SetEventSourceToken(const char *value)
AddPermissionRequest & WithEventSourceToken(Aws::String &&value)
const FunctionUrlAuthType & GetFunctionUrlAuthType() const
AddPermissionRequest & WithPrincipal(Aws::String &&value)
AddPermissionRequest & WithQualifier(const char *value)
const Aws::String & GetEventSourceToken() const
void SetSourceArn(const char *value)
const Aws::String & GetSourceAccount() const
AddPermissionRequest & WithPrincipal(const Aws::String &value)
bool PrincipalHasBeenSet() const
bool StatementIdHasBeenSet() const
void SetQualifier(const char *value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
void SetQualifier(const Aws::String &value)
bool PrincipalOrgIDHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool SourceArnHasBeenSet() const
bool RevisionIdHasBeenSet() const
AddPermissionRequest & WithFunctionName(const Aws::String &value)
AddPermissionRequest & WithAction(const char *value)
void SetEventSourceToken(const Aws::String &value)
bool FunctionNameHasBeenSet() const
AddPermissionRequest & WithAction(const Aws::String &value)
void SetAction(const Aws::String &value)
AddPermissionRequest & WithStatementId(Aws::String &&value)
AWS_LAMBDA_API AddPermissionRequest()
void SetAction(Aws::String &&value)
AddPermissionRequest & WithEventSourceToken(const char *value)
void SetPrincipalOrgID(Aws::String &&value)
bool FunctionUrlAuthTypeHasBeenSet() const
AddPermissionRequest & WithSourceAccount(Aws::String &&value)
AddPermissionRequest & WithPrincipalOrgID(const char *value)
const Aws::String & GetQualifier() const
AddPermissionRequest & WithFunctionName(const char *value)
void SetRevisionId(const char *value)
void SetPrincipal(const Aws::String &value)
AddPermissionRequest & WithAction(Aws::String &&value)
void SetSourceAccount(const Aws::String &value)
const Aws::String & GetAction() const
void SetQualifier(Aws::String &&value)
const Aws::String & GetRevisionId() const
void SetPrincipalOrgID(const Aws::String &value)
void SetSourceAccount(Aws::String &&value)
const Aws::String & GetPrincipalOrgID() const
AddPermissionRequest & WithFunctionName(Aws::String &&value)
bool ActionHasBeenSet() const
AddPermissionRequest & WithFunctionUrlAuthType(const FunctionUrlAuthType &value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetPrincipal(const char *value)
void SetSourceAccount(const char *value)
void SetEventSourceToken(Aws::String &&value)
AddPermissionRequest & WithStatementId(const char *value)
void SetStatementId(const char *value)
AddPermissionRequest & WithRevisionId(const char *value)
AddPermissionRequest & WithPrincipalOrgID(const Aws::String &value)
void SetFunctionUrlAuthType(const FunctionUrlAuthType &value)
const Aws::String & GetSourceArn() const
void SetFunctionName(const char *value)
AddPermissionRequest & WithSourceArn(const Aws::String &value)
bool SourceAccountHasBeenSet() const
AddPermissionRequest & WithSourceArn(Aws::String &&value)
void SetFunctionName(Aws::String &&value)
void SetPrincipal(Aws::String &&value)
AddPermissionRequest & WithSourceAccount(const char *value)
void SetStatementId(const Aws::String &value)
void SetFunctionUrlAuthType(FunctionUrlAuthType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String