/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a launch permission modification.See Also:
AWS
* API Reference
The AWS account ID to add to the list of launch permissions for the AMI.
*/ inline const Aws::VectorThe AWS account ID to add to the list of launch permissions for the AMI.
*/ inline bool AddHasBeenSet() const { return m_addHasBeenSet; } /** *The AWS account ID to add to the list of launch permissions for the AMI.
*/ inline void SetAdd(const Aws::VectorThe AWS account ID to add to the list of launch permissions for the AMI.
*/ inline void SetAdd(Aws::VectorThe AWS account ID to add to the list of launch permissions for the AMI.
*/ inline LaunchPermissionModifications& WithAdd(const Aws::VectorThe AWS account ID to add to the list of launch permissions for the AMI.
*/ inline LaunchPermissionModifications& WithAdd(Aws::VectorThe AWS account ID to add to the list of launch permissions for the AMI.
*/ inline LaunchPermissionModifications& AddAdd(const LaunchPermission& value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; } /** *The AWS account ID to add to the list of launch permissions for the AMI.
*/ inline LaunchPermissionModifications& AddAdd(LaunchPermission&& value) { m_addHasBeenSet = true; m_add.push_back(std::move(value)); return *this; } /** *The AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline const Aws::VectorThe AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline bool RemoveHasBeenSet() const { return m_removeHasBeenSet; } /** *The AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline void SetRemove(const Aws::VectorThe AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline void SetRemove(Aws::VectorThe AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline LaunchPermissionModifications& WithRemove(const Aws::VectorThe AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline LaunchPermissionModifications& WithRemove(Aws::VectorThe AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline LaunchPermissionModifications& AddRemove(const LaunchPermission& value) { m_removeHasBeenSet = true; m_remove.push_back(value); return *this; } /** *The AWS account ID to remove from the list of launch permissions for the * AMI.
*/ inline LaunchPermissionModifications& AddRemove(LaunchPermission&& value) { m_removeHasBeenSet = true; m_remove.push_back(std::move(value)); return *this; } private: Aws::Vector