7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename FunctionNameT = Aws::String>
48 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
49 template<
typename FunctionNameT = Aws::String>
61 template<
typename FunctionAliasT = Aws::String>
62 void SetFunctionAlias(FunctionAliasT&& value) { m_functionAliasHasBeenSet =
true; m_functionAlias = std::forward<FunctionAliasT>(value); }
63 template<
typename FunctionAliasT = Aws::String>
73 template<
typename CurrentVersionT = Aws::String>
74 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
75 template<
typename CurrentVersionT = Aws::String>
86 template<
typename TargetVersionT = Aws::String>
87 void SetTargetVersion(TargetVersionT&& value) { m_targetVersionHasBeenSet =
true; m_targetVersion = std::forward<TargetVersionT>(value); }
88 template<
typename TargetVersionT = Aws::String>
99 inline void SetTargetVersionWeight(
double value) { m_targetVersionWeightHasBeenSet =
true; m_targetVersionWeight = value; }
105 bool m_functionNameHasBeenSet =
false;
108 bool m_functionAliasHasBeenSet =
false;
111 bool m_currentVersionHasBeenSet =
false;
114 bool m_targetVersionHasBeenSet =
false;
116 double m_targetVersionWeight{0.0};
117 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