AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LifeCycleLastLaunch.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/LifeCycleLastLaunchInitiated.h>
9#include <aws/drs/model/LaunchStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace drs
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DRS_API LifeCycleLastLaunch() = default;
40
41
43
47 inline const LifeCycleLastLaunchInitiated& GetInitiated() const { return m_initiated; }
48 inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; }
49 template<typename InitiatedT = LifeCycleLastLaunchInitiated>
50 void SetInitiated(InitiatedT&& value) { m_initiatedHasBeenSet = true; m_initiated = std::forward<InitiatedT>(value); }
51 template<typename InitiatedT = LifeCycleLastLaunchInitiated>
52 LifeCycleLastLaunch& WithInitiated(InitiatedT&& value) { SetInitiated(std::forward<InitiatedT>(value)); return *this;}
54
56
59 inline LaunchStatus GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(LaunchStatus value) { m_statusHasBeenSet = true; m_status = value; }
62 inline LifeCycleLastLaunch& WithStatus(LaunchStatus value) { SetStatus(value); return *this;}
64 private:
65
67 bool m_initiatedHasBeenSet = false;
68
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace drs
75} // namespace Aws
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API LifeCycleLastLaunch()=default
AWS_DRS_API LifeCycleLastLaunch & operator=(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastLaunch & WithInitiated(InitiatedT &&value)
const LifeCycleLastLaunchInitiated & GetInitiated() const
AWS_DRS_API LifeCycleLastLaunch(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastLaunch & WithStatus(LaunchStatus value)
Aws::Utils::Json::JsonValue JsonValue