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

Contains the results for the CreateComputer operation.

See * Also:

AWS * API Reference

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

A Computer object that represents the computer account.

*/ inline const Computer& GetComputer() const{ return m_computer; } /** *

A Computer object that represents the computer account.

*/ inline void SetComputer(const Computer& value) { m_computer = value; } /** *

A Computer object that represents the computer account.

*/ inline void SetComputer(Computer&& value) { m_computer = std::move(value); } /** *

A Computer object that represents the computer account.

*/ inline CreateComputerResult& WithComputer(const Computer& value) { SetComputer(value); return *this;} /** *

A Computer object that represents the computer account.

*/ inline CreateComputerResult& WithComputer(Computer&& value) { SetComputer(std::move(value)); return *this;} private: Computer m_computer; }; } // namespace Model } // namespace DirectoryService } // namespace Aws