AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetShutdown(const ShutdownEventConfiguration& value) { m_shutdownHasBeenSet = true; m_shutdown = value; }
48 inline void SetShutdown(ShutdownEventConfiguration&& value) { m_shutdownHasBeenSet = true; m_shutdown = std::move(value); }
50 inline LifecycleEventConfiguration& WithShutdown(ShutdownEventConfiguration&& value) { SetShutdown(std::move(value)); return *this;}
52 private:
53
55 bool m_shutdownHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace OpsWorks
60} // namespace Aws
LifecycleEventConfiguration & WithShutdown(ShutdownEventConfiguration &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
LifecycleEventConfiguration & WithShutdown(const ShutdownEventConfiguration &value)
AWS_OPSWORKS_API LifecycleEventConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetShutdown(const ShutdownEventConfiguration &value)
AWS_OPSWORKS_API LifecycleEventConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ShutdownEventConfiguration & GetShutdown() const
void SetShutdown(ShutdownEventConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue