/** * 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 { /** *

Specifies updates to an FSx for ONTAP storage virtual machine's (SVM) * Microsoft Active Directory (AD) configuration. Note that account credentials are * not returned in the response payload.

See Also:

AWS * API Reference

*/ class UpdateSvmActiveDirectoryConfiguration { public: AWS_FSX_API UpdateSvmActiveDirectoryConfiguration(); AWS_FSX_API UpdateSvmActiveDirectoryConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_FSX_API UpdateSvmActiveDirectoryConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const; inline const SelfManagedActiveDirectoryConfigurationUpdates& GetSelfManagedActiveDirectoryConfiguration() const{ return m_selfManagedActiveDirectoryConfiguration; } inline bool SelfManagedActiveDirectoryConfigurationHasBeenSet() const { return m_selfManagedActiveDirectoryConfigurationHasBeenSet; } inline void SetSelfManagedActiveDirectoryConfiguration(const SelfManagedActiveDirectoryConfigurationUpdates& value) { m_selfManagedActiveDirectoryConfigurationHasBeenSet = true; m_selfManagedActiveDirectoryConfiguration = value; } inline void SetSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationUpdates&& value) { m_selfManagedActiveDirectoryConfigurationHasBeenSet = true; m_selfManagedActiveDirectoryConfiguration = std::move(value); } inline UpdateSvmActiveDirectoryConfiguration& WithSelfManagedActiveDirectoryConfiguration(const SelfManagedActiveDirectoryConfigurationUpdates& value) { SetSelfManagedActiveDirectoryConfiguration(value); return *this;} inline UpdateSvmActiveDirectoryConfiguration& WithSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationUpdates&& value) { SetSelfManagedActiveDirectoryConfiguration(std::move(value)); return *this;} /** *

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

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

Specifies an updated NetBIOS name of the AD computer object * NetBiosName to which an SVM is joined.

*/ inline UpdateSvmActiveDirectoryConfiguration& WithNetBiosName(const char* value) { SetNetBiosName(value); return *this;} private: SelfManagedActiveDirectoryConfigurationUpdates m_selfManagedActiveDirectoryConfiguration; bool m_selfManagedActiveDirectoryConfigurationHasBeenSet = false; Aws::String m_netBiosName; bool m_netBiosNameHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws