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;
74 template <
typename HookTargetArnT = Aws::String>
76 m_hookTargetArnHasBeenSet =
true;
77 m_hookTargetArn = std::forward<HookTargetArnT>(value);
79 template <
typename HookTargetArnT = Aws::String>
97 template <
typename RoleArnT = Aws::String>
99 m_roleArnHasBeenSet =
true;
100 m_roleArn = std::forward<RoleArnT>(value);
102 template <
typename RoleArnT = Aws::String>
138 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
140 m_lifecycleStagesHasBeenSet =
true;
141 m_lifecycleStages = std::forward<LifecycleStagesT>(value);
143 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
149 m_lifecycleStagesHasBeenSet =
true;
150 m_lifecycleStages.push_back(value);
162 template <
typename HookDetailsT = Aws::Utils::Document>
164 m_hookDetailsHasBeenSet =
true;
165 m_hookDetails = std::forward<HookDetailsT>(value);
167 template <
typename HookDetailsT = Aws::Utils::Document>
182 template <
typename TimeoutConfigurationT = DeploymentLifecycleHookTimeoutConfiguration>
184 m_timeoutConfigurationHasBeenSet =
true;
185 m_timeoutConfiguration = std::forward<TimeoutConfigurationT>(value);
187 template <
typename TimeoutConfigurationT = DeploymentLifecycleHookTimeoutConfiguration>
204 DeploymentLifecycleHookTimeoutConfiguration m_timeoutConfiguration;
205 bool m_targetTypeHasBeenSet =
false;
206 bool m_hookTargetArnHasBeenSet =
false;
207 bool m_roleArnHasBeenSet =
false;
208 bool m_lifecycleStagesHasBeenSet =
false;
209 bool m_hookDetailsHasBeenSet =
false;
210 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