AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LifecycleEventConfiguration.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/model/ShutdownEventConfiguration.h>
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 OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API LifecycleEventConfiguration() = default;
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const ShutdownEventConfiguration& GetShutdown() const { return m_shutdown; }
46 inline bool ShutdownHasBeenSet() const { return m_shutdownHasBeenSet; }
47 template<typename ShutdownT = ShutdownEventConfiguration>
48 void SetShutdown(ShutdownT&& value) { m_shutdownHasBeenSet = true; m_shutdown = std::forward<ShutdownT>(value); }
49 template<typename ShutdownT = ShutdownEventConfiguration>
50 LifecycleEventConfiguration& WithShutdown(ShutdownT&& value) { SetShutdown(std::forward<ShutdownT>(value)); return *this;}
52 private:
53
55 bool m_shutdownHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace OpsWorks
60} // namespace Aws
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API LifecycleEventConfiguration(Aws::Utils::Json::JsonView jsonValue)
LifecycleEventConfiguration & WithShutdown(ShutdownT &&value)
AWS_OPSWORKS_API LifecycleEventConfiguration()=default
AWS_OPSWORKS_API LifecycleEventConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ShutdownEventConfiguration & GetShutdown() const
Aws::Utils::Json::JsonValue JsonValue