/** * 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 ServiceDiscovery { namespace Model { class AWS_SERVICEDISCOVERY_API GetOperationResult { public: GetOperationResult(); GetOperationResult(const Aws::AmazonWebServiceResult& result); GetOperationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains information about the operation.

*/ inline const Operation& GetOperation() const{ return m_operation; } /** *

A complex type that contains information about the operation.

*/ inline void SetOperation(const Operation& value) { m_operation = value; } /** *

A complex type that contains information about the operation.

*/ inline void SetOperation(Operation&& value) { m_operation = std::move(value); } /** *

A complex type that contains information about the operation.

*/ inline GetOperationResult& WithOperation(const Operation& value) { SetOperation(value); return *this;} /** *

A complex type that contains information about the operation.

*/ inline GetOperationResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;} private: Operation m_operation; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws