7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/serverlessrepo/model/ApplicationPolicyStatement.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace ServerlessApplicationRepository
42 template<
typename StatementsT = Aws::Vector<ApplicationPolicyStatement>>
43 void SetStatements(StatementsT&& value) { m_statementsHasBeenSet =
true; m_statements = std::forward<StatementsT>(value); }
44 template<
typename StatementsT = Aws::Vector<ApplicationPolicyStatement>>
46 template<
typename StatementsT = ApplicationPolicyStatement>
53 template<
typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
55 template<
typename RequestIdT = Aws::String>
61 bool m_statementsHasBeenSet =
false;
64 bool m_requestIdHasBeenSet =
false;
GetApplicationPolicyResult & WithStatements(StatementsT &&value)
const Aws::Vector< ApplicationPolicyStatement > & GetStatements() const
GetApplicationPolicyResult & WithRequestId(RequestIdT &&value)
void SetStatements(StatementsT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API GetApplicationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API GetApplicationPolicyResult()=default
const Aws::String & GetRequestId() const
GetApplicationPolicyResult & AddStatements(StatementsT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API GetApplicationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue