/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Policy statement applied to the application.See Also:
AWS
* API Reference
For the list of actions supported for this operation, see Application * Permissions.
*/ inline const Aws::VectorFor the list of actions supported for this operation, see Application * Permissions.
*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *For the list of actions supported for this operation, see Application * Permissions.
*/ inline void SetActions(const Aws::VectorFor the list of actions supported for this operation, see Application * Permissions.
*/ inline void SetActions(Aws::VectorFor the list of actions supported for this operation, see Application * Permissions.
*/ inline ApplicationPolicyStatement& WithActions(const Aws::VectorFor the list of actions supported for this operation, see Application * Permissions.
*/ inline ApplicationPolicyStatement& WithActions(Aws::VectorFor the list of actions supported for this operation, see Application * Permissions.
*/ inline ApplicationPolicyStatement& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *For the list of actions supported for this operation, see Application * Permissions.
*/ inline ApplicationPolicyStatement& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } /** *For the list of actions supported for this operation, see Application * Permissions.
*/ inline ApplicationPolicyStatement& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline const Aws::VectorAn array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline bool PrincipalOrgIDsHasBeenSet() const { return m_principalOrgIDsHasBeenSet; } /** *An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline void SetPrincipalOrgIDs(const Aws::VectorAn array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline void SetPrincipalOrgIDs(Aws::VectorAn array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline ApplicationPolicyStatement& WithPrincipalOrgIDs(const Aws::VectorAn array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline ApplicationPolicyStatement& WithPrincipalOrgIDs(Aws::VectorAn array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline ApplicationPolicyStatement& AddPrincipalOrgIDs(const Aws::String& value) { m_principalOrgIDsHasBeenSet = true; m_principalOrgIDs.push_back(value); return *this; } /** *An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline ApplicationPolicyStatement& AddPrincipalOrgIDs(Aws::String&& value) { m_principalOrgIDsHasBeenSet = true; m_principalOrgIDs.push_back(std::move(value)); return *this; } /** *An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID * global condition key.
*/ inline ApplicationPolicyStatement& AddPrincipalOrgIDs(const char* value) { m_principalOrgIDsHasBeenSet = true; m_principalOrgIDs.push_back(value); return *this; } /** *An array of AWS account IDs, or * to make the application public.
*/ inline const Aws::VectorAn array of AWS account IDs, or * to make the application public.
*/ inline bool PrincipalsHasBeenSet() const { return m_principalsHasBeenSet; } /** *An array of AWS account IDs, or * to make the application public.
*/ inline void SetPrincipals(const Aws::VectorAn array of AWS account IDs, or * to make the application public.
*/ inline void SetPrincipals(Aws::VectorAn array of AWS account IDs, or * to make the application public.
*/ inline ApplicationPolicyStatement& WithPrincipals(const Aws::VectorAn array of AWS account IDs, or * to make the application public.
*/ inline ApplicationPolicyStatement& WithPrincipals(Aws::VectorAn array of AWS account IDs, or * to make the application public.
*/ inline ApplicationPolicyStatement& AddPrincipals(const Aws::String& value) { m_principalsHasBeenSet = true; m_principals.push_back(value); return *this; } /** *An array of AWS account IDs, or * to make the application public.
*/ inline ApplicationPolicyStatement& AddPrincipals(Aws::String&& value) { m_principalsHasBeenSet = true; m_principals.push_back(std::move(value)); return *this; } /** *An array of AWS account IDs, or * to make the application public.
*/ inline ApplicationPolicyStatement& AddPrincipals(const char* value) { m_principalsHasBeenSet = true; m_principals.push_back(value); return *this; } /** *A unique ID for the statement.
*/ inline const Aws::String& GetStatementId() const{ return m_statementId; } /** *A unique ID for the statement.
*/ inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } /** *A unique ID for the statement.
*/ inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } /** *A unique ID for the statement.
*/ inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } /** *A unique ID for the statement.
*/ inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } /** *A unique ID for the statement.
*/ inline ApplicationPolicyStatement& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} /** *A unique ID for the statement.
*/ inline ApplicationPolicyStatement& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} /** *A unique ID for the statement.
*/ inline ApplicationPolicyStatement& WithStatementId(const char* value) { SetStatementId(value); return *this;} private: Aws::Vector