/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace StorageGateway { namespace Model { /** *

A list of Active Directory users and groups that have special permissions for * SMB file shares on the gateway.

See Also:

AWS * API Reference

*/ class SMBLocalGroups { public: AWS_STORAGEGATEWAY_API SMBLocalGroups(); AWS_STORAGEGATEWAY_API SMBLocalGroups(Aws::Utils::Json::JsonView jsonValue); AWS_STORAGEGATEWAY_API SMBLocalGroups& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline const Aws::Vector& GetGatewayAdmins() const{ return m_gatewayAdmins; } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline bool GatewayAdminsHasBeenSet() const { return m_gatewayAdminsHasBeenSet; } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline void SetGatewayAdmins(const Aws::Vector& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins = value; } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline void SetGatewayAdmins(Aws::Vector&& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins = std::move(value); } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline SMBLocalGroups& WithGatewayAdmins(const Aws::Vector& value) { SetGatewayAdmins(value); return *this;} /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline SMBLocalGroups& WithGatewayAdmins(Aws::Vector&& value) { SetGatewayAdmins(std::move(value)); return *this;} /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline SMBLocalGroups& AddGatewayAdmins(const Aws::String& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(value); return *this; } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline SMBLocalGroups& AddGatewayAdmins(Aws::String&& value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(std::move(value)); return *this; } /** *

A list of Active Directory users and groups that have local Gateway Admin * permissions. Acceptable formats include: DOMAIN\User1, * user1, DOMAIN\group1, and group1.

*

Gateway Admins can use the Shared Folders Microsoft Management Console * snap-in to force-close files that are open and locked.

*/ inline SMBLocalGroups& AddGatewayAdmins(const char* value) { m_gatewayAdminsHasBeenSet = true; m_gatewayAdmins.push_back(value); return *this; } private: Aws::Vector m_gatewayAdmins; bool m_gatewayAdminsHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws