AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
AutoScalingGroupConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
30 public:
31 AWS_IMAGEBUILDER_API AutoScalingGroupConfiguration() = default;
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
62 inline int GetCapacityWaitTimeoutSeconds() const { return m_capacityWaitTimeoutSeconds; }
63 inline bool CapacityWaitTimeoutSecondsHasBeenSet() const { return m_capacityWaitTimeoutSecondsHasBeenSet; }
64 inline void SetCapacityWaitTimeoutSeconds(int value) {
65 m_capacityWaitTimeoutSecondsHasBeenSet = true;
66 m_capacityWaitTimeoutSeconds = value;
67 }
73 private:
74 Aws::String m_name;
75
76 int m_capacityWaitTimeoutSeconds{0};
77 bool m_nameHasBeenSet = false;
78 bool m_capacityWaitTimeoutSecondsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace imagebuilder
83} // namespace Aws
AWS_IMAGEBUILDER_API AutoScalingGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroupConfiguration & WithName(NameT &&value)
AutoScalingGroupConfiguration & WithCapacityWaitTimeoutSeconds(int value)
AWS_IMAGEBUILDER_API AutoScalingGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API AutoScalingGroupConfiguration()=default
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue