AWS SDK for C++  1.9.123
AWS SDK for C++
LambdaFunctionRecipeSource.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace GreengrassV2
27 {
28 namespace Model
29 {
30 
38  {
39  public:
44 
45 
52  inline const Aws::String& GetLambdaArn() const{ return m_lambdaArn; }
53 
60  inline bool LambdaArnHasBeenSet() const { return m_lambdaArnHasBeenSet; }
61 
68  inline void SetLambdaArn(const Aws::String& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = value; }
69 
76  inline void SetLambdaArn(Aws::String&& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = std::move(value); }
77 
84  inline void SetLambdaArn(const char* value) { m_lambdaArnHasBeenSet = true; m_lambdaArn.assign(value); }
85 
92  inline LambdaFunctionRecipeSource& WithLambdaArn(const Aws::String& value) { SetLambdaArn(value); return *this;}
93 
100  inline LambdaFunctionRecipeSource& WithLambdaArn(Aws::String&& value) { SetLambdaArn(std::move(value)); return *this;}
101 
108  inline LambdaFunctionRecipeSource& WithLambdaArn(const char* value) { SetLambdaArn(value); return *this;}
109 
110 
115  inline const Aws::String& GetComponentName() const{ return m_componentName; }
116 
121  inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
122 
127  inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
128 
133  inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
134 
139  inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
140 
145  inline LambdaFunctionRecipeSource& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
146 
151  inline LambdaFunctionRecipeSource& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
152 
157  inline LambdaFunctionRecipeSource& WithComponentName(const char* value) { SetComponentName(value); return *this;}
158 
159 
165  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
166 
172  inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
173 
179  inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
180 
186  inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
187 
193  inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
194 
200  inline LambdaFunctionRecipeSource& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
201 
207  inline LambdaFunctionRecipeSource& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
208 
214  inline LambdaFunctionRecipeSource& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
215 
216 
220  inline const Aws::Vector<ComponentPlatform>& GetComponentPlatforms() const{ return m_componentPlatforms; }
221 
225  inline bool ComponentPlatformsHasBeenSet() const { return m_componentPlatformsHasBeenSet; }
226 
230  inline void SetComponentPlatforms(const Aws::Vector<ComponentPlatform>& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms = value; }
231 
235  inline void SetComponentPlatforms(Aws::Vector<ComponentPlatform>&& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms = std::move(value); }
236 
240  inline LambdaFunctionRecipeSource& WithComponentPlatforms(const Aws::Vector<ComponentPlatform>& value) { SetComponentPlatforms(value); return *this;}
241 
245  inline LambdaFunctionRecipeSource& WithComponentPlatforms(Aws::Vector<ComponentPlatform>&& value) { SetComponentPlatforms(std::move(value)); return *this;}
246 
250  inline LambdaFunctionRecipeSource& AddComponentPlatforms(const ComponentPlatform& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms.push_back(value); return *this; }
251 
255  inline LambdaFunctionRecipeSource& AddComponentPlatforms(ComponentPlatform&& value) { m_componentPlatformsHasBeenSet = true; m_componentPlatforms.push_back(std::move(value)); return *this; }
256 
257 
261  inline const Aws::Map<Aws::String, ComponentDependencyRequirement>& GetComponentDependencies() const{ return m_componentDependencies; }
262 
266  inline bool ComponentDependenciesHasBeenSet() const { return m_componentDependenciesHasBeenSet; }
267 
271  inline void SetComponentDependencies(const Aws::Map<Aws::String, ComponentDependencyRequirement>& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies = value; }
272 
276  inline void SetComponentDependencies(Aws::Map<Aws::String, ComponentDependencyRequirement>&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies = std::move(value); }
277 
281  inline LambdaFunctionRecipeSource& WithComponentDependencies(const Aws::Map<Aws::String, ComponentDependencyRequirement>& value) { SetComponentDependencies(value); return *this;}
282 
286  inline LambdaFunctionRecipeSource& WithComponentDependencies(Aws::Map<Aws::String, ComponentDependencyRequirement>&& value) { SetComponentDependencies(std::move(value)); return *this;}
287 
291  inline LambdaFunctionRecipeSource& AddComponentDependencies(const Aws::String& key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, value); return *this; }
292 
296  inline LambdaFunctionRecipeSource& AddComponentDependencies(Aws::String&& key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(std::move(key), value); return *this; }
297 
301  inline LambdaFunctionRecipeSource& AddComponentDependencies(const Aws::String& key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, std::move(value)); return *this; }
302 
306  inline LambdaFunctionRecipeSource& AddComponentDependencies(Aws::String&& key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(std::move(key), std::move(value)); return *this; }
307 
311  inline LambdaFunctionRecipeSource& AddComponentDependencies(const char* key, ComponentDependencyRequirement&& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, std::move(value)); return *this; }
312 
316  inline LambdaFunctionRecipeSource& AddComponentDependencies(const char* key, const ComponentDependencyRequirement& value) { m_componentDependenciesHasBeenSet = true; m_componentDependencies.emplace(key, value); return *this; }
317 
318 
323  inline const LambdaExecutionParameters& GetComponentLambdaParameters() const{ return m_componentLambdaParameters; }
324 
329  inline bool ComponentLambdaParametersHasBeenSet() const { return m_componentLambdaParametersHasBeenSet; }
330 
335  inline void SetComponentLambdaParameters(const LambdaExecutionParameters& value) { m_componentLambdaParametersHasBeenSet = true; m_componentLambdaParameters = value; }
336 
341  inline void SetComponentLambdaParameters(LambdaExecutionParameters&& value) { m_componentLambdaParametersHasBeenSet = true; m_componentLambdaParameters = std::move(value); }
342 
347  inline LambdaFunctionRecipeSource& WithComponentLambdaParameters(const LambdaExecutionParameters& value) { SetComponentLambdaParameters(value); return *this;}
348 
353  inline LambdaFunctionRecipeSource& WithComponentLambdaParameters(LambdaExecutionParameters&& value) { SetComponentLambdaParameters(std::move(value)); return *this;}
354 
355  private:
356 
357  Aws::String m_lambdaArn;
358  bool m_lambdaArnHasBeenSet;
359 
360  Aws::String m_componentName;
361  bool m_componentNameHasBeenSet;
362 
363  Aws::String m_componentVersion;
364  bool m_componentVersionHasBeenSet;
365 
366  Aws::Vector<ComponentPlatform> m_componentPlatforms;
367  bool m_componentPlatformsHasBeenSet;
368 
370  bool m_componentDependenciesHasBeenSet;
371 
372  LambdaExecutionParameters m_componentLambdaParameters;
373  bool m_componentLambdaParametersHasBeenSet;
374  };
375 
376 } // namespace Model
377 } // namespace GreengrassV2
378 } // namespace Aws
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentLambdaParameters
LambdaFunctionRecipeSource & WithComponentLambdaParameters(LambdaExecutionParameters &&value)
Definition: LambdaFunctionRecipeSource.h:353
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentName
LambdaFunctionRecipeSource & WithComponentName(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:151
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::ComponentDependenciesHasBeenSet
bool ComponentDependenciesHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:266
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::LambdaFunctionRecipeSource
LambdaFunctionRecipeSource(Aws::Utils::Json::JsonView jsonValue)
ComponentPlatform.h
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(Aws::String &&key, const ComponentDependencyRequirement &value)
Definition: LambdaFunctionRecipeSource.h:296
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(const Aws::String &key, ComponentDependencyRequirement &&value)
Definition: LambdaFunctionRecipeSource.h:301
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetLambdaArn
void SetLambdaArn(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:76
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentDependencies
LambdaFunctionRecipeSource & WithComponentDependencies(Aws::Map< Aws::String, ComponentDependencyRequirement > &&value)
Definition: LambdaFunctionRecipeSource.h:286
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::LambdaArnHasBeenSet
bool LambdaArnHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:60
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithLambdaArn
LambdaFunctionRecipeSource & WithLambdaArn(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:100
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentName
void SetComponentName(const char *value)
Definition: LambdaFunctionRecipeSource.h:139
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetLambdaArn
void SetLambdaArn(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:68
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: LambdaFunctionRecipeSource.h:165
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(Aws::String &&key, ComponentDependencyRequirement &&value)
Definition: LambdaFunctionRecipeSource.h:306
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::ComponentVersionHasBeenSet
bool ComponentVersionHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:172
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithLambdaArn
LambdaFunctionRecipeSource & WithLambdaArn(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:92
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentLambdaParameters
void SetComponentLambdaParameters(const LambdaExecutionParameters &value)
Definition: LambdaFunctionRecipeSource.h:335
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentLambdaParameters
LambdaFunctionRecipeSource & WithComponentLambdaParameters(const LambdaExecutionParameters &value)
Definition: LambdaFunctionRecipeSource.h:347
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(const char *key, ComponentDependencyRequirement &&value)
Definition: LambdaFunctionRecipeSource.h:311
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::ComponentNameHasBeenSet
bool ComponentNameHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:121
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentDependencies
void SetComponentDependencies(const Aws::Map< Aws::String, ComponentDependencyRequirement > &value)
Definition: LambdaFunctionRecipeSource.h:271
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentVersion
LambdaFunctionRecipeSource & WithComponentVersion(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:200
GreengrassV2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::ComponentPlatformsHasBeenSet
bool ComponentPlatformsHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:225
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentPlatforms
LambdaFunctionRecipeSource & WithComponentPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: LambdaFunctionRecipeSource.h:240
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::operator=
LambdaFunctionRecipeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
LambdaExecutionParameters.h
Aws::GreengrassV2::Model::LambdaExecutionParameters
Definition: LambdaExecutionParameters.h:38
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentPlatforms
LambdaFunctionRecipeSource & WithComponentPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: LambdaFunctionRecipeSource.h:245
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentPlatforms
LambdaFunctionRecipeSource & AddComponentPlatforms(const ComponentPlatform &value)
Definition: LambdaFunctionRecipeSource.h:250
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetComponentLambdaParameters
const LambdaExecutionParameters & GetComponentLambdaParameters() const
Definition: LambdaFunctionRecipeSource.h:323
ComponentDependencyRequirement.h
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource
Definition: LambdaFunctionRecipeSource.h:38
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:127
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:179
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentPlatforms
LambdaFunctionRecipeSource & AddComponentPlatforms(ComponentPlatform &&value)
Definition: LambdaFunctionRecipeSource.h:255
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: LambdaFunctionRecipeSource.h:193
Aws::GreengrassV2::Model::ComponentPlatform
Definition: ComponentPlatform.h:34
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentVersion
LambdaFunctionRecipeSource & WithComponentVersion(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:207
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetLambdaArn
void SetLambdaArn(const char *value)
Definition: LambdaFunctionRecipeSource.h:84
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentVersion
LambdaFunctionRecipeSource & WithComponentVersion(const char *value)
Definition: LambdaFunctionRecipeSource.h:214
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetComponentDependencies
const Aws::Map< Aws::String, ComponentDependencyRequirement > & GetComponentDependencies() const
Definition: LambdaFunctionRecipeSource.h:261
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GreengrassV2::Model::ComponentDependencyRequirement
Definition: ComponentDependencyRequirement.h:34
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentName
LambdaFunctionRecipeSource & WithComponentName(const Aws::String &value)
Definition: LambdaFunctionRecipeSource.h:145
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentPlatforms
void SetComponentPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: LambdaFunctionRecipeSource.h:235
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentDependencies
LambdaFunctionRecipeSource & WithComponentDependencies(const Aws::Map< Aws::String, ComponentDependencyRequirement > &value)
Definition: LambdaFunctionRecipeSource.h:281
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetComponentName
const Aws::String & GetComponentName() const
Definition: LambdaFunctionRecipeSource.h:115
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:133
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentLambdaParameters
void SetComponentLambdaParameters(LambdaExecutionParameters &&value)
Definition: LambdaFunctionRecipeSource.h:341
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetLambdaArn
const Aws::String & GetLambdaArn() const
Definition: LambdaFunctionRecipeSource.h:52
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::GetComponentPlatforms
const Aws::Vector< ComponentPlatform > & GetComponentPlatforms() const
Definition: LambdaFunctionRecipeSource.h:220
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::ComponentLambdaParametersHasBeenSet
bool ComponentLambdaParametersHasBeenSet() const
Definition: LambdaFunctionRecipeSource.h:329
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentPlatforms
void SetComponentPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: LambdaFunctionRecipeSource.h:230
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(const Aws::String &key, const ComponentDependencyRequirement &value)
Definition: LambdaFunctionRecipeSource.h:291
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentDependencies
void SetComponentDependencies(Aws::Map< Aws::String, ComponentDependencyRequirement > &&value)
Definition: LambdaFunctionRecipeSource.h:276
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: LambdaFunctionRecipeSource.h:186
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithLambdaArn
LambdaFunctionRecipeSource & WithLambdaArn(const char *value)
Definition: LambdaFunctionRecipeSource.h:108
AWSMap.h
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::AddComponentDependencies
LambdaFunctionRecipeSource & AddComponentDependencies(const char *key, const ComponentDependencyRequirement &value)
Definition: LambdaFunctionRecipeSource.h:316
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::WithComponentName
LambdaFunctionRecipeSource & WithComponentName(const char *value)
Definition: LambdaFunctionRecipeSource.h:157
Aws::GreengrassV2::Model::LambdaFunctionRecipeSource::LambdaFunctionRecipeSource
LambdaFunctionRecipeSource()