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

The Function object.

*/ inline const FunctionConfiguration& GetFunctionConfiguration() const{ return m_functionConfiguration; } /** *

The Function object.

*/ inline void SetFunctionConfiguration(const FunctionConfiguration& value) { m_functionConfiguration = value; } /** *

The Function object.

*/ inline void SetFunctionConfiguration(FunctionConfiguration&& value) { m_functionConfiguration = std::move(value); } /** *

The Function object.

*/ inline CreateFunctionResult& WithFunctionConfiguration(const FunctionConfiguration& value) { SetFunctionConfiguration(value); return *this;} /** *

The Function object.

*/ inline CreateFunctionResult& WithFunctionConfiguration(FunctionConfiguration&& value) { SetFunctionConfiguration(std::move(value)); return *this;} private: FunctionConfiguration m_functionConfiguration; }; } // namespace Model } // namespace AppSync } // namespace Aws