AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
LensSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/LensStatus.h>
11#include <aws/wellarchitected/model/LensType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected {
23namespace Model {
24
31 public:
32 AWS_WELLARCHITECTED_API LensSummary() = default;
33 AWS_WELLARCHITECTED_API LensSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API LensSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetLensArn() const { return m_lensArn; }
42 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
43 template <typename LensArnT = Aws::String>
44 void SetLensArn(LensArnT&& value) {
45 m_lensArnHasBeenSet = true;
46 m_lensArn = std::forward<LensArnT>(value);
47 }
48 template <typename LensArnT = Aws::String>
49 LensSummary& WithLensArn(LensArnT&& value) {
50 SetLensArn(std::forward<LensArnT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
58 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
59 template <typename LensAliasT = Aws::String>
60 void SetLensAlias(LensAliasT&& value) {
61 m_lensAliasHasBeenSet = true;
62 m_lensAlias = std::forward<LensAliasT>(value);
63 }
64 template <typename LensAliasT = Aws::String>
65 LensSummary& WithLensAlias(LensAliasT&& value) {
66 SetLensAlias(std::forward<LensAliasT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetLensName() const { return m_lensName; }
74 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
75 template <typename LensNameT = Aws::String>
76 void SetLensName(LensNameT&& value) {
77 m_lensNameHasBeenSet = true;
78 m_lensName = std::forward<LensNameT>(value);
79 }
80 template <typename LensNameT = Aws::String>
81 LensSummary& WithLensName(LensNameT&& value) {
82 SetLensName(std::forward<LensNameT>(value));
83 return *this;
84 }
86
88
91 inline LensType GetLensType() const { return m_lensType; }
92 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
93 inline void SetLensType(LensType value) {
94 m_lensTypeHasBeenSet = true;
95 m_lensType = value;
96 }
98 SetLensType(value);
99 return *this;
100 }
102
104
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
113 LensSummary& WithDescription(DescriptionT&& value) {
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
122 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
124 void SetCreatedAt(CreatedAtT&& value) {
125 m_createdAtHasBeenSet = true;
126 m_createdAt = std::forward<CreatedAtT>(value);
127 }
128 template <typename CreatedAtT = Aws::Utils::DateTime>
129 LensSummary& WithCreatedAt(CreatedAtT&& value) {
130 SetCreatedAt(std::forward<CreatedAtT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
138 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
139 template <typename UpdatedAtT = Aws::Utils::DateTime>
140 void SetUpdatedAt(UpdatedAtT&& value) {
141 m_updatedAtHasBeenSet = true;
142 m_updatedAt = std::forward<UpdatedAtT>(value);
143 }
144 template <typename UpdatedAtT = Aws::Utils::DateTime>
145 LensSummary& WithUpdatedAt(UpdatedAtT&& value) {
146 SetUpdatedAt(std::forward<UpdatedAtT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetLensVersion() const { return m_lensVersion; }
156 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
157 template <typename LensVersionT = Aws::String>
158 void SetLensVersion(LensVersionT&& value) {
159 m_lensVersionHasBeenSet = true;
160 m_lensVersion = std::forward<LensVersionT>(value);
161 }
162 template <typename LensVersionT = Aws::String>
163 LensSummary& WithLensVersion(LensVersionT&& value) {
164 SetLensVersion(std::forward<LensVersionT>(value));
165 return *this;
166 }
168
170
171 inline const Aws::String& GetOwner() const { return m_owner; }
172 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
173 template <typename OwnerT = Aws::String>
174 void SetOwner(OwnerT&& value) {
175 m_ownerHasBeenSet = true;
176 m_owner = std::forward<OwnerT>(value);
177 }
178 template <typename OwnerT = Aws::String>
179 LensSummary& WithOwner(OwnerT&& value) {
180 SetOwner(std::forward<OwnerT>(value));
181 return *this;
182 }
184
186
189 inline LensStatus GetLensStatus() const { return m_lensStatus; }
190 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
191 inline void SetLensStatus(LensStatus value) {
192 m_lensStatusHasBeenSet = true;
193 m_lensStatus = value;
194 }
196 SetLensStatus(value);
197 return *this;
198 }
200 private:
201 Aws::String m_lensArn;
202
203 Aws::String m_lensAlias;
204
205 Aws::String m_lensName;
206
207 LensType m_lensType{LensType::NOT_SET};
208
209 Aws::String m_description;
210
211 Aws::Utils::DateTime m_createdAt{};
212
213 Aws::Utils::DateTime m_updatedAt{};
214
215 Aws::String m_lensVersion;
216
217 Aws::String m_owner;
218
219 LensStatus m_lensStatus{LensStatus::NOT_SET};
220 bool m_lensArnHasBeenSet = false;
221 bool m_lensAliasHasBeenSet = false;
222 bool m_lensNameHasBeenSet = false;
223 bool m_lensTypeHasBeenSet = false;
224 bool m_descriptionHasBeenSet = false;
225 bool m_createdAtHasBeenSet = false;
226 bool m_updatedAtHasBeenSet = false;
227 bool m_lensVersionHasBeenSet = false;
228 bool m_ownerHasBeenSet = false;
229 bool m_lensStatusHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace WellArchitected
234} // namespace Aws
LensSummary & WithLensType(LensType value)
Definition LensSummary.h:97
void SetLensAlias(LensAliasT &&value)
Definition LensSummary.h:60
const Aws::String & GetDescription() const
LensSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_WELLARCHITECTED_API LensSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLensAlias() const
Definition LensSummary.h:57
const Aws::String & GetOwner() const
void SetLensName(LensNameT &&value)
Definition LensSummary.h:76
const Aws::String & GetLensArn() const
Definition LensSummary.h:41
LensSummary & WithLensName(LensNameT &&value)
Definition LensSummary.h:81
LensSummary & WithLensStatus(LensStatus value)
LensSummary & WithLensArn(LensArnT &&value)
Definition LensSummary.h:49
LensSummary & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetLensName() const
Definition LensSummary.h:73
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
AWS_WELLARCHITECTED_API LensSummary()=default
void SetLensVersion(LensVersionT &&value)
LensSummary & WithLensAlias(LensAliasT &&value)
Definition LensSummary.h:65
AWS_WELLARCHITECTED_API LensSummary(Aws::Utils::Json::JsonView jsonValue)
LensSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetLensVersion() const
LensSummary & WithOwner(OwnerT &&value)
LensSummary & WithLensVersion(LensVersionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue