/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a component dependency for a Lambda function
* component.See Also:
AWS
* API Reference
The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline const Aws::String& GetVersionRequirement() const{ return m_versionRequirement; } /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline bool VersionRequirementHasBeenSet() const { return m_versionRequirementHasBeenSet; } /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline void SetVersionRequirement(const Aws::String& value) { m_versionRequirementHasBeenSet = true; m_versionRequirement = value; } /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline void SetVersionRequirement(Aws::String&& value) { m_versionRequirementHasBeenSet = true; m_versionRequirement = std::move(value); } /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline void SetVersionRequirement(const char* value) { m_versionRequirementHasBeenSet = true; m_versionRequirement.assign(value); } /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline ComponentDependencyRequirement& WithVersionRequirement(const Aws::String& value) { SetVersionRequirement(value); return *this;} /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline ComponentDependencyRequirement& WithVersionRequirement(Aws::String&& value) { SetVersionRequirement(std::move(value)); return *this;} /** *The component version requirement for the component dependency.
IoT * Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
*/ inline ComponentDependencyRequirement& WithVersionRequirement(const char* value) { SetVersionRequirement(value); return *this;} /** *The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD
The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD
The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD
The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD
The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD
The type of this dependency. Choose from the following options:
SOFT
– The component doesn't restart if the dependency changes
* state.
HARD
– The component restarts if the
* dependency changes state.
Default: HARD