AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LensSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/LensType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wellarchitected/model/LensStatus.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 WellArchitected
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WELLARCHITECTED_API LensSummary();
38 AWS_WELLARCHITECTED_API LensSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API LensSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
48 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
49 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
50 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
51 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
52 inline LensSummary& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
53 inline LensSummary& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
54 inline LensSummary& WithLensArn(const char* value) { SetLensArn(value); return *this;}
56
58
59 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
60 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
61 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
62 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
63 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
64 inline LensSummary& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
65 inline LensSummary& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
66 inline LensSummary& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
68
70
71 inline const Aws::String& GetLensName() const{ return m_lensName; }
72 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
73 inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
74 inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
75 inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
76 inline LensSummary& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
77 inline LensSummary& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
78 inline LensSummary& WithLensName(const char* value) { SetLensName(value); return *this;}
80
82
85 inline const LensType& GetLensType() const{ return m_lensType; }
86 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
87 inline void SetLensType(const LensType& value) { m_lensTypeHasBeenSet = true; m_lensType = value; }
88 inline void SetLensType(LensType&& value) { m_lensTypeHasBeenSet = true; m_lensType = std::move(value); }
89 inline LensSummary& WithLensType(const LensType& value) { SetLensType(value); return *this;}
90 inline LensSummary& WithLensType(LensType&& value) { SetLensType(std::move(value)); return *this;}
92
94
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 inline LensSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline LensSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline LensSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
107 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
108 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
109 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
110 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
111 inline LensSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
112 inline LensSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
114
116
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
118 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
119 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
120 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
121 inline LensSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
122 inline LensSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
130 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
131 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
132 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
133 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
134 inline LensSummary& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
135 inline LensSummary& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
136 inline LensSummary& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
138
140
141 inline const Aws::String& GetOwner() const{ return m_owner; }
142 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
143 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
144 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
145 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
146 inline LensSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
147 inline LensSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
148 inline LensSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
150
152
155 inline const LensStatus& GetLensStatus() const{ return m_lensStatus; }
156 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
157 inline void SetLensStatus(const LensStatus& value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
158 inline void SetLensStatus(LensStatus&& value) { m_lensStatusHasBeenSet = true; m_lensStatus = std::move(value); }
159 inline LensSummary& WithLensStatus(const LensStatus& value) { SetLensStatus(value); return *this;}
160 inline LensSummary& WithLensStatus(LensStatus&& value) { SetLensStatus(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_lensArn;
165 bool m_lensArnHasBeenSet = false;
166
167 Aws::String m_lensAlias;
168 bool m_lensAliasHasBeenSet = false;
169
170 Aws::String m_lensName;
171 bool m_lensNameHasBeenSet = false;
172
173 LensType m_lensType;
174 bool m_lensTypeHasBeenSet = false;
175
176 Aws::String m_description;
177 bool m_descriptionHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdAt;
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::Utils::DateTime m_updatedAt;
183 bool m_updatedAtHasBeenSet = false;
184
185 Aws::String m_lensVersion;
186 bool m_lensVersionHasBeenSet = false;
187
188 Aws::String m_owner;
189 bool m_ownerHasBeenSet = false;
190
191 LensStatus m_lensStatus;
192 bool m_lensStatusHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace WellArchitected
197} // namespace Aws
LensSummary & WithLensArn(const char *value)
Definition LensSummary.h:54
void SetLensVersion(const char *value)
const Aws::String & GetDescription() const
Definition LensSummary.h:95
LensSummary & WithOwner(Aws::String &&value)
void SetLensName(const char *value)
Definition LensSummary.h:75
const LensStatus & GetLensStatus() const
void SetLensStatus(LensStatus &&value)
void SetLensName(Aws::String &&value)
Definition LensSummary.h:74
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLensName(const Aws::String &value)
Definition LensSummary.h:73
void SetLensAlias(Aws::String &&value)
Definition LensSummary.h:62
AWS_WELLARCHITECTED_API LensSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LensSummary & WithLensName(const Aws::String &value)
Definition LensSummary.h:76
LensSummary & WithLensAlias(const char *value)
Definition LensSummary.h:66
const Aws::String & GetLensAlias() const
Definition LensSummary.h:59
LensSummary & WithLensVersion(const Aws::String &value)
const Aws::String & GetOwner() const
void SetLensArn(const Aws::String &value)
Definition LensSummary.h:49
const Aws::String & GetLensArn() const
Definition LensSummary.h:47
void SetUpdatedAt(Aws::Utils::DateTime &&value)
LensSummary & WithDescription(const char *value)
void SetOwner(Aws::String &&value)
LensSummary & WithDescription(Aws::String &&value)
LensSummary & WithLensType(LensType &&value)
Definition LensSummary.h:90
void SetLensAlias(const char *value)
Definition LensSummary.h:63
LensSummary & WithDescription(const Aws::String &value)
LensSummary & WithLensStatus(const LensStatus &value)
LensSummary & WithLensAlias(const Aws::String &value)
Definition LensSummary.h:64
const Aws::String & GetLensName() const
Definition LensSummary.h:71
void SetLensArn(Aws::String &&value)
Definition LensSummary.h:50
LensSummary & WithLensStatus(LensStatus &&value)
LensSummary & WithLensArn(Aws::String &&value)
Definition LensSummary.h:53
const Aws::Utils::DateTime & GetCreatedAt() const
LensSummary & WithLensVersion(const char *value)
LensSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
LensSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
LensSummary & WithLensName(Aws::String &&value)
Definition LensSummary.h:77
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLensAlias(const Aws::String &value)
Definition LensSummary.h:61
AWS_WELLARCHITECTED_API LensSummary()
LensSummary & WithOwner(const Aws::String &value)
LensSummary & WithLensName(const char *value)
Definition LensSummary.h:78
void SetDescription(const char *value)
Definition LensSummary.h:99
LensSummary & WithLensVersion(Aws::String &&value)
void SetLensVersion(Aws::String &&value)
void SetDescription(const Aws::String &value)
Definition LensSummary.h:97
LensSummary & WithLensAlias(Aws::String &&value)
Definition LensSummary.h:65
AWS_WELLARCHITECTED_API LensSummary(Aws::Utils::Json::JsonView jsonValue)
LensSummary & WithOwner(const char *value)
const Aws::String & GetLensVersion() const
void SetOwner(const Aws::String &value)
LensSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
LensSummary & WithLensArn(const Aws::String &value)
Definition LensSummary.h:52
void SetLensType(const LensType &value)
Definition LensSummary.h:87
void SetDescription(Aws::String &&value)
Definition LensSummary.h:98
void SetLensVersion(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
LensSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetLensStatus(const LensStatus &value)
const LensType & GetLensType() const
Definition LensSummary.h:85
LensSummary & WithLensType(const LensType &value)
Definition LensSummary.h:89
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