7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
65 inline void SetFunctionAlias(
const char* value) { m_functionAliasHasBeenSet =
true; m_functionAlias.assign(value); }
79 inline void SetCurrentVersion(
const char* value) { m_currentVersionHasBeenSet =
true; m_currentVersion.assign(value); }
94 inline void SetTargetVersion(
const char* value) { m_targetVersionHasBeenSet =
true; m_targetVersion.assign(value); }
107 inline void SetTargetVersionWeight(
double value) { m_targetVersionWeightHasBeenSet =
true; m_targetVersionWeight = value; }
113 bool m_functionNameHasBeenSet =
false;
116 bool m_functionAliasHasBeenSet =
false;
119 bool m_currentVersionHasBeenSet =
false;
122 bool m_targetVersionHasBeenSet =
false;
124 double m_targetVersionWeight;
125 bool m_targetVersionWeightHasBeenSet =
false;
void SetFunctionAlias(const Aws::String &value)
const Aws::String & GetFunctionName() const
LambdaFunctionInfo & WithCurrentVersion(const Aws::String &value)
const Aws::String & GetCurrentVersion() const
bool CurrentVersionHasBeenSet() const
LambdaFunctionInfo & WithTargetVersion(const char *value)
LambdaFunctionInfo & WithFunctionName(Aws::String &&value)
const Aws::String & GetTargetVersion() const
void SetCurrentVersion(const char *value)
void SetCurrentVersion(Aws::String &&value)
void SetTargetVersion(const Aws::String &value)
void SetCurrentVersion(const Aws::String &value)
LambdaFunctionInfo & WithFunctionName(const char *value)
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
void SetFunctionName(const char *value)
bool FunctionAliasHasBeenSet() const
bool FunctionNameHasBeenSet() const
LambdaFunctionInfo & WithFunctionAlias(Aws::String &&value)
void SetTargetVersionWeight(double value)
void SetFunctionName(const Aws::String &value)
bool TargetVersionHasBeenSet() const
LambdaFunctionInfo & WithFunctionAlias(const char *value)
void SetFunctionAlias(const char *value)
AWS_CODEDEPLOY_API LambdaFunctionInfo()
double GetTargetVersionWeight() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunctionInfo & WithTargetVersion(Aws::String &&value)
void SetFunctionAlias(Aws::String &&value)
LambdaFunctionInfo & WithTargetVersion(const Aws::String &value)
void SetTargetVersion(Aws::String &&value)
LambdaFunctionInfo & WithFunctionName(const Aws::String &value)
void SetTargetVersion(const char *value)
LambdaFunctionInfo & WithFunctionAlias(const Aws::String &value)
void SetFunctionName(Aws::String &&value)
LambdaFunctionInfo & WithCurrentVersion(Aws::String &&value)
LambdaFunctionInfo & WithCurrentVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue