AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const LifeCycleLastLaunchInitiated& GetInitiated() const{ return m_initiated; }
48 inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; }
49 inline void SetInitiated(const LifeCycleLastLaunchInitiated& value) { m_initiatedHasBeenSet = true; m_initiated = value; }
50 inline void SetInitiated(LifeCycleLastLaunchInitiated&& value) { m_initiatedHasBeenSet = true; m_initiated = std::move(value); }
51 inline LifeCycleLastLaunch& WithInitiated(const LifeCycleLastLaunchInitiated& value) { SetInitiated(value); return *this;}
52 inline LifeCycleLastLaunch& WithInitiated(LifeCycleLastLaunchInitiated&& value) { SetInitiated(std::move(value)); return *this;}
54
56
59 inline const LaunchStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const LaunchStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(LaunchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline LifeCycleLastLaunch& WithStatus(const LaunchStatus& value) { SetStatus(value); return *this;}
64 inline LifeCycleLastLaunch& WithStatus(LaunchStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
69 bool m_initiatedHasBeenSet = false;
70
71 LaunchStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace drs
77} // namespace Aws
const LaunchStatus & GetStatus() const
LifeCycleLastLaunch & WithStatus(const LaunchStatus &value)
void SetInitiated(const LifeCycleLastLaunchInitiated &value)
LifeCycleLastLaunch & WithInitiated(LifeCycleLastLaunchInitiated &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LifeCycleLastLaunch & WithInitiated(const LifeCycleLastLaunchInitiated &value)
AWS_DRS_API LifeCycleLastLaunch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitiated(LifeCycleLastLaunchInitiated &&value)
void SetStatus(const LaunchStatus &value)
const LifeCycleLastLaunchInitiated & GetInitiated() const
AWS_DRS_API LifeCycleLastLaunch(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastLaunch & WithStatus(LaunchStatus &&value)
Aws::Utils::Json::JsonValue JsonValue