7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/DeploymentLifecycleHookStage.h>
55 template<
typename HookTargetArnT = Aws::String>
56 void SetHookTargetArn(HookTargetArnT&& value) { m_hookTargetArnHasBeenSet =
true; m_hookTargetArn = std::forward<HookTargetArnT>(value); }
57 template<
typename HookTargetArnT = Aws::String>
72 template<
typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<
typename RoleArnT = Aws::String>
107 template<
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
108 void SetLifecycleStages(LifecycleStagesT&& value) { m_lifecycleStagesHasBeenSet =
true; m_lifecycleStages = std::forward<LifecycleStagesT>(value); }
109 template<
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
116 bool m_hookTargetArnHasBeenSet =
false;
119 bool m_roleArnHasBeenSet =
false;
122 bool m_lifecycleStagesHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
DeploymentLifecycleHook & WithRoleArn(RoleArnT &&value)
DeploymentLifecycleHook & WithLifecycleStages(LifecycleStagesT &&value)
const Aws::String & GetRoleArn() const
AWS_ECS_API DeploymentLifecycleHook()=default
DeploymentLifecycleHook & WithHookTargetArn(HookTargetArnT &&value)
DeploymentLifecycleHook & AddLifecycleStages(DeploymentLifecycleHookStage 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
bool RoleArnHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API DeploymentLifecycleHook(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DeploymentLifecycleHookStage > & GetLifecycleStages() const
void SetHookTargetArn(HookTargetArnT &&value)
DeploymentLifecycleHookStage
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue