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

The configuration that Amazon FSx uses to join the ONTAP storage virtual * machine (SVM) to your self-managed (including on-premises) Microsoft Active * Directory (AD) directory.

See Also:

AWS * API Reference

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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

The NetBIOS name of the Active Directory computer object that will be created * for your SVM.

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