7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
11#include <aws/greengrassv2/model/ComponentDependencyRequirement.h>
12#include <aws/greengrassv2/model/ComponentPlatform.h>
13#include <aws/greengrassv2/model/LambdaExecutionParameters.h>
24namespace GreengrassV2 {
49 template <
typename LambdaArnT = Aws::String>
51 m_lambdaArnHasBeenSet =
true;
52 m_lambdaArn = std::forward<LambdaArnT>(value);
54 template <
typename LambdaArnT = Aws::String>
68 template <
typename ComponentNameT = Aws::String>
70 m_componentNameHasBeenSet =
true;
71 m_componentName = std::forward<ComponentNameT>(value);
73 template <
typename ComponentNameT = Aws::String>
88 template <
typename ComponentVersionT = Aws::String>
90 m_componentVersionHasBeenSet =
true;
91 m_componentVersion = std::forward<ComponentVersionT>(value);
93 template <
typename ComponentVersionT = Aws::String>
106 template <
typename ComponentPlatformsT = Aws::Vector<ComponentPlatform>>
108 m_componentPlatformsHasBeenSet =
true;
109 m_componentPlatforms = std::forward<ComponentPlatformsT>(value);
111 template <
typename ComponentPlatformsT = Aws::Vector<ComponentPlatform>>
116 template <
typename ComponentPlatformsT = ComponentPlatform>
118 m_componentPlatformsHasBeenSet =
true;
119 m_componentPlatforms.emplace_back(std::forward<ComponentPlatformsT>(value));
130 template <
typename ComponentDependenciesT = Aws::Map<Aws::String, ComponentDependencyRequirement>>
132 m_componentDependenciesHasBeenSet =
true;
133 m_componentDependencies = std::forward<ComponentDependenciesT>(value);
135 template <
typename ComponentDependenciesT = Aws::Map<Aws::String, ComponentDependencyRequirement>>
140 template <
typename ComponentDependenciesKeyT = Aws::String,
typename ComponentDependenciesValueT = ComponentDependencyRequirement>
142 m_componentDependenciesHasBeenSet =
true;
143 m_componentDependencies.emplace(std::forward<ComponentDependenciesKeyT>(key), std::forward<ComponentDependenciesValueT>(value));
155 template <
typename ComponentLambdaParametersT = LambdaExecutionParameters>
157 m_componentLambdaParametersHasBeenSet =
true;
158 m_componentLambdaParameters = std::forward<ComponentLambdaParametersT>(value);
160 template <
typename ComponentLambdaParametersT = LambdaExecutionParameters>
178 bool m_lambdaArnHasBeenSet =
false;
179 bool m_componentNameHasBeenSet =
false;
180 bool m_componentVersionHasBeenSet =
false;
181 bool m_componentPlatformsHasBeenSet =
false;
182 bool m_componentDependenciesHasBeenSet =
false;
183 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