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

Result of a CreateMicrosoftAD request.

See Also:

AWS * API Reference

*/ class AWS_DIRECTORYSERVICE_API CreateMicrosoftADResult { public: CreateMicrosoftADResult(); CreateMicrosoftADResult(const Aws::AmazonWebServiceResult& result); CreateMicrosoftADResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the directory that was created.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

The identifier of the directory that was created.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryId = value; } /** *

The identifier of the directory that was created.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryId = std::move(value); } /** *

The identifier of the directory that was created.

*/ inline void SetDirectoryId(const char* value) { m_directoryId.assign(value); } /** *

The identifier of the directory that was created.

*/ inline CreateMicrosoftADResult& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

The identifier of the directory that was created.

*/ inline CreateMicrosoftADResult& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

The identifier of the directory that was created.

*/ inline CreateMicrosoftADResult& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} private: Aws::String m_directoryId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws