/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Auto Scaling group.See Also:
AWS
* API Reference
The Auto Scaling group name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The Auto Scaling group name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The Auto Scaling group name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The Auto Scaling group name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The Auto Scaling group name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The Auto Scaling group name.
*/ inline AutoScalingGroup& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The Auto Scaling group name.
*/ inline AutoScalingGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The Auto Scaling group name.
*/ inline AutoScalingGroup& WithName(const char* value) { SetName(value); return *this;} /** *An Auto Scaling lifecycle event hook name.
*/ inline const Aws::String& GetHook() const{ return m_hook; } /** *An Auto Scaling lifecycle event hook name.
*/ inline bool HookHasBeenSet() const { return m_hookHasBeenSet; } /** *An Auto Scaling lifecycle event hook name.
*/ inline void SetHook(const Aws::String& value) { m_hookHasBeenSet = true; m_hook = value; } /** *An Auto Scaling lifecycle event hook name.
*/ inline void SetHook(Aws::String&& value) { m_hookHasBeenSet = true; m_hook = std::move(value); } /** *An Auto Scaling lifecycle event hook name.
*/ inline void SetHook(const char* value) { m_hookHasBeenSet = true; m_hook.assign(value); } /** *An Auto Scaling lifecycle event hook name.
*/ inline AutoScalingGroup& WithHook(const Aws::String& value) { SetHook(value); return *this;} /** *An Auto Scaling lifecycle event hook name.
*/ inline AutoScalingGroup& WithHook(Aws::String&& value) { SetHook(std::move(value)); return *this;} /** *An Auto Scaling lifecycle event hook name.
*/ inline AutoScalingGroup& WithHook(const char* value) { SetHook(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_hook; bool m_hookHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws