/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 CreateComputerResult { public: AWS_DIRECTORYSERVICE_API CreateComputerResult(); AWS_DIRECTORYSERVICE_API CreateComputerResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateComputerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateComputerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateComputerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Computer m_computer; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws