AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LandingZoneDetail.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/controltower/model/LandingZoneDriftStatusSummary.h>
10#include <aws/core/utils/Document.h>
11#include <aws/controltower/model/LandingZoneStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ControlTower
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONTROLTOWER_API LandingZoneDetail();
38 AWS_CONTROLTOWER_API LandingZoneDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLTOWER_API LandingZoneDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline LandingZoneDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline LandingZoneDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline LandingZoneDetail& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const LandingZoneDriftStatusSummary& GetDriftStatus() const{ return m_driftStatus; }
62 inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; }
63 inline void SetDriftStatus(const LandingZoneDriftStatusSummary& value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; }
64 inline void SetDriftStatus(LandingZoneDriftStatusSummary&& value) { m_driftStatusHasBeenSet = true; m_driftStatus = std::move(value); }
66 inline LandingZoneDetail& WithDriftStatus(LandingZoneDriftStatusSummary&& value) { SetDriftStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetLatestAvailableVersion() const{ return m_latestAvailableVersion; }
74 inline bool LatestAvailableVersionHasBeenSet() const { return m_latestAvailableVersionHasBeenSet; }
75 inline void SetLatestAvailableVersion(const Aws::String& value) { m_latestAvailableVersionHasBeenSet = true; m_latestAvailableVersion = value; }
76 inline void SetLatestAvailableVersion(Aws::String&& value) { m_latestAvailableVersionHasBeenSet = true; m_latestAvailableVersion = std::move(value); }
77 inline void SetLatestAvailableVersion(const char* value) { m_latestAvailableVersionHasBeenSet = true; m_latestAvailableVersion.assign(value); }
79 inline LandingZoneDetail& WithLatestAvailableVersion(Aws::String&& value) { SetLatestAvailableVersion(std::move(value)); return *this;}
80 inline LandingZoneDetail& WithLatestAvailableVersion(const char* value) { SetLatestAvailableVersion(value); return *this;}
82
84
88 inline Aws::Utils::DocumentView GetManifest() const{ return m_manifest; }
89 inline bool ManifestHasBeenSet() const { return m_manifestHasBeenSet; }
90 inline void SetManifest(const Aws::Utils::Document& value) { m_manifestHasBeenSet = true; m_manifest = value; }
91 inline void SetManifest(Aws::Utils::Document&& value) { m_manifestHasBeenSet = true; m_manifest = std::move(value); }
92 inline LandingZoneDetail& WithManifest(const Aws::Utils::Document& value) { SetManifest(value); return *this;}
93 inline LandingZoneDetail& WithManifest(Aws::Utils::Document&& value) { SetManifest(std::move(value)); return *this;}
95
97
101 inline const LandingZoneStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const LandingZoneStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(LandingZoneStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline LandingZoneDetail& WithStatus(const LandingZoneStatus& value) { SetStatus(value); return *this;}
106 inline LandingZoneDetail& WithStatus(LandingZoneStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetVersion() const{ return m_version; }
114 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
115 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
116 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
117 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
118 inline LandingZoneDetail& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
119 inline LandingZoneDetail& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
120 inline LandingZoneDetail& WithVersion(const char* value) { SetVersion(value); return *this;}
122 private:
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 LandingZoneDriftStatusSummary m_driftStatus;
128 bool m_driftStatusHasBeenSet = false;
129
130 Aws::String m_latestAvailableVersion;
131 bool m_latestAvailableVersionHasBeenSet = false;
132
133 Aws::Utils::Document m_manifest;
134 bool m_manifestHasBeenSet = false;
135
136 LandingZoneStatus m_status;
137 bool m_statusHasBeenSet = false;
138
139 Aws::String m_version;
140 bool m_versionHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace ControlTower
145} // namespace Aws
LandingZoneDetail & WithVersion(const Aws::String &value)
AWS_CONTROLTOWER_API LandingZoneDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(LandingZoneStatus &&value)
LandingZoneDetail & WithStatus(const LandingZoneStatus &value)
void SetManifest(Aws::Utils::Document &&value)
LandingZoneDetail & WithManifest(const Aws::Utils::Document &value)
LandingZoneDetail & WithArn(const char *value)
void SetLatestAvailableVersion(Aws::String &&value)
LandingZoneDetail & WithLatestAvailableVersion(Aws::String &&value)
const Aws::String & GetLatestAvailableVersion() const
LandingZoneDetail & WithLatestAvailableVersion(const Aws::String &value)
AWS_CONTROLTOWER_API LandingZoneDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::DocumentView GetManifest() const
void SetDriftStatus(LandingZoneDriftStatusSummary &&value)
const LandingZoneDriftStatusSummary & GetDriftStatus() const
void SetVersion(const Aws::String &value)
LandingZoneDetail & WithManifest(Aws::Utils::Document &&value)
LandingZoneDetail & WithLatestAvailableVersion(const char *value)
LandingZoneDetail & WithVersion(const char *value)
LandingZoneDetail & WithDriftStatus(const LandingZoneDriftStatusSummary &value)
void SetManifest(const Aws::Utils::Document &value)
LandingZoneDetail & WithArn(const Aws::String &value)
LandingZoneDetail & WithVersion(Aws::String &&value)
void SetDriftStatus(const LandingZoneDriftStatusSummary &value)
void SetLatestAvailableVersion(const Aws::String &value)
const LandingZoneStatus & GetStatus() const
void SetStatus(const LandingZoneStatus &value)
LandingZoneDetail & WithDriftStatus(LandingZoneDriftStatusSummary &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
LandingZoneDetail & WithArn(Aws::String &&value)
LandingZoneDetail & WithStatus(LandingZoneStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue