AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LifeCycleLastTest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/LifeCycleLastTestFinalized.h>
9#include <aws/mgn/model/LifeCycleLastTestInitiated.h>
10#include <aws/mgn/model/LifeCycleLastTestReverted.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 LifeCycleLastTest();
40
41
43
46 inline const LifeCycleLastTestFinalized& GetFinalized() const{ return m_finalized; }
47 inline bool FinalizedHasBeenSet() const { return m_finalizedHasBeenSet; }
48 inline void SetFinalized(const LifeCycleLastTestFinalized& value) { m_finalizedHasBeenSet = true; m_finalized = value; }
49 inline void SetFinalized(LifeCycleLastTestFinalized&& value) { m_finalizedHasBeenSet = true; m_finalized = std::move(value); }
50 inline LifeCycleLastTest& WithFinalized(const LifeCycleLastTestFinalized& value) { SetFinalized(value); return *this;}
51 inline LifeCycleLastTest& WithFinalized(LifeCycleLastTestFinalized&& value) { SetFinalized(std::move(value)); return *this;}
53
55
58 inline const LifeCycleLastTestInitiated& GetInitiated() const{ return m_initiated; }
59 inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; }
60 inline void SetInitiated(const LifeCycleLastTestInitiated& value) { m_initiatedHasBeenSet = true; m_initiated = value; }
61 inline void SetInitiated(LifeCycleLastTestInitiated&& value) { m_initiatedHasBeenSet = true; m_initiated = std::move(value); }
62 inline LifeCycleLastTest& WithInitiated(const LifeCycleLastTestInitiated& value) { SetInitiated(value); return *this;}
63 inline LifeCycleLastTest& WithInitiated(LifeCycleLastTestInitiated&& value) { SetInitiated(std::move(value)); return *this;}
65
67
70 inline const LifeCycleLastTestReverted& GetReverted() const{ return m_reverted; }
71 inline bool RevertedHasBeenSet() const { return m_revertedHasBeenSet; }
72 inline void SetReverted(const LifeCycleLastTestReverted& value) { m_revertedHasBeenSet = true; m_reverted = value; }
73 inline void SetReverted(LifeCycleLastTestReverted&& value) { m_revertedHasBeenSet = true; m_reverted = std::move(value); }
74 inline LifeCycleLastTest& WithReverted(const LifeCycleLastTestReverted& value) { SetReverted(value); return *this;}
75 inline LifeCycleLastTest& WithReverted(LifeCycleLastTestReverted&& 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
AWS_MGN_API LifeCycleLastTest(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastTest & WithFinalized(LifeCycleLastTestFinalized &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
LifeCycleLastTest & WithFinalized(const LifeCycleLastTestFinalized &value)
void SetReverted(LifeCycleLastTestReverted &&value)
LifeCycleLastTest & WithInitiated(LifeCycleLastTestInitiated &&value)
void SetInitiated(LifeCycleLastTestInitiated &&value)
void SetReverted(const LifeCycleLastTestReverted &value)
const LifeCycleLastTestFinalized & GetFinalized() const
const LifeCycleLastTestInitiated & GetInitiated() const
LifeCycleLastTest & WithReverted(LifeCycleLastTestReverted &&value)
LifeCycleLastTest & WithReverted(const LifeCycleLastTestReverted &value)
void SetFinalized(const LifeCycleLastTestFinalized &value)
LifeCycleLastTest & WithInitiated(const LifeCycleLastTestInitiated &value)
void SetFinalized(LifeCycleLastTestFinalized &&value)
AWS_MGN_API LifeCycleLastTest & operator=(Aws::Utils::Json::JsonView jsonValue)
const LifeCycleLastTestReverted & GetReverted() const
void SetInitiated(const LifeCycleLastTestInitiated &value)
Aws::Utils::Json::JsonValue JsonValue