/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes modifications to the list of create volume permissions for a
* volume.See Also:
AWS
* API Reference
Adds the specified Amazon Web Services account ID or group to the list.
*/ inline const Aws::VectorAdds the specified Amazon Web Services account ID or group to the list.
*/ inline bool AddHasBeenSet() const { return m_addHasBeenSet; } /** *Adds the specified Amazon Web Services account ID or group to the list.
*/ inline void SetAdd(const Aws::VectorAdds the specified Amazon Web Services account ID or group to the list.
*/ inline void SetAdd(Aws::VectorAdds the specified Amazon Web Services account ID or group to the list.
*/ inline CreateVolumePermissionModifications& WithAdd(const Aws::VectorAdds the specified Amazon Web Services account ID or group to the list.
*/ inline CreateVolumePermissionModifications& WithAdd(Aws::VectorAdds the specified Amazon Web Services account ID or group to the list.
*/ inline CreateVolumePermissionModifications& AddAdd(const CreateVolumePermission& value) { m_addHasBeenSet = true; m_add.push_back(value); return *this; } /** *Adds the specified Amazon Web Services account ID or group to the list.
*/ inline CreateVolumePermissionModifications& AddAdd(CreateVolumePermission&& value) { m_addHasBeenSet = true; m_add.push_back(std::move(value)); return *this; } /** *Removes the specified Amazon Web Services account ID or group from the * list.
*/ inline const Aws::VectorRemoves the specified Amazon Web Services account ID or group from the * list.
*/ inline bool RemoveHasBeenSet() const { return m_removeHasBeenSet; } /** *Removes the specified Amazon Web Services account ID or group from the * list.
*/ inline void SetRemove(const Aws::VectorRemoves the specified Amazon Web Services account ID or group from the * list.
*/ inline void SetRemove(Aws::VectorRemoves the specified Amazon Web Services account ID or group from the * list.
*/ inline CreateVolumePermissionModifications& WithRemove(const Aws::VectorRemoves the specified Amazon Web Services account ID or group from the * list.
*/ inline CreateVolumePermissionModifications& WithRemove(Aws::VectorRemoves the specified Amazon Web Services account ID or group from the * list.
*/ inline CreateVolumePermissionModifications& AddRemove(const CreateVolumePermission& value) { m_removeHasBeenSet = true; m_remove.push_back(value); return *this; } /** *Removes the specified Amazon Web Services account ID or group from the * list.
*/ inline CreateVolumePermissionModifications& AddRemove(CreateVolumePermission&& value) { m_removeHasBeenSet = true; m_remove.push_back(std::move(value)); return *this; } private: Aws::Vector