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
43 template<
typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
45 template<
typename ApplicationIdT = Aws::String>
55 template<
typename StatementsT = Aws::Vector<ApplicationPolicyStatement>>
56 void SetStatements(StatementsT&& value) { m_statementsHasBeenSet =
true; m_statements = std::forward<StatementsT>(value); }
57 template<
typename StatementsT = Aws::Vector<ApplicationPolicyStatement>>
59 template<
typename StatementsT = ApplicationPolicyStatement>
65 bool m_applicationIdHasBeenSet =
false;
68 bool m_statementsHasBeenSet =
false;
AWS_SERVERLESSAPPLICATIONREPOSITORY_API PutApplicationPolicyRequest()=default
PutApplicationPolicyRequest & AddStatements(StatementsT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool StatementsHasBeenSet() const
bool ApplicationIdHasBeenSet() const
void SetStatements(StatementsT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::String SerializePayload() const override
const Aws::Vector< ApplicationPolicyStatement > & GetStatements() const
const Aws::String & GetApplicationId() const
PutApplicationPolicyRequest & WithStatements(StatementsT &&value)
virtual const char * GetServiceRequestName() const override
PutApplicationPolicyRequest & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector