/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The service control policies (SCP) action definition details. See
* Also:
AWS
* API Reference
The policy ID attached.
*/ inline const Aws::String& GetPolicyId() const{ return m_policyId; } /** *The policy ID attached.
*/ inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; } /** *The policy ID attached.
*/ inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; } /** *The policy ID attached.
*/ inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); } /** *The policy ID attached.
*/ inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); } /** *The policy ID attached.
*/ inline ScpActionDefinition& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;} /** *The policy ID attached.
*/ inline ScpActionDefinition& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;} /** *The policy ID attached.
*/ inline ScpActionDefinition& WithPolicyId(const char* value) { SetPolicyId(value); return *this;} /** *A list of target IDs.
*/ inline const Aws::VectorA list of target IDs.
*/ inline bool TargetIdsHasBeenSet() const { return m_targetIdsHasBeenSet; } /** *A list of target IDs.
*/ inline void SetTargetIds(const Aws::VectorA list of target IDs.
*/ inline void SetTargetIds(Aws::VectorA list of target IDs.
*/ inline ScpActionDefinition& WithTargetIds(const Aws::VectorA list of target IDs.
*/ inline ScpActionDefinition& WithTargetIds(Aws::VectorA list of target IDs.
*/ inline ScpActionDefinition& AddTargetIds(const Aws::String& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; } /** *A list of target IDs.
*/ inline ScpActionDefinition& AddTargetIds(Aws::String&& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(std::move(value)); return *this; } /** *A list of target IDs.
*/ inline ScpActionDefinition& AddTargetIds(const char* value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; } private: Aws::String m_policyId; bool m_policyIdHasBeenSet = false; Aws::Vector