/** * 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 FSx { namespace Model { /** *

Describes the Microsoft Active Directory (AD) directory configuration to * which the FSx for ONTAP storage virtual machine (SVM) is joined. Note that * account credentials are not returned in the response payload.

See * Also:

AWS * API Reference

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

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline const Aws::String& GetNetBiosName() const{ return m_netBiosName; } /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline bool NetBiosNameHasBeenSet() const { return m_netBiosNameHasBeenSet; } /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline void SetNetBiosName(const Aws::String& value) { m_netBiosNameHasBeenSet = true; m_netBiosName = value; } /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline void SetNetBiosName(Aws::String&& value) { m_netBiosNameHasBeenSet = true; m_netBiosName = std::move(value); } /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline void SetNetBiosName(const char* value) { m_netBiosNameHasBeenSet = true; m_netBiosName.assign(value); } /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline SvmActiveDirectoryConfiguration& WithNetBiosName(const Aws::String& value) { SetNetBiosName(value); return *this;} /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline SvmActiveDirectoryConfiguration& WithNetBiosName(Aws::String&& value) { SetNetBiosName(std::move(value)); return *this;} /** *

The NetBIOS name of the AD computer object to which the SVM is joined.

*/ inline SvmActiveDirectoryConfiguration& WithNetBiosName(const char* value) { SetNetBiosName(value); return *this;} inline const SelfManagedActiveDirectoryAttributes& GetSelfManagedActiveDirectoryConfiguration() const{ return m_selfManagedActiveDirectoryConfiguration; } inline bool SelfManagedActiveDirectoryConfigurationHasBeenSet() const { return m_selfManagedActiveDirectoryConfigurationHasBeenSet; } inline void SetSelfManagedActiveDirectoryConfiguration(const SelfManagedActiveDirectoryAttributes& value) { m_selfManagedActiveDirectoryConfigurationHasBeenSet = true; m_selfManagedActiveDirectoryConfiguration = value; } inline void SetSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryAttributes&& value) { m_selfManagedActiveDirectoryConfigurationHasBeenSet = true; m_selfManagedActiveDirectoryConfiguration = std::move(value); } inline SvmActiveDirectoryConfiguration& WithSelfManagedActiveDirectoryConfiguration(const SelfManagedActiveDirectoryAttributes& value) { SetSelfManagedActiveDirectoryConfiguration(value); return *this;} inline SvmActiveDirectoryConfiguration& WithSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryAttributes&& value) { SetSelfManagedActiveDirectoryConfiguration(std::move(value)); return *this;} private: Aws::String m_netBiosName; bool m_netBiosNameHasBeenSet = false; SelfManagedActiveDirectoryAttributes m_selfManagedActiveDirectoryConfiguration; bool m_selfManagedActiveDirectoryConfigurationHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws