/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a load permission.See Also:
AWS
* API Reference
The Amazon Web Services account ID.
*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *The Amazon Web Services account ID.
*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *The Amazon Web Services account ID.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *The Amazon Web Services account ID.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *The Amazon Web Services account ID.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *The Amazon Web Services account ID.
*/ inline LoadPermission& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *The Amazon Web Services account ID.
*/ inline LoadPermission& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *The Amazon Web Services account ID.
*/ inline LoadPermission& WithUserId(const char* value) { SetUserId(value); return *this;} /** *The name of the group.
*/ inline const PermissionGroup& GetGroup() const{ return m_group; } /** *The name of the group.
*/ inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } /** *The name of the group.
*/ inline void SetGroup(const PermissionGroup& value) { m_groupHasBeenSet = true; m_group = value; } /** *The name of the group.
*/ inline void SetGroup(PermissionGroup&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } /** *The name of the group.
*/ inline LoadPermission& WithGroup(const PermissionGroup& value) { SetGroup(value); return *this;} /** *The name of the group.
*/ inline LoadPermission& WithGroup(PermissionGroup&& value) { SetGroup(std::move(value)); return *this;} private: Aws::String m_userId; bool m_userIdHasBeenSet = false; PermissionGroup m_group; bool m_groupHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws