7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
76 inline void SetProtectedFromScaleIn(
bool value) { m_protectedFromScaleInHasBeenSet =
true; m_protectedFromScaleIn = value; }
82 bool m_instanceIdsHasBeenSet =
false;
85 bool m_autoScalingGroupNameHasBeenSet =
false;
87 bool m_protectedFromScaleIn;
88 bool m_protectedFromScaleInHasBeenSet =
false;
bool GetProtectedFromScaleIn() const
const Aws::String & GetAutoScalingGroupName() const
void SetAutoScalingGroupName(const char *value)
SetInstanceProtectionRequest & WithAutoScalingGroupName(Aws::String &&value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool ProtectedFromScaleInHasBeenSet() const
SetInstanceProtectionRequest & AddInstanceIds(const char *value)
SetInstanceProtectionRequest & WithAutoScalingGroupName(const Aws::String &value)
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
SetInstanceProtectionRequest & WithAutoScalingGroupName(const char *value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
bool InstanceIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceIds() const
virtual const char * GetServiceRequestName() const override
SetInstanceProtectionRequest & WithInstanceIds(const Aws::Vector< Aws::String > &value)
SetInstanceProtectionRequest & WithProtectedFromScaleIn(bool value)
SetInstanceProtectionRequest & AddInstanceIds(Aws::String &&value)
void SetAutoScalingGroupName(const Aws::String &value)
AWS_AUTOSCALING_API SetInstanceProtectionRequest()
bool AutoScalingGroupNameHasBeenSet() const
SetInstanceProtectionRequest & WithInstanceIds(Aws::Vector< Aws::String > &&value)
void SetAutoScalingGroupName(Aws::String &&value)
void SetProtectedFromScaleIn(bool value)
SetInstanceProtectionRequest & AddInstanceIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector