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
99 inline void SetStatementId(
const char* value) { m_statementIdHasBeenSet =
true; m_statementId.assign(value); }
107 bool m_actionsHasBeenSet =
false;
110 bool m_principalOrgIDsHasBeenSet =
false;
113 bool m_principalsHasBeenSet =
false;
116 bool m_statementIdHasBeenSet =
false;
ApplicationPolicyStatement & WithActions(const Aws::Vector< Aws::String > &value)
bool StatementIdHasBeenSet() const
ApplicationPolicyStatement & AddActions(const char *value)
ApplicationPolicyStatement & AddPrincipals(Aws::String &&value)
void SetPrincipalOrgIDs(Aws::Vector< Aws::String > &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatementId(const char *value)
void SetStatementId(Aws::String &&value)
ApplicationPolicyStatement & WithPrincipals(const Aws::Vector< Aws::String > &value)
ApplicationPolicyStatement & AddPrincipalOrgIDs(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement(Aws::Utils::Json::JsonView jsonValue)
ApplicationPolicyStatement & WithStatementId(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement()
ApplicationPolicyStatement & AddActions(Aws::String &&value)
ApplicationPolicyStatement & AddPrincipalOrgIDs(const char *value)
bool ActionsHasBeenSet() const
ApplicationPolicyStatement & AddPrincipalOrgIDs(const Aws::String &value)
void SetPrincipalOrgIDs(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetActions() const
const Aws::String & GetStatementId() const
bool PrincipalOrgIDsHasBeenSet() const
ApplicationPolicyStatement & WithPrincipalOrgIDs(Aws::Vector< Aws::String > &&value)
void SetActions(Aws::Vector< Aws::String > &&value)
bool PrincipalsHasBeenSet() const
ApplicationPolicyStatement & WithPrincipalOrgIDs(const Aws::Vector< Aws::String > &value)
ApplicationPolicyStatement & WithStatementId(Aws::String &&value)
ApplicationPolicyStatement & AddPrincipals(const char *value)
ApplicationPolicyStatement & AddActions(const Aws::String &value)
ApplicationPolicyStatement & WithStatementId(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ApplicationPolicyStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatementId(const Aws::String &value)
ApplicationPolicyStatement & AddPrincipals(const Aws::String &value)
ApplicationPolicyStatement & WithPrincipals(Aws::Vector< Aws::String > &&value)
void SetPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
const Aws::Vector< Aws::String > & GetPrincipalOrgIDs() const
void SetPrincipals(const Aws::Vector< Aws::String > &value)
void SetActions(const Aws::Vector< Aws::String > &value)
ApplicationPolicyStatement & WithActions(Aws::Vector< Aws::String > &&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