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/TargetLabel.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); }
142 bool m_deploymentIdHasBeenSet =
false;
145 bool m_targetIdHasBeenSet =
false;
148 bool m_targetArnHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
154 bool m_lastUpdatedAtHasBeenSet =
false;
157 bool m_lifecycleEventsHasBeenSet =
false;
160 bool m_instanceLabelHasBeenSet =
false;
void SetTargetId(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
void SetDeploymentId(const Aws::String &value)
void SetDeploymentId(const char *value)
bool TargetArnHasBeenSet() const
InstanceTarget & WithTargetId(const char *value)
void SetInstanceLabel(TargetLabel &&value)
const TargetStatus & GetStatus() const
bool InstanceLabelHasBeenSet() const
AWS_CODEDEPLOY_API InstanceTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetId(Aws::String &&value)
InstanceTarget & WithLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
InstanceTarget & AddLifecycleEvents(const LifecycleEvent &value)
AWS_CODEDEPLOY_API InstanceTarget()
InstanceTarget & WithTargetArn(const char *value)
const Aws::String & GetTargetId() const
InstanceTarget & WithLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
AWS_CODEDEPLOY_API InstanceTarget(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
bool DeploymentIdHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
InstanceTarget & WithDeploymentId(const Aws::String &value)
const TargetLabel & GetInstanceLabel() const
InstanceTarget & WithTargetId(const Aws::String &value)
const Aws::Vector< LifecycleEvent > & GetLifecycleEvents() const
InstanceTarget & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
InstanceTarget & WithInstanceLabel(TargetLabel &&value)
bool LifecycleEventsHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
InstanceTarget & WithStatus(TargetStatus &&value)
InstanceTarget & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
InstanceTarget & WithTargetArn(const Aws::String &value)
InstanceTarget & WithTargetArn(Aws::String &&value)
void SetStatus(TargetStatus &&value)
InstanceTarget & WithInstanceLabel(const TargetLabel &value)
void SetTargetArn(const char *value)
InstanceTarget & WithDeploymentId(const char *value)
void SetTargetId(const char *value)
const Aws::String & GetDeploymentId() const
void SetTargetArn(Aws::String &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetIdHasBeenSet() const
InstanceTarget & WithStatus(const TargetStatus &value)
void SetStatus(const TargetStatus &value)
void SetTargetArn(const Aws::String &value)
InstanceTarget & AddLifecycleEvents(LifecycleEvent &&value)
InstanceTarget & WithDeploymentId(Aws::String &&value)
void SetDeploymentId(Aws::String &&value)
void SetLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetInstanceLabel(const TargetLabel &value)
const Aws::String & GetTargetArn() const
InstanceTarget & WithTargetId(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