AWS SDK for C++  1.9.106
AWS SDK for C++
LifecycleEventConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
44  inline const ShutdownEventConfiguration& GetShutdown() const{ return m_shutdown; }
45 
50  inline bool ShutdownHasBeenSet() const { return m_shutdownHasBeenSet; }
51 
56  inline void SetShutdown(const ShutdownEventConfiguration& value) { m_shutdownHasBeenSet = true; m_shutdown = value; }
57 
62  inline void SetShutdown(ShutdownEventConfiguration&& value) { m_shutdownHasBeenSet = true; m_shutdown = std::move(value); }
63 
68  inline LifecycleEventConfiguration& WithShutdown(const ShutdownEventConfiguration& value) { SetShutdown(value); return *this;}
69 
74  inline LifecycleEventConfiguration& WithShutdown(ShutdownEventConfiguration&& value) { SetShutdown(std::move(value)); return *this;}
75 
76  private:
77 
78  ShutdownEventConfiguration m_shutdown;
79  bool m_shutdownHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace OpsWorks
84 } // namespace Aws
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::LifecycleEventConfiguration::WithShutdown
LifecycleEventConfiguration & WithShutdown(ShutdownEventConfiguration &&value)
Definition: LifecycleEventConfiguration.h:74
Aws::OpsWorks::Model::LifecycleEventConfiguration::GetShutdown
const ShutdownEventConfiguration & GetShutdown() const
Definition: LifecycleEventConfiguration.h:44
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::LifecycleEventConfiguration::WithShutdown
LifecycleEventConfiguration & WithShutdown(const ShutdownEventConfiguration &value)
Definition: LifecycleEventConfiguration.h:68
Aws::OpsWorks::Model::LifecycleEventConfiguration::LifecycleEventConfiguration
LifecycleEventConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::LifecycleEventConfiguration
Definition: LifecycleEventConfiguration.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::LifecycleEventConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::ShutdownEventConfiguration
Definition: ShutdownEventConfiguration.h:30
Aws::OpsWorks::Model::LifecycleEventConfiguration::LifecycleEventConfiguration
LifecycleEventConfiguration()
Aws::OpsWorks::Model::LifecycleEventConfiguration::SetShutdown
void SetShutdown(ShutdownEventConfiguration &&value)
Definition: LifecycleEventConfiguration.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::LifecycleEventConfiguration::operator=
LifecycleEventConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::LifecycleEventConfiguration::ShutdownHasBeenSet
bool ShutdownHasBeenSet() const
Definition: LifecycleEventConfiguration.h:50
ShutdownEventConfiguration.h
Aws::OpsWorks::Model::LifecycleEventConfiguration::SetShutdown
void SetShutdown(const ShutdownEventConfiguration &value)
Definition: LifecycleEventConfiguration.h:56