/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Greengrass { namespace Model { /** * The default configuration that applies to all Lambda functions in the group. * Individual Lambda functions can override these settings.

See Also:

* AWS * API Reference

*/ class FunctionDefaultConfig { public: AWS_GREENGRASS_API FunctionDefaultConfig(); AWS_GREENGRASS_API FunctionDefaultConfig(Aws::Utils::Json::JsonView jsonValue); AWS_GREENGRASS_API FunctionDefaultConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const; inline const FunctionDefaultExecutionConfig& GetExecution() const{ return m_execution; } inline bool ExecutionHasBeenSet() const { return m_executionHasBeenSet; } inline void SetExecution(const FunctionDefaultExecutionConfig& value) { m_executionHasBeenSet = true; m_execution = value; } inline void SetExecution(FunctionDefaultExecutionConfig&& value) { m_executionHasBeenSet = true; m_execution = std::move(value); } inline FunctionDefaultConfig& WithExecution(const FunctionDefaultExecutionConfig& value) { SetExecution(value); return *this;} inline FunctionDefaultConfig& WithExecution(FunctionDefaultExecutionConfig&& value) { SetExecution(std::move(value)); return *this;} private: FunctionDefaultExecutionConfig m_execution; bool m_executionHasBeenSet = false; }; } // namespace Model } // namespace Greengrass } // namespace Aws