7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/TargetStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codedeploy/model/LambdaFunctionInfo.h>
13#include <aws/codedeploy/model/LifecycleEvent.h>
54 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
69 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
83 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
143 bool m_deploymentIdHasBeenSet =
false;
146 bool m_targetIdHasBeenSet =
false;
149 bool m_targetArnHasBeenSet =
false;
152 bool m_statusHasBeenSet =
false;
155 bool m_lastUpdatedAtHasBeenSet =
false;
158 bool m_lifecycleEventsHasBeenSet =
false;
161 bool m_lambdaFunctionInfoHasBeenSet =
false;
bool LifecycleEventsHasBeenSet() const
void SetStatus(const TargetStatus &value)
bool TargetIdHasBeenSet() const
void SetTargetArn(const Aws::String &value)
const Aws::Vector< LifecycleEvent > & GetLifecycleEvents() const
bool LastUpdatedAtHasBeenSet() const
LambdaTarget & WithTargetId(const Aws::String &value)
void SetTargetId(Aws::String &&value)
const TargetStatus & GetStatus() const
void SetDeploymentId(Aws::String &&value)
AWS_CODEDEPLOY_API LambdaTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API LambdaTarget()
LambdaTarget & AddLifecycleEvents(const LifecycleEvent &value)
LambdaTarget & WithLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
LambdaTarget & WithLambdaFunctionInfo(LambdaFunctionInfo &&value)
bool LambdaFunctionInfoHasBeenSet() const
const Aws::String & GetDeploymentId() const
LambdaTarget & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
LambdaTarget & WithLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
LambdaTarget & WithTargetArn(const Aws::String &value)
void SetLambdaFunctionInfo(LambdaFunctionInfo &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetId(const Aws::String &value)
LambdaTarget & WithTargetArn(const char *value)
bool TargetArnHasBeenSet() const
bool DeploymentIdHasBeenSet() const
void SetDeploymentId(const Aws::String &value)
void SetDeploymentId(const char *value)
const Aws::String & GetTargetId() const
LambdaTarget & WithStatus(TargetStatus &&value)
LambdaTarget & WithTargetId(const char *value)
void SetTargetId(const char *value)
void SetLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
void SetLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetTargetArn(const char *value)
void SetLambdaFunctionInfo(const LambdaFunctionInfo &value)
const Aws::String & GetTargetArn() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
LambdaTarget & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
LambdaTarget & WithLambdaFunctionInfo(const LambdaFunctionInfo &value)
bool StatusHasBeenSet() const
LambdaTarget & WithStatus(const TargetStatus &value)
LambdaTarget & WithTargetId(Aws::String &&value)
void SetTargetArn(Aws::String &&value)
void SetStatus(TargetStatus &&value)
AWS_CODEDEPLOY_API LambdaTarget(Aws::Utils::Json::JsonView jsonValue)
const LambdaFunctionInfo & GetLambdaFunctionInfo() const
LambdaTarget & WithDeploymentId(Aws::String &&value)
LambdaTarget & WithDeploymentId(const char *value)
LambdaTarget & AddLifecycleEvents(LifecycleEvent &&value)
LambdaTarget & WithDeploymentId(const Aws::String &value)
LambdaTarget & WithTargetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue