7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/DeploymentLifecycleHookStage.h>
12#include <aws/ecs/model/DeploymentLifecycleHookTargetType.h>
13#include <aws/ecs/model/DeploymentLifecycleHookTimeoutConfiguration.h>
57 m_targetTypeHasBeenSet =
true;
75 template <
typename HookTargetArnT = Aws::String>
77 m_hookTargetArnHasBeenSet =
true;
78 m_hookTargetArn = std::forward<HookTargetArnT>(value);
80 template <
typename HookTargetArnT = Aws::String>
98 template <
typename RoleArnT = Aws::String>
100 m_roleArnHasBeenSet =
true;
101 m_roleArn = std::forward<RoleArnT>(value);
103 template <
typename RoleArnT = Aws::String>
146 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
148 m_lifecycleStagesHasBeenSet =
true;
149 m_lifecycleStages = std::forward<LifecycleStagesT>(value);
151 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
157 m_lifecycleStagesHasBeenSet =
true;
158 m_lifecycleStages.push_back(value);
171 template <
typename HookDetailsT = Aws::Utils::Document>
173 m_hookDetailsHasBeenSet =
true;
174 m_hookDetails = std::forward<HookDetailsT>(value);
176 template <
typename HookDetailsT = Aws::Utils::Document>
191 template <
typename TimeoutConfigurationT = DeploymentLifecycleHookTimeoutConfiguration>
193 m_timeoutConfigurationHasBeenSet =
true;
194 m_timeoutConfiguration = std::forward<TimeoutConfigurationT>(value);
196 template <
typename TimeoutConfigurationT = DeploymentLifecycleHookTimeoutConfiguration>
213 DeploymentLifecycleHookTimeoutConfiguration m_timeoutConfiguration;
214 bool m_targetTypeHasBeenSet =
false;
215 bool m_hookTargetArnHasBeenSet =
false;
216 bool m_roleArnHasBeenSet =
false;
217 bool m_lifecycleStagesHasBeenSet =
false;
218 bool m_hookDetailsHasBeenSet =
false;
219 bool m_timeoutConfigurationHasBeenSet =
false;
DeploymentLifecycleHook & WithTargetType(DeploymentLifecycleHookTargetType value)
void SetRoleArn(RoleArnT &&value)
DeploymentLifecycleHook & WithRoleArn(RoleArnT &&value)
Aws::Utils::DocumentView GetHookDetails() const
bool HookDetailsHasBeenSet() const
bool TimeoutConfigurationHasBeenSet() const
DeploymentLifecycleHook & WithLifecycleStages(LifecycleStagesT &&value)
DeploymentLifecycleHook & WithTimeoutConfiguration(TimeoutConfigurationT &&value)
void SetHookDetails(HookDetailsT &&value)
const Aws::String & GetRoleArn() const
AWS_ECS_API DeploymentLifecycleHook()=default
DeploymentLifecycleHook & WithHookTargetArn(HookTargetArnT &&value)
DeploymentLifecycleHook & AddLifecycleStages(DeploymentLifecycleHookStage value)
DeploymentLifecycleHook & WithHookDetails(HookDetailsT &&value)
const Aws::String & GetHookTargetArn() const
bool HookTargetArnHasBeenSet() const
AWS_ECS_API DeploymentLifecycleHook & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLifecycleStages(LifecycleStagesT &&value)
bool LifecycleStagesHasBeenSet() const
DeploymentLifecycleHookTargetType GetTargetType() const
bool TargetTypeHasBeenSet() const
bool RoleArnHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const DeploymentLifecycleHookTimeoutConfiguration & GetTimeoutConfiguration() const
AWS_ECS_API DeploymentLifecycleHook(Aws::Utils::Json::JsonView jsonValue)
void SetTimeoutConfiguration(TimeoutConfigurationT &&value)
const Aws::Vector< DeploymentLifecycleHookStage > & GetLifecycleStages() const
void SetTargetType(DeploymentLifecycleHookTargetType value)
void SetHookTargetArn(HookTargetArnT &&value)
DeploymentLifecycleHookStage
DeploymentLifecycleHookTargetType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue