/** * 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 AppSync { namespace Model { class CreateFunctionResult { public: AWS_APPSYNC_API CreateFunctionResult(); AWS_APPSYNC_API CreateFunctionResult(const Aws::AmazonWebServiceResult& result); AWS_APPSYNC_API 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;} 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 CreateFunctionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFunctionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFunctionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FunctionConfiguration m_functionConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace AppSync } // namespace Aws