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>
53 inline void SetLifecycleHookName(
const char* value) { m_lifecycleHookNameHasBeenSet =
true; m_lifecycleHookName.assign(value); }
67 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
83 inline void SetLifecycleTransition(
const char* value) { m_lifecycleTransitionHasBeenSet =
true; m_lifecycleTransition.assign(value); }
98 inline void SetNotificationTargetARN(
const char* value) { m_notificationTargetARNHasBeenSet =
true; m_notificationTargetARN.assign(value); }
113 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
128 inline void SetNotificationMetadata(
const char* value) { m_notificationMetadataHasBeenSet =
true; m_notificationMetadata.assign(value); }
142 inline void SetHeartbeatTimeout(
int value) { m_heartbeatTimeoutHasBeenSet =
true; m_heartbeatTimeout = value; }
154 inline void SetGlobalTimeout(
int value) { m_globalTimeoutHasBeenSet =
true; m_globalTimeout = value; }
168 inline void SetDefaultResult(
const char* value) { m_defaultResultHasBeenSet =
true; m_defaultResult.assign(value); }
176 bool m_lifecycleHookNameHasBeenSet =
false;
179 bool m_autoScalingGroupNameHasBeenSet =
false;
182 bool m_lifecycleTransitionHasBeenSet =
false;
185 bool m_notificationTargetARNHasBeenSet =
false;
188 bool m_roleARNHasBeenSet =
false;
191 bool m_notificationMetadataHasBeenSet =
false;
193 int m_heartbeatTimeout;
194 bool m_heartbeatTimeoutHasBeenSet =
false;
197 bool m_globalTimeoutHasBeenSet =
false;
200 bool m_defaultResultHasBeenSet =
false;
bool AutoScalingGroupNameHasBeenSet() const
void SetDefaultResult(const char *value)
LifecycleHook & WithRoleARN(Aws::String &&value)
void SetHeartbeatTimeout(int value)
void SetRoleARN(const Aws::String &value)
LifecycleHook & WithLifecycleHookName(Aws::String &&value)
LifecycleHook & WithLifecycleHookName(const char *value)
LifecycleHook & WithNotificationMetadata(Aws::String &&value)
void SetLifecycleHookName(const char *value)
LifecycleHook & WithLifecycleTransition(const char *value)
AWS_AUTOSCALING_API LifecycleHook(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultResult(const Aws::String &value)
bool LifecycleHookNameHasBeenSet() const
LifecycleHook & WithNotificationTargetARN(const Aws::String &value)
bool NotificationTargetARNHasBeenSet() const
AWS_AUTOSCALING_API LifecycleHook & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNotificationTargetARN(const char *value)
void SetNotificationMetadata(const Aws::String &value)
const Aws::String & GetNotificationTargetARN() const
void SetNotificationTargetARN(const Aws::String &value)
LifecycleHook & WithLifecycleHookName(const Aws::String &value)
void SetRoleARN(Aws::String &&value)
bool DefaultResultHasBeenSet() const
void SetNotificationTargetARN(Aws::String &&value)
LifecycleHook & WithNotificationMetadata(const Aws::String &value)
bool RoleARNHasBeenSet() const
void SetNotificationMetadata(const char *value)
const Aws::String & GetLifecycleHookName() const
bool NotificationMetadataHasBeenSet() const
LifecycleHook & WithNotificationMetadata(const char *value)
void SetAutoScalingGroupName(Aws::String &&value)
bool HeartbeatTimeoutHasBeenSet() const
const Aws::String & GetDefaultResult() const
LifecycleHook & WithRoleARN(const Aws::String &value)
LifecycleHook & WithRoleARN(const char *value)
void SetLifecycleTransition(const char *value)
void SetRoleARN(const char *value)
void SetAutoScalingGroupName(const Aws::String &value)
void SetNotificationMetadata(Aws::String &&value)
LifecycleHook & WithAutoScalingGroupName(const Aws::String &value)
LifecycleHook & WithLifecycleTransition(Aws::String &&value)
LifecycleHook & WithDefaultResult(const Aws::String &value)
void SetLifecycleHookName(const Aws::String &value)
LifecycleHook & WithNotificationTargetARN(const char *value)
const Aws::String & GetAutoScalingGroupName() const
void SetLifecycleHookName(Aws::String &&value)
LifecycleHook & WithAutoScalingGroupName(const char *value)
LifecycleHook & WithHeartbeatTimeout(int value)
LifecycleHook & WithLifecycleTransition(const Aws::String &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 & WithDefaultResult(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GlobalTimeoutHasBeenSet() const
void SetLifecycleTransition(const Aws::String &value)
LifecycleHook & WithNotificationTargetARN(Aws::String &&value)
const Aws::String & GetLifecycleTransition() const
void SetAutoScalingGroupName(const char *value)
LifecycleHook & WithAutoScalingGroupName(Aws::String &&value)
int GetGlobalTimeout() const
AWS_AUTOSCALING_API LifecycleHook()
bool LifecycleTransitionHasBeenSet() const
void SetLifecycleTransition(Aws::String &&value)
int GetHeartbeatTimeout() const
void SetGlobalTimeout(int value)
const Aws::String & GetNotificationMetadata() const
void SetDefaultResult(Aws::String &&value)
LifecycleHook & WithDefaultResult(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream