7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
30 AWS_CODEDEPLOY_API
AutoScalingGroup(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CODEDEPLOY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
62 template <
typename HookT = Aws::String>
64 m_hookHasBeenSet =
true;
65 m_hook = std::forward<HookT>(value);
67 template <
typename HookT = Aws::String>
69 SetHook(std::forward<HookT>(value));
84 template <
typename TerminationHookT = Aws::String>
86 m_terminationHookHasBeenSet =
true;
87 m_terminationHook = std::forward<TerminationHookT>(value);
89 template <
typename TerminationHookT = Aws::String>
101 bool m_nameHasBeenSet =
false;
102 bool m_hookHasBeenSet =
false;
103 bool m_terminationHookHasBeenSet =
false;
bool HookHasBeenSet() const
AutoScalingGroup & WithHook(HookT &&value)
bool TerminationHookHasBeenSet() const
const Aws::String & GetTerminationHook() const
bool NameHasBeenSet() const
void SetTerminationHook(TerminationHookT &&value)
void SetHook(HookT &&value)
AWS_CODEDEPLOY_API AutoScalingGroup & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AutoScalingGroup & WithTerminationHook(TerminationHookT &&value)
void SetName(NameT &&value)
AWS_CODEDEPLOY_API AutoScalingGroup()=default
const Aws::String & GetName() const
const Aws::String & GetHook() const
AutoScalingGroup & WithName(NameT &&value)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CODEDEPLOY_API AutoScalingGroup(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String