/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a reference to a This data type is used by
* the Statement
element in a policy document
* that determines the result of the simulation.MatchedStatements
member of the EvaluationResult
*
type.See Also:
AWS API
* Reference
The identifier of the policy that was provided as an input.
*/ inline const Aws::String& GetSourcePolicyId() const{ return m_sourcePolicyId; } /** *The identifier of the policy that was provided as an input.
*/ inline bool SourcePolicyIdHasBeenSet() const { return m_sourcePolicyIdHasBeenSet; } /** *The identifier of the policy that was provided as an input.
*/ inline void SetSourcePolicyId(const Aws::String& value) { m_sourcePolicyIdHasBeenSet = true; m_sourcePolicyId = value; } /** *The identifier of the policy that was provided as an input.
*/ inline void SetSourcePolicyId(Aws::String&& value) { m_sourcePolicyIdHasBeenSet = true; m_sourcePolicyId = std::move(value); } /** *The identifier of the policy that was provided as an input.
*/ inline void SetSourcePolicyId(const char* value) { m_sourcePolicyIdHasBeenSet = true; m_sourcePolicyId.assign(value); } /** *The identifier of the policy that was provided as an input.
*/ inline Statement& WithSourcePolicyId(const Aws::String& value) { SetSourcePolicyId(value); return *this;} /** *The identifier of the policy that was provided as an input.
*/ inline Statement& WithSourcePolicyId(Aws::String&& value) { SetSourcePolicyId(std::move(value)); return *this;} /** *The identifier of the policy that was provided as an input.
*/ inline Statement& WithSourcePolicyId(const char* value) { SetSourcePolicyId(value); return *this;} /** *The type of the policy.
*/ inline const PolicySourceType& GetSourcePolicyType() const{ return m_sourcePolicyType; } /** *The type of the policy.
*/ inline bool SourcePolicyTypeHasBeenSet() const { return m_sourcePolicyTypeHasBeenSet; } /** *The type of the policy.
*/ inline void SetSourcePolicyType(const PolicySourceType& value) { m_sourcePolicyTypeHasBeenSet = true; m_sourcePolicyType = value; } /** *The type of the policy.
*/ inline void SetSourcePolicyType(PolicySourceType&& value) { m_sourcePolicyTypeHasBeenSet = true; m_sourcePolicyType = std::move(value); } /** *The type of the policy.
*/ inline Statement& WithSourcePolicyType(const PolicySourceType& value) { SetSourcePolicyType(value); return *this;} /** *The type of the policy.
*/ inline Statement& WithSourcePolicyType(PolicySourceType&& value) { SetSourcePolicyType(std::move(value)); return *this;} /** *The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the beginning of the Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.
The row and column of the end of a Statement
in an IAM
* policy.