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>
22namespace ServerlessApplicationRepository
50 template<
typename ActionsT = Aws::Vector<Aws::String>>
51 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
52 template<
typename ActionsT = Aws::Vector<Aws::String>>
54 template<
typename ActionsT = Aws::String>
66 template<
typename PrincipalOrgIDsT = Aws::Vector<Aws::String>>
67 void SetPrincipalOrgIDs(PrincipalOrgIDsT&& value) { m_principalOrgIDsHasBeenSet =
true; m_principalOrgIDs = std::forward<PrincipalOrgIDsT>(value); }
68 template<
typename PrincipalOrgIDsT = Aws::Vector<Aws::String>>
70 template<
typename PrincipalOrgIDsT = Aws::String>
80 template<
typename PrincipalsT = Aws::Vector<Aws::String>>
81 void SetPrincipals(PrincipalsT&& value) { m_principalsHasBeenSet =
true; m_principals = std::forward<PrincipalsT>(value); }
82 template<
typename PrincipalsT = Aws::Vector<Aws::String>>
84 template<
typename PrincipalsT = Aws::String>
94 template<
typename StatementIdT = Aws::String>
95 void SetStatementId(StatementIdT&& value) { m_statementIdHasBeenSet =
true; m_statementId = std::forward<StatementIdT>(value); }
96 template<
typename StatementIdT = Aws::String>
102 bool m_actionsHasBeenSet =
false;
105 bool m_principalOrgIDsHasBeenSet =
false;
108 bool m_principalsHasBeenSet =
false;
111 bool m_statementIdHasBeenSet =
false;
void SetPrincipals(PrincipalsT &&value)
bool StatementIdHasBeenSet() const
void SetActions(ActionsT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement()=default
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement(Aws::Utils::Json::JsonView jsonValue)
ApplicationPolicyStatement & WithActions(ActionsT &&value)
bool ActionsHasBeenSet() const
void SetStatementId(StatementIdT &&value)
ApplicationPolicyStatement & AddPrincipals(PrincipalsT &&value)
const Aws::Vector< Aws::String > & GetActions() const
ApplicationPolicyStatement & WithPrincipals(PrincipalsT &&value)
const Aws::String & GetStatementId() const
bool PrincipalOrgIDsHasBeenSet() const
ApplicationPolicyStatement & AddPrincipalOrgIDs(PrincipalOrgIDsT &&value)
bool PrincipalsHasBeenSet() const
ApplicationPolicyStatement & AddActions(ActionsT &&value)
void SetPrincipalOrgIDs(PrincipalOrgIDsT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationPolicyStatement & WithStatementId(StatementIdT &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
ApplicationPolicyStatement & WithPrincipalOrgIDs(PrincipalOrgIDsT &&value)
const Aws::Vector< Aws::String > & GetPrincipalOrgIDs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue