7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/serverlessrepo/ServerlessApplicationRepositoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/serverlessrepo/model/ApplicationPolicyStatement.h>
16namespace ServerlessApplicationRepository
45 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
67 bool m_applicationIdHasBeenSet =
false;
70 bool m_statementsHasBeenSet =
false;
void SetStatements(Aws::Vector< ApplicationPolicyStatement > &&value)
PutApplicationPolicyRequest & WithStatements(const Aws::Vector< ApplicationPolicyStatement > &value)
PutApplicationPolicyRequest & WithApplicationId(Aws::String &&value)
void SetStatements(const Aws::Vector< ApplicationPolicyStatement > &value)
void SetApplicationId(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
bool StatementsHasBeenSet() const
bool ApplicationIdHasBeenSet() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override
void SetApplicationId(const char *value)
PutApplicationPolicyRequest & WithApplicationId(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API PutApplicationPolicyRequest()
const Aws::Vector< ApplicationPolicyStatement > & GetStatements() const
const Aws::String & GetApplicationId() const
PutApplicationPolicyRequest & WithStatements(Aws::Vector< ApplicationPolicyStatement > &&value)
virtual const char * GetServiceRequestName() const override
PutApplicationPolicyRequest & WithApplicationId(const Aws::String &value)
PutApplicationPolicyRequest & AddStatements(ApplicationPolicyStatement &&value)
PutApplicationPolicyRequest & AddStatements(const ApplicationPolicyStatement &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector