AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EnvironmentSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/EVS_EXPORTS.h>
10#include <aws/evs/model/CheckResult.h>
11#include <aws/evs/model/EnvironmentState.h>
12#include <aws/evs/model/VcfVersion.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EVS {
24namespace Model {
25
33 public:
34 AWS_EVS_API EnvironmentSummary() = default;
38
40
43 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
44 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
45 template <typename EnvironmentIdT = Aws::String>
46 void SetEnvironmentId(EnvironmentIdT&& value) {
47 m_environmentIdHasBeenSet = true;
48 m_environmentId = std::forward<EnvironmentIdT>(value);
49 }
50 template <typename EnvironmentIdT = Aws::String>
51 EnvironmentSummary& WithEnvironmentId(EnvironmentIdT&& value) {
52 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
62 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
63 template <typename EnvironmentNameT = Aws::String>
64 void SetEnvironmentName(EnvironmentNameT&& value) {
65 m_environmentNameHasBeenSet = true;
66 m_environmentName = std::forward<EnvironmentNameT>(value);
67 }
68 template <typename EnvironmentNameT = Aws::String>
69 EnvironmentSummary& WithEnvironmentName(EnvironmentNameT&& value) {
70 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
71 return *this;
72 }
74
76
79 inline VcfVersion GetVcfVersion() const { return m_vcfVersion; }
80 inline bool VcfVersionHasBeenSet() const { return m_vcfVersionHasBeenSet; }
81 inline void SetVcfVersion(VcfVersion value) {
82 m_vcfVersionHasBeenSet = true;
83 m_vcfVersion = value;
84 }
86 SetVcfVersion(value);
87 return *this;
88 }
90
92
96 inline CheckResult GetEnvironmentStatus() const { return m_environmentStatus; }
97 inline bool EnvironmentStatusHasBeenSet() const { return m_environmentStatusHasBeenSet; }
98 inline void SetEnvironmentStatus(CheckResult value) {
99 m_environmentStatusHasBeenSet = true;
100 m_environmentStatus = value;
101 }
104 return *this;
105 }
107
109
112 inline EnvironmentState GetEnvironmentState() const { return m_environmentState; }
113 inline bool EnvironmentStateHasBeenSet() const { return m_environmentStateHasBeenSet; }
115 m_environmentStateHasBeenSet = true;
116 m_environmentState = value;
117 }
119 SetEnvironmentState(value);
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
129 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
130 template <typename CreatedAtT = Aws::Utils::DateTime>
131 void SetCreatedAt(CreatedAtT&& value) {
132 m_createdAtHasBeenSet = true;
133 m_createdAt = std::forward<CreatedAtT>(value);
134 }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 EnvironmentSummary& WithCreatedAt(CreatedAtT&& value) {
137 SetCreatedAt(std::forward<CreatedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
147 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
148 template <typename ModifiedAtT = Aws::Utils::DateTime>
149 void SetModifiedAt(ModifiedAtT&& value) {
150 m_modifiedAtHasBeenSet = true;
151 m_modifiedAt = std::forward<ModifiedAtT>(value);
152 }
153 template <typename ModifiedAtT = Aws::Utils::DateTime>
154 EnvironmentSummary& WithModifiedAt(ModifiedAtT&& value) {
155 SetModifiedAt(std::forward<ModifiedAtT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
165 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
166 template <typename EnvironmentArnT = Aws::String>
167 void SetEnvironmentArn(EnvironmentArnT&& value) {
168 m_environmentArnHasBeenSet = true;
169 m_environmentArn = std::forward<EnvironmentArnT>(value);
170 }
171 template <typename EnvironmentArnT = Aws::String>
172 EnvironmentSummary& WithEnvironmentArn(EnvironmentArnT&& value) {
173 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_environmentId;
179
180 Aws::String m_environmentName;
181
182 VcfVersion m_vcfVersion{VcfVersion::NOT_SET};
183
184 CheckResult m_environmentStatus{CheckResult::NOT_SET};
185
187
188 Aws::Utils::DateTime m_createdAt{};
189
190 Aws::Utils::DateTime m_modifiedAt{};
191
192 Aws::String m_environmentArn;
193 bool m_environmentIdHasBeenSet = false;
194 bool m_environmentNameHasBeenSet = false;
195 bool m_vcfVersionHasBeenSet = false;
196 bool m_environmentStatusHasBeenSet = false;
197 bool m_environmentStateHasBeenSet = false;
198 bool m_createdAtHasBeenSet = false;
199 bool m_modifiedAtHasBeenSet = false;
200 bool m_environmentArnHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace EVS
205} // namespace Aws
const Aws::String & GetEnvironmentArn() const
AWS_EVS_API EnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvironmentStatus(CheckResult value)
const Aws::Utils::DateTime & GetCreatedAt() const
EnvironmentSummary & WithEnvironmentStatus(CheckResult value)
const Aws::String & GetEnvironmentId() const
void SetModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
EnvironmentSummary & WithEnvironmentId(EnvironmentIdT &&value)
AWS_EVS_API EnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSummary & WithModifiedAt(ModifiedAtT &&value)
void SetEnvironmentArn(EnvironmentArnT &&value)
void SetEnvironmentState(EnvironmentState value)
void SetEnvironmentName(EnvironmentNameT &&value)
EnvironmentSummary & WithVcfVersion(VcfVersion value)
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentSummary & WithEnvironmentState(EnvironmentState value)
EnvironmentSummary & WithEnvironmentName(EnvironmentNameT &&value)
EnvironmentSummary & WithEnvironmentArn(EnvironmentArnT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_EVS_API EnvironmentSummary()=default
EnvironmentState GetEnvironmentState() const
const Aws::String & GetEnvironmentName() const
EnvironmentSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue