7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codedeploy/model/TargetStatus.h>
12#include <aws/codedeploy/model/LifecycleEvent.h>
13#include <aws/codedeploy/model/ECSTaskSet.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); }
145 bool m_deploymentIdHasBeenSet =
false;
148 bool m_targetIdHasBeenSet =
false;
151 bool m_targetArnHasBeenSet =
false;
154 bool m_lastUpdatedAtHasBeenSet =
false;
157 bool m_lifecycleEventsHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
163 bool m_taskSetsInfoHasBeenSet =
false;
ECSTarget & AddLifecycleEvents(const LifecycleEvent &value)
ECSTarget & AddTaskSetsInfo(ECSTaskSet &&value)
ECSTarget & AddLifecycleEvents(LifecycleEvent &&value)
void SetTargetId(const Aws::String &value)
ECSTarget & WithTargetId(const Aws::String &value)
bool LifecycleEventsHasBeenSet() const
void SetStatus(const TargetStatus &value)
bool StatusHasBeenSet() const
bool TaskSetsInfoHasBeenSet() const
void SetTargetId(const char *value)
ECSTarget & WithDeploymentId(Aws::String &&value)
ECSTarget & WithTaskSetsInfo(const Aws::Vector< ECSTaskSet > &value)
ECSTarget & WithLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
ECSTarget & WithLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
void SetDeploymentId(const char *value)
ECSTarget & WithStatus(const TargetStatus &value)
AWS_CODEDEPLOY_API ECSTarget(Aws::Utils::Json::JsonView jsonValue)
bool TargetIdHasBeenSet() const
const TargetStatus & GetStatus() const
void SetTaskSetsInfo(const Aws::Vector< ECSTaskSet > &value)
ECSTarget & WithDeploymentId(const Aws::String &value)
void SetTargetArn(const Aws::String &value)
const Aws::Vector< ECSTaskSet > & GetTaskSetsInfo() const
ECSTarget & WithTargetArn(const Aws::String &value)
void SetLifecycleEvents(const Aws::Vector< LifecycleEvent > &value)
const Aws::String & GetTargetArn() const
void SetDeploymentId(Aws::String &&value)
ECSTarget & WithStatus(TargetStatus &&value)
ECSTarget & WithTargetArn(const char *value)
bool LastUpdatedAtHasBeenSet() const
ECSTarget & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_CODEDEPLOY_API ECSTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetArn(Aws::String &&value)
ECSTarget & WithTargetId(const char *value)
ECSTarget & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
bool TargetArnHasBeenSet() const
void SetTaskSetsInfo(Aws::Vector< ECSTaskSet > &&value)
void SetStatus(TargetStatus &&value)
ECSTarget & WithTaskSetsInfo(Aws::Vector< ECSTaskSet > &&value)
const Aws::String & GetTargetId() const
ECSTarget & WithDeploymentId(const char *value)
AWS_CODEDEPLOY_API ECSTarget()
bool DeploymentIdHasBeenSet() const
ECSTarget & WithTargetId(Aws::String &&value)
void SetDeploymentId(const Aws::String &value)
void SetLifecycleEvents(Aws::Vector< LifecycleEvent > &&value)
ECSTarget & AddTaskSetsInfo(const ECSTaskSet &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetArn(const char *value)
ECSTarget & WithTargetArn(Aws::String &&value)
const Aws::Vector< LifecycleEvent > & GetLifecycleEvents() const
const Aws::String & GetDeploymentId() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetTargetId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &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