AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename LensArnT = Aws::String>
50 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::forward<LensArnT>(value); }
51 template<typename LensArnT = Aws::String>
52 LensSummary& WithLensArn(LensArnT&& value) { SetLensArn(std::forward<LensArnT>(value)); return *this;}
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) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
61 template<typename LensAliasT = Aws::String>
62 LensSummary& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
64
66
67 inline const Aws::String& GetLensName() const { return m_lensName; }
68 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
69 template<typename LensNameT = Aws::String>
70 void SetLensName(LensNameT&& value) { m_lensNameHasBeenSet = true; m_lensName = std::forward<LensNameT>(value); }
71 template<typename LensNameT = Aws::String>
72 LensSummary& WithLensName(LensNameT&& value) { SetLensName(std::forward<LensNameT>(value)); return *this;}
74
76
79 inline LensType GetLensType() const { return m_lensType; }
80 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
81 inline void SetLensType(LensType value) { m_lensTypeHasBeenSet = true; m_lensType = value; }
82 inline LensSummary& WithLensType(LensType value) { SetLensType(value); return *this;}
84
86
87 inline const Aws::String& GetDescription() const { return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 LensSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
97 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
98 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
101 template<typename CreatedAtT = Aws::Utils::DateTime>
102 LensSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
104
106
107 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
108 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
109 template<typename UpdatedAtT = Aws::Utils::DateTime>
110 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
111 template<typename UpdatedAtT = Aws::Utils::DateTime>
112 LensSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
114
116
119 inline const Aws::String& GetLensVersion() const { return m_lensVersion; }
120 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
121 template<typename LensVersionT = Aws::String>
122 void SetLensVersion(LensVersionT&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::forward<LensVersionT>(value); }
123 template<typename LensVersionT = Aws::String>
124 LensSummary& WithLensVersion(LensVersionT&& value) { SetLensVersion(std::forward<LensVersionT>(value)); return *this;}
126
128
129 inline const Aws::String& GetOwner() const { return m_owner; }
130 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
131 template<typename OwnerT = Aws::String>
132 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
133 template<typename OwnerT = Aws::String>
134 LensSummary& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
136
138
141 inline LensStatus GetLensStatus() const { return m_lensStatus; }
142 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
143 inline void SetLensStatus(LensStatus value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
144 inline LensSummary& WithLensStatus(LensStatus value) { SetLensStatus(value); return *this;}
146 private:
147
148 Aws::String m_lensArn;
149 bool m_lensArnHasBeenSet = false;
150
151 Aws::String m_lensAlias;
152 bool m_lensAliasHasBeenSet = false;
153
154 Aws::String m_lensName;
155 bool m_lensNameHasBeenSet = false;
156
157 LensType m_lensType{LensType::NOT_SET};
158 bool m_lensTypeHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdAt{};
164 bool m_createdAtHasBeenSet = false;
165
166 Aws::Utils::DateTime m_updatedAt{};
167 bool m_updatedAtHasBeenSet = false;
168
169 Aws::String m_lensVersion;
170 bool m_lensVersionHasBeenSet = false;
171
172 Aws::String m_owner;
173 bool m_ownerHasBeenSet = false;
174
175 LensStatus m_lensStatus{LensStatus::NOT_SET};
176 bool m_lensStatusHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace WellArchitected
181} // namespace Aws
LensSummary & WithLensType(LensType value)
Definition LensSummary.h:82
void SetLensAlias(LensAliasT &&value)
Definition LensSummary.h:60
const Aws::String & GetDescription() const
Definition LensSummary.h:87
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:70
const Aws::String & GetLensArn() const
Definition LensSummary.h:47
LensSummary & WithLensName(LensNameT &&value)
Definition LensSummary.h:72
LensSummary & WithLensStatus(LensStatus value)
LensSummary & WithLensArn(LensArnT &&value)
Definition LensSummary.h:52
LensSummary & WithDescription(DescriptionT &&value)
Definition LensSummary.h:92
void SetDescription(DescriptionT &&value)
Definition LensSummary.h:90
const Aws::String & GetLensName() const
Definition LensSummary.h:67
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition LensSummary.h:97
void SetCreatedAt(CreatedAtT &&value)
AWS_WELLARCHITECTED_API LensSummary()=default
void SetLensVersion(LensVersionT &&value)
LensSummary & WithLensAlias(LensAliasT &&value)
Definition LensSummary.h:62
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