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>
50 template <
typename HookTargetArnT = Aws::String>
52 m_hookTargetArnHasBeenSet =
true;
53 m_hookTargetArn = std::forward<HookTargetArnT>(value);
55 template <
typename HookTargetArnT = Aws::String>
73 template <
typename RoleArnT = Aws::String>
75 m_roleArnHasBeenSet =
true;
76 m_roleArn = std::forward<RoleArnT>(value);
78 template <
typename RoleArnT = Aws::String>
114 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
116 m_lifecycleStagesHasBeenSet =
true;
117 m_lifecycleStages = std::forward<LifecycleStagesT>(value);
119 template <
typename LifecycleStagesT = Aws::Vector<DeploymentLifecycleHookStage>>
125 m_lifecycleStagesHasBeenSet =
true;
126 m_lifecycleStages.push_back(value);
138 template <
typename HookDetailsT = Aws::Utils::Document>
140 m_hookDetailsHasBeenSet =
true;
141 m_hookDetails = std::forward<HookDetailsT>(value);
143 template <
typename HookDetailsT = Aws::Utils::Document>
157 bool m_hookTargetArnHasBeenSet =
false;
158 bool m_roleArnHasBeenSet =
false;
159 bool m_lifecycleStagesHasBeenSet =
false;
160 bool m_hookDetailsHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
DeploymentLifecycleHook & WithRoleArn(RoleArnT &&value)
Aws::Utils::DocumentView GetHookDetails() const
bool HookDetailsHasBeenSet() const
DeploymentLifecycleHook & WithLifecycleStages(LifecycleStagesT &&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
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