AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AutoScalingGroup.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
32 {
33 public:
38
39
43 inline const Aws::String& GetName() const{ return m_name; }
44
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64
68 inline AutoScalingGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
69
73 inline AutoScalingGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74
78 inline AutoScalingGroup& WithName(const char* value) { SetName(value); return *this;}
79
80
84 inline const Aws::String& GetHook() const{ return m_hook; }
85
89 inline bool HookHasBeenSet() const { return m_hookHasBeenSet; }
90
94 inline void SetHook(const Aws::String& value) { m_hookHasBeenSet = true; m_hook = value; }
95
99 inline void SetHook(Aws::String&& value) { m_hookHasBeenSet = true; m_hook = std::move(value); }
100
104 inline void SetHook(const char* value) { m_hookHasBeenSet = true; m_hook.assign(value); }
105
109 inline AutoScalingGroup& WithHook(const Aws::String& value) { SetHook(value); return *this;}
110
114 inline AutoScalingGroup& WithHook(Aws::String&& value) { SetHook(std::move(value)); return *this;}
115
119 inline AutoScalingGroup& WithHook(const char* value) { SetHook(value); return *this;}
120
121 private:
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_hook;
127 bool m_hookHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace CodeDeploy
132} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHook(const Aws::String &value)
AWS_CODEDEPLOY_API AutoScalingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroup & WithHook(const Aws::String &value)
void SetName(const Aws::String &value)
AutoScalingGroup & WithName(const Aws::String &value)
AutoScalingGroup & WithHook(Aws::String &&value)
AutoScalingGroup & WithName(Aws::String &&value)
AWS_CODEDEPLOY_API AutoScalingGroup(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroup & WithName(const char *value)
const Aws::String & GetName() const
const Aws::String & GetHook() const
AutoScalingGroup & WithHook(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String