/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the user or group to be added or removed from the list of create
* volume permissions for a volume.See Also:
AWS
* API Reference
The group to be added or removed. The possible value is all.
The group to be added or removed. The possible value is all.
The group to be added or removed. The possible value is all.
The group to be added or removed. The possible value is all.
The group to be added or removed. The possible value is all.
The group to be added or removed. The possible value is all.
The ID of the Amazon Web Services account to be added or removed.
*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline CreateVolumePermission& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline CreateVolumePermission& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account to be added or removed.
*/ inline CreateVolumePermission& WithUserId(const char* value) { SetUserId(value); return *this;} private: PermissionGroup m_group; bool m_groupHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws