AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LifeCycleLastCutover.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/LifeCycleLastCutoverFinalized.h>
9#include <aws/mgn/model/LifeCycleLastCutoverInitiated.h>
10#include <aws/mgn/model/LifeCycleLastCutoverReverted.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MGN_API LifeCycleLastCutover();
40
41
43
46 inline const LifeCycleLastCutoverFinalized& GetFinalized() const{ return m_finalized; }
47 inline bool FinalizedHasBeenSet() const { return m_finalizedHasBeenSet; }
48 inline void SetFinalized(const LifeCycleLastCutoverFinalized& value) { m_finalizedHasBeenSet = true; m_finalized = value; }
49 inline void SetFinalized(LifeCycleLastCutoverFinalized&& value) { m_finalizedHasBeenSet = true; m_finalized = std::move(value); }
51 inline LifeCycleLastCutover& WithFinalized(LifeCycleLastCutoverFinalized&& value) { SetFinalized(std::move(value)); return *this;}
53
55
58 inline const LifeCycleLastCutoverInitiated& GetInitiated() const{ return m_initiated; }
59 inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; }
60 inline void SetInitiated(const LifeCycleLastCutoverInitiated& value) { m_initiatedHasBeenSet = true; m_initiated = value; }
61 inline void SetInitiated(LifeCycleLastCutoverInitiated&& value) { m_initiatedHasBeenSet = true; m_initiated = std::move(value); }
63 inline LifeCycleLastCutover& WithInitiated(LifeCycleLastCutoverInitiated&& value) { SetInitiated(std::move(value)); return *this;}
65
67
70 inline const LifeCycleLastCutoverReverted& GetReverted() const{ return m_reverted; }
71 inline bool RevertedHasBeenSet() const { return m_revertedHasBeenSet; }
72 inline void SetReverted(const LifeCycleLastCutoverReverted& value) { m_revertedHasBeenSet = true; m_reverted = value; }
73 inline void SetReverted(LifeCycleLastCutoverReverted&& value) { m_revertedHasBeenSet = true; m_reverted = std::move(value); }
74 inline LifeCycleLastCutover& WithReverted(const LifeCycleLastCutoverReverted& value) { SetReverted(value); return *this;}
75 inline LifeCycleLastCutover& WithReverted(LifeCycleLastCutoverReverted&& value) { SetReverted(std::move(value)); return *this;}
77 private:
78
80 bool m_finalizedHasBeenSet = false;
81
83 bool m_initiatedHasBeenSet = false;
84
86 bool m_revertedHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace mgn
91} // namespace Aws
void SetInitiated(const LifeCycleLastCutoverInitiated &value)
void SetReverted(const LifeCycleLastCutoverReverted &value)
LifeCycleLastCutover & WithReverted(LifeCycleLastCutoverReverted &&value)
const LifeCycleLastCutoverInitiated & GetInitiated() const
void SetFinalized(const LifeCycleLastCutoverFinalized &value)
void SetInitiated(LifeCycleLastCutoverInitiated &&value)
AWS_MGN_API LifeCycleLastCutover(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastCutover & WithFinalized(LifeCycleLastCutoverFinalized &&value)
const LifeCycleLastCutoverFinalized & GetFinalized() const
void SetReverted(LifeCycleLastCutoverReverted &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API LifeCycleLastCutover & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFinalized(LifeCycleLastCutoverFinalized &&value)
LifeCycleLastCutover & WithInitiated(const LifeCycleLastCutoverInitiated &value)
const LifeCycleLastCutoverReverted & GetReverted() const
LifeCycleLastCutover & WithReverted(const LifeCycleLastCutoverReverted &value)
LifeCycleLastCutover & WithInitiated(LifeCycleLastCutoverInitiated &&value)
LifeCycleLastCutover & WithFinalized(const LifeCycleLastCutoverFinalized &value)
Aws::Utils::Json::JsonValue JsonValue