7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename LifecycleHookNameT = Aws::String>
52 void SetLifecycleHookName(LifecycleHookNameT&& value) { m_lifecycleHookNameHasBeenSet =
true; m_lifecycleHookName = std::forward<LifecycleHookNameT>(value); }
53 template<
typename LifecycleHookNameT = Aws::String>
63 template<
typename AutoScalingGroupNameT = Aws::String>
64 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
65 template<
typename AutoScalingGroupNameT = Aws::String>
77 template<
typename LifecycleTransitionT = Aws::String>
78 void SetLifecycleTransition(LifecycleTransitionT&& value) { m_lifecycleTransitionHasBeenSet =
true; m_lifecycleTransition = std::forward<LifecycleTransitionT>(value); }
79 template<
typename LifecycleTransitionT = Aws::String>
90 template<
typename NotificationTargetARNT = Aws::String>
91 void SetNotificationTargetARN(NotificationTargetARNT&& value) { m_notificationTargetARNHasBeenSet =
true; m_notificationTargetARN = std::forward<NotificationTargetARNT>(value); }
92 template<
typename NotificationTargetARNT = Aws::String>
103 template<
typename RoleARNT = Aws::String>
104 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet =
true; m_roleARN = std::forward<RoleARNT>(value); }
105 template<
typename RoleARNT = Aws::String>
116 template<
typename NotificationMetadataT = Aws::String>
117 void SetNotificationMetadata(NotificationMetadataT&& value) { m_notificationMetadataHasBeenSet =
true; m_notificationMetadata = std::forward<NotificationMetadataT>(value); }
118 template<
typename NotificationMetadataT = Aws::String>
130 inline void SetHeartbeatTimeout(
int value) { m_heartbeatTimeoutHasBeenSet =
true; m_heartbeatTimeout = value; }
142 inline void SetGlobalTimeout(
int value) { m_globalTimeoutHasBeenSet =
true; m_globalTimeout = value; }
154 template<
typename DefaultResultT = Aws::String>
155 void SetDefaultResult(DefaultResultT&& value) { m_defaultResultHasBeenSet =
true; m_defaultResult = std::forward<DefaultResultT>(value); }
156 template<
typename DefaultResultT = Aws::String>
162 bool m_lifecycleHookNameHasBeenSet =
false;
165 bool m_autoScalingGroupNameHasBeenSet =
false;
168 bool m_lifecycleTransitionHasBeenSet =
false;
171 bool m_notificationTargetARNHasBeenSet =
false;
174 bool m_roleARNHasBeenSet =
false;
177 bool m_notificationMetadataHasBeenSet =
false;
179 int m_heartbeatTimeout{0};
180 bool m_heartbeatTimeoutHasBeenSet =
false;
182 int m_globalTimeout{0};
183 bool m_globalTimeoutHasBeenSet =
false;
186 bool m_defaultResultHasBeenSet =
false;
bool AutoScalingGroupNameHasBeenSet() const
void SetHeartbeatTimeout(int value)
AWS_AUTOSCALING_API LifecycleHook()=default
LifecycleHook & WithDefaultResult(DefaultResultT &&value)
AWS_AUTOSCALING_API LifecycleHook(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNotificationMetadata(NotificationMetadataT &&value)
bool LifecycleHookNameHasBeenSet() const
void SetLifecycleHookName(LifecycleHookNameT &&value)
bool NotificationTargetARNHasBeenSet() const
AWS_AUTOSCALING_API LifecycleHook & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LifecycleHook & WithRoleARN(RoleARNT &&value)
const Aws::String & GetNotificationTargetARN() const
bool DefaultResultHasBeenSet() const
bool RoleARNHasBeenSet() const
const Aws::String & GetLifecycleHookName() const
bool NotificationMetadataHasBeenSet() const
LifecycleHook & WithNotificationTargetARN(NotificationTargetARNT &&value)
bool HeartbeatTimeoutHasBeenSet() const
const Aws::String & GetDefaultResult() const
void SetRoleARN(RoleARNT &&value)
LifecycleHook & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
LifecycleHook & WithLifecycleTransition(LifecycleTransitionT &&value)
void SetDefaultResult(DefaultResultT &&value)
const Aws::String & GetAutoScalingGroupName() const
LifecycleHook & WithHeartbeatTimeout(int value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetRoleARN() const
LifecycleHook & WithGlobalTimeout(int value)
LifecycleHook & WithNotificationMetadata(NotificationMetadataT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GlobalTimeoutHasBeenSet() const
const Aws::String & GetLifecycleTransition() const
void SetNotificationTargetARN(NotificationTargetARNT &&value)
LifecycleHook & WithLifecycleHookName(LifecycleHookNameT &&value)
int GetGlobalTimeout() const
bool LifecycleTransitionHasBeenSet() const
void SetLifecycleTransition(LifecycleTransitionT &&value)
int GetHeartbeatTimeout() const
void SetGlobalTimeout(int value)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
const Aws::String & GetNotificationMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream