7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/greengrassv2/model/LambdaExecutionParameters.h>
12#include <aws/greengrassv2/model/ComponentPlatform.h>
13#include <aws/greengrassv2/model/ComponentDependencyRequirement.h>
55 template<
typename LambdaArnT = Aws::String>
56 void SetLambdaArn(LambdaArnT&& value) { m_lambdaArnHasBeenSet =
true; m_lambdaArn = std::forward<LambdaArnT>(value); }
57 template<
typename LambdaArnT = Aws::String>
68 template<
typename ComponentNameT = Aws::String>
69 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
70 template<
typename ComponentNameT = Aws::String>
82 template<
typename ComponentVersionT = Aws::String>
83 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet =
true; m_componentVersion = std::forward<ComponentVersionT>(value); }
84 template<
typename ComponentVersionT = Aws::String>
94 template<
typename ComponentPlatformsT = Aws::Vector<ComponentPlatform>>
95 void SetComponentPlatforms(ComponentPlatformsT&& value) { m_componentPlatformsHasBeenSet =
true; m_componentPlatforms = std::forward<ComponentPlatformsT>(value); }
96 template<
typename ComponentPlatformsT = Aws::Vector<ComponentPlatform>>
98 template<
typename ComponentPlatformsT = ComponentPlatform>
108 template<
typename ComponentDependenciesT = Aws::Map<Aws::String, ComponentDependencyRequirement>>
109 void SetComponentDependencies(ComponentDependenciesT&& value) { m_componentDependenciesHasBeenSet =
true; m_componentDependencies = std::forward<ComponentDependenciesT>(value); }
110 template<
typename ComponentDependenciesT = Aws::Map<Aws::String, ComponentDependencyRequirement>>
112 template<
typename ComponentDependenciesKeyT = Aws::String,
typename ComponentDependenciesValueT = ComponentDependencyRequirement>
114 m_componentDependenciesHasBeenSet =
true; m_componentDependencies.emplace(std::forward<ComponentDependenciesKeyT>(key), std::forward<ComponentDependenciesValueT>(value));
return *
this;
125 template<
typename ComponentLambdaParametersT = LambdaExecutionParameters>
126 void SetComponentLambdaParameters(ComponentLambdaParametersT&& value) { m_componentLambdaParametersHasBeenSet =
true; m_componentLambdaParameters = std::forward<ComponentLambdaParametersT>(value); }
127 template<
typename ComponentLambdaParametersT = LambdaExecutionParameters>
133 bool m_lambdaArnHasBeenSet =
false;
136 bool m_componentNameHasBeenSet =
false;
139 bool m_componentVersionHasBeenSet =
false;
142 bool m_componentPlatformsHasBeenSet =
false;
145 bool m_componentDependenciesHasBeenSet =
false;
148 bool m_componentLambdaParametersHasBeenSet =
false;
const Aws::String & GetLambdaArn() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetComponentVersion() const
const LambdaExecutionParameters & GetComponentLambdaParameters() const
void SetComponentPlatforms(ComponentPlatformsT &&value)
LambdaFunctionRecipeSource & AddComponentPlatforms(ComponentPlatformsT &&value)
bool ComponentNameHasBeenSet() const
void SetComponentVersion(ComponentVersionT &&value)
const Aws::Map< Aws::String, ComponentDependencyRequirement > & GetComponentDependencies() const
bool ComponentDependenciesHasBeenSet() const
LambdaFunctionRecipeSource & WithComponentVersion(ComponentVersionT &&value)
bool ComponentLambdaParametersHasBeenSet() const
const Aws::String & GetComponentName() const
AWS_GREENGRASSV2_API LambdaFunctionRecipeSource(Aws::Utils::Json::JsonView jsonValue)
bool ComponentVersionHasBeenSet() const
void SetComponentDependencies(ComponentDependenciesT &&value)
LambdaFunctionRecipeSource & WithLambdaArn(LambdaArnT &&value)
bool LambdaArnHasBeenSet() const
bool ComponentPlatformsHasBeenSet() const
LambdaFunctionRecipeSource & WithComponentPlatforms(ComponentPlatformsT &&value)
LambdaFunctionRecipeSource & WithComponentDependencies(ComponentDependenciesT &&value)
AWS_GREENGRASSV2_API LambdaFunctionRecipeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionRecipeSource & AddComponentDependencies(ComponentDependenciesKeyT &&key, ComponentDependenciesValueT &&value)
void SetLambdaArn(LambdaArnT &&value)
const Aws::Vector< ComponentPlatform > & GetComponentPlatforms() const
void SetComponentLambdaParameters(ComponentLambdaParametersT &&value)
AWS_GREENGRASSV2_API LambdaFunctionRecipeSource()=default
LambdaFunctionRecipeSource & WithComponentLambdaParameters(ComponentLambdaParametersT &&value)
void SetComponentName(ComponentNameT &&value)
LambdaFunctionRecipeSource & WithComponentName(ComponentNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue