/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an Lambda function to import to create a
* component.See Also:
AWS
* API Reference
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The ARN
* of the Lambda function. The ARN must include the version of the function to
* import. You can't use version aliases like $LATEST
.
The name of the component.
Defaults to the name of the Lambda * function.
*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline LambdaFunctionRecipeSource& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline LambdaFunctionRecipeSource& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *The name of the component.
Defaults to the name of the Lambda * function.
*/ inline LambdaFunctionRecipeSource& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The version of the component.
Defaults to the version of the Lambda
* function as a semantic version. For example, if your function version is
* 3
, the component version becomes 3.0.0
.
The platforms that the component version supports.
*/ inline const Aws::VectorThe platforms that the component version supports.
*/ inline bool ComponentPlatformsHasBeenSet() const { return m_componentPlatformsHasBeenSet; } /** *The platforms that the component version supports.
*/ inline void SetComponentPlatforms(const Aws::VectorThe platforms that the component version supports.
*/ inline void SetComponentPlatforms(Aws::VectorThe platforms that the component version supports.
*/ inline LambdaFunctionRecipeSource& WithComponentPlatforms(const Aws::VectorThe platforms that the component version supports.
*/ inline LambdaFunctionRecipeSource& WithComponentPlatforms(Aws::VectorThe platforms that the component version supports.
*/ inline LambdaFunctionRecipeSource& AddComponentPlatforms(const ComponentPlatform& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms.push_back(value); return *this; } /** *The platforms that the component version supports.
*/ inline LambdaFunctionRecipeSource& AddComponentPlatforms(ComponentPlatform&& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms.push_back(std::move(value)); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline const Aws::MapThe component versions on which this Lambda function component depends.
*/ inline bool ComponentDependenciesHasBeenSet() const { return m_componentDependenciesHasBeenSet; } /** *The component versions on which this Lambda function component depends.
*/ inline void SetComponentDependencies(const Aws::MapThe component versions on which this Lambda function component depends.
*/ inline void SetComponentDependencies(Aws::MapThe component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& WithComponentDependencies(const Aws::MapThe component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& WithComponentDependencies(Aws::MapThe component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(const Aws::String& key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, value); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(Aws::String&& key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(std::move(key), value); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(const Aws::String& key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, std::move(value)); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(Aws::String&& key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(std::move(key), std::move(value)); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(const char* key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, std::move(value)); return *this; } /** *The component versions on which this Lambda function component depends.
*/ inline LambdaFunctionRecipeSource& AddComponentDependencies(const char* key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, value); return *this; } /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline const LambdaExecutionParameters& GetComponentLambdaParameters() const{ return m_componentLambdaParameters; } /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline bool ComponentLambdaParametersHasBeenSet() const { return m_componentLambdaParametersHasBeenSet; } /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline void SetComponentLambdaParameters(const LambdaExecutionParameters& value) { m_componentLambdaParametersHasBeenSet = true; m_componentLambdaParameters = value; } /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline void SetComponentLambdaParameters(LambdaExecutionParameters&& value) { m_componentLambdaParametersHasBeenSet = true; m_componentLambdaParameters = std::move(value); } /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline LambdaFunctionRecipeSource& WithComponentLambdaParameters(const LambdaExecutionParameters& value) { SetComponentLambdaParameters(value); return *this;} /** *The system and runtime parameters for the Lambda function as it runs on the * Greengrass core device.
*/ inline LambdaFunctionRecipeSource& WithComponentLambdaParameters(LambdaExecutionParameters&& value) { SetComponentLambdaParameters(std::move(value)); return *this;} private: Aws::String m_lambdaArn; bool m_lambdaArnHasBeenSet = false; Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_componentVersion; bool m_componentVersionHasBeenSet = false; Aws::Vector