/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Active Directory.See Also:
AWS
* API Reference
The ID of the Active Directory used for authentication.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The ID of the Active Directory used for authentication.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The ID of the Active Directory used for authentication.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The ID of the Active Directory used for authentication.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The ID of the Active Directory used for authentication.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The ID of the Active Directory used for authentication.
*/ inline DirectoryServiceAuthentication& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The ID of the Active Directory used for authentication.
*/ inline DirectoryServiceAuthentication& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The ID of the Active Directory used for authentication.
*/ inline DirectoryServiceAuthentication& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws