7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename FunctionNameT = Aws::String>
43 m_functionNameHasBeenSet =
true;
44 m_functionName = std::forward<FunctionNameT>(value);
46 template <
typename FunctionNameT = Aws::String>
61 template <
typename FunctionAliasT = Aws::String>
63 m_functionAliasHasBeenSet =
true;
64 m_functionAlias = std::forward<FunctionAliasT>(value);
66 template <
typename FunctionAliasT = Aws::String>
79 template <
typename CurrentVersionT = Aws::String>
81 m_currentVersionHasBeenSet =
true;
82 m_currentVersion = std::forward<CurrentVersionT>(value);
84 template <
typename CurrentVersionT = Aws::String>
98 template <
typename TargetVersionT = Aws::String>
100 m_targetVersionHasBeenSet =
true;
101 m_targetVersion = std::forward<TargetVersionT>(value);
103 template <
typename TargetVersionT = Aws::String>
118 m_targetVersionWeightHasBeenSet =
true;
119 m_targetVersionWeight = value;
135 double m_targetVersionWeight{0.0};
136 bool m_functionNameHasBeenSet =
false;
137 bool m_functionAliasHasBeenSet =
false;
138 bool m_currentVersionHasBeenSet =
false;
139 bool m_targetVersionHasBeenSet =
false;
140 bool m_targetVersionWeightHasBeenSet =
false;
AWS_CODEDEPLOY_API LambdaFunctionInfo()=default
const Aws::String & GetFunctionName() const
const Aws::String & GetCurrentVersion() const
bool CurrentVersionHasBeenSet() const
const Aws::String & GetTargetVersion() const
AWS_CODEDEPLOY_API LambdaFunctionInfo(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionInfo & WithTargetVersionWeight(double value)
AWS_CODEDEPLOY_API LambdaFunctionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFunctionAlias() const
bool TargetVersionWeightHasBeenSet() const
bool FunctionAliasHasBeenSet() const
bool FunctionNameHasBeenSet() const
void SetFunctionAlias(FunctionAliasT &&value)
void SetCurrentVersion(CurrentVersionT &&value)
void SetTargetVersionWeight(double value)
LambdaFunctionInfo & WithTargetVersion(TargetVersionT &&value)
LambdaFunctionInfo & WithCurrentVersion(CurrentVersionT &&value)
bool TargetVersionHasBeenSet() const
double GetTargetVersionWeight() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetVersion(TargetVersionT &&value)
LambdaFunctionInfo & WithFunctionName(FunctionNameT &&value)
void SetFunctionName(FunctionNameT &&value)
LambdaFunctionInfo & WithFunctionAlias(FunctionAliasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue