7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/DeploymentLifecycleHookAction.h>
11#include <aws/ecs/model/DeploymentLifecycleHookStatus.h>
12#include <aws/ecs/model/DeploymentLifecycleHookTargetType.h>
49 template <
typename HookIdT = Aws::String>
51 m_hookIdHasBeenSet =
true;
52 m_hookId = std::forward<HookIdT>(value);
54 template <
typename HookIdT = Aws::String>
69 m_targetTypeHasBeenSet =
true;
86 template <
typename TargetArnT = Aws::String>
88 m_targetArnHasBeenSet =
true;
89 m_targetArn = std::forward<TargetArnT>(value);
91 template <
typename TargetArnT = Aws::String>
110 m_statusHasBeenSet =
true;
126 template <
typename ExpiresAtT = Aws::Utils::DateTime>
128 m_expiresAtHasBeenSet =
true;
129 m_expiresAt = std::forward<ExpiresAtT>(value);
131 template <
typename ExpiresAtT = Aws::Utils::DateTime>
146 m_timeoutActionHasBeenSet =
true;
147 m_timeoutAction = value;
166 bool m_hookIdHasBeenSet =
false;
167 bool m_targetTypeHasBeenSet =
false;
168 bool m_targetArnHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
170 bool m_expiresAtHasBeenSet =
false;
171 bool m_timeoutActionHasBeenSet =
false;
DeploymentLifecycleHookDetail & WithTimeoutAction(DeploymentLifecycleHookAction value)
DeploymentLifecycleHookDetail & WithStatus(DeploymentLifecycleHookStatus value)
const Aws::String & GetHookId() const
void SetStatus(DeploymentLifecycleHookStatus value)
AWS_ECS_API DeploymentLifecycleHookDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentLifecycleHookTargetType GetTargetType() const
const Aws::Utils::DateTime & GetExpiresAt() const
void SetTargetArn(TargetArnT &&value)
bool TargetArnHasBeenSet() const
bool StatusHasBeenSet() const
DeploymentLifecycleHookAction GetTimeoutAction() const
AWS_ECS_API DeploymentLifecycleHookDetail(Aws::Utils::Json::JsonView jsonValue)
bool HookIdHasBeenSet() const
void SetTargetType(DeploymentLifecycleHookTargetType value)
DeploymentLifecycleHookDetail & WithTargetType(DeploymentLifecycleHookTargetType value)
DeploymentLifecycleHookStatus GetStatus() const
DeploymentLifecycleHookDetail & WithTargetArn(TargetArnT &&value)
void SetTimeoutAction(DeploymentLifecycleHookAction value)
const Aws::String & GetTargetArn() const
bool ExpiresAtHasBeenSet() const
void SetExpiresAt(ExpiresAtT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API DeploymentLifecycleHookDetail()=default
bool TargetTypeHasBeenSet() const
void SetHookId(HookIdT &&value)
DeploymentLifecycleHookDetail & WithExpiresAt(ExpiresAtT &&value)
DeploymentLifecycleHookDetail & WithHookId(HookIdT &&value)
bool TimeoutActionHasBeenSet() const
DeploymentLifecycleHookTargetType
DeploymentLifecycleHookStatus
DeploymentLifecycleHookAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue