AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
GoalSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/Pillar.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
32 public:
33 AWS_WELLARCHITECTED_API GoalSummary() = default;
34 AWS_WELLARCHITECTED_API GoalSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WELLARCHITECTED_API GoalSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 GoalSummary& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
61 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
62 template <typename ProfileArnT = Aws::String>
63 void SetProfileArn(ProfileArnT&& value) {
64 m_profileArnHasBeenSet = true;
65 m_profileArn = std::forward<ProfileArnT>(value);
66 }
67 template <typename ProfileArnT = Aws::String>
68 GoalSummary& WithProfileArn(ProfileArnT&& value) {
69 SetProfileArn(std::forward<ProfileArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
79 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
80 template <typename PillarsT = Aws::Vector<Pillar>>
81 void SetPillars(PillarsT&& value) {
82 m_pillarsHasBeenSet = true;
83 m_pillars = std::forward<PillarsT>(value);
84 }
85 template <typename PillarsT = Aws::Vector<Pillar>>
86 GoalSummary& WithPillars(PillarsT&& value) {
87 SetPillars(std::forward<PillarsT>(value));
88 return *this;
89 }
90 inline GoalSummary& AddPillars(Pillar value) {
91 m_pillarsHasBeenSet = true;
92 m_pillars.push_back(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetTitle() const { return m_title; }
102 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
103 template <typename TitleT = Aws::String>
104 void SetTitle(TitleT&& value) {
105 m_titleHasBeenSet = true;
106 m_title = std::forward<TitleT>(value);
107 }
108 template <typename TitleT = Aws::String>
109 GoalSummary& WithTitle(TitleT&& value) {
110 SetTitle(std::forward<TitleT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetDescription() const { return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 template <typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) {
123 m_descriptionHasBeenSet = true;
124 m_description = std::forward<DescriptionT>(value);
125 }
126 template <typename DescriptionT = Aws::String>
127 GoalSummary& WithDescription(DescriptionT&& value) {
128 SetDescription(std::forward<DescriptionT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
138 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
139 template <typename CreatedByT = Aws::String>
140 void SetCreatedBy(CreatedByT&& value) {
141 m_createdByHasBeenSet = true;
142 m_createdBy = std::forward<CreatedByT>(value);
143 }
144 template <typename CreatedByT = Aws::String>
145 GoalSummary& WithCreatedBy(CreatedByT&& value) {
146 SetCreatedBy(std::forward<CreatedByT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
156 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) {
159 m_createdAtHasBeenSet = true;
160 m_createdAt = std::forward<CreatedAtT>(value);
161 }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
163 GoalSummary& WithCreatedAt(CreatedAtT&& value) {
164 SetCreatedAt(std::forward<CreatedAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
174 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
175 template <typename LastModifiedByT = Aws::String>
176 void SetLastModifiedBy(LastModifiedByT&& value) {
177 m_lastModifiedByHasBeenSet = true;
178 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
179 }
180 template <typename LastModifiedByT = Aws::String>
181 GoalSummary& WithLastModifiedBy(LastModifiedByT&& value) {
182 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
192 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
193 template <typename LastModifiedAtT = Aws::Utils::DateTime>
194 void SetLastModifiedAt(LastModifiedAtT&& value) {
195 m_lastModifiedAtHasBeenSet = true;
196 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
197 }
198 template <typename LastModifiedAtT = Aws::Utils::DateTime>
199 GoalSummary& WithLastModifiedAt(LastModifiedAtT&& value) {
200 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
201 return *this;
202 }
204 private:
205 Aws::String m_id;
206
207 Aws::String m_profileArn;
208
209 Aws::Vector<Pillar> m_pillars;
210
211 Aws::String m_title;
212
213 Aws::String m_description;
214
215 Aws::String m_createdBy;
216
217 Aws::Utils::DateTime m_createdAt{};
218
219 Aws::String m_lastModifiedBy;
220
221 Aws::Utils::DateTime m_lastModifiedAt{};
222 bool m_idHasBeenSet = false;
223 bool m_profileArnHasBeenSet = false;
224 bool m_pillarsHasBeenSet = false;
225 bool m_titleHasBeenSet = false;
226 bool m_descriptionHasBeenSet = false;
227 bool m_createdByHasBeenSet = false;
228 bool m_createdAtHasBeenSet = false;
229 bool m_lastModifiedByHasBeenSet = false;
230 bool m_lastModifiedAtHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace WellArchitected
235} // namespace Aws
const Aws::String & GetTitle() const
AWS_WELLARCHITECTED_API GoalSummary()=default
GoalSummary & WithCreatedBy(CreatedByT &&value)
GoalSummary & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetProfileArn() const
Definition GoalSummary.h:60
const Aws::String & GetDescription() const
GoalSummary & WithId(IdT &&value)
Definition GoalSummary.h:50
void SetProfileArn(ProfileArnT &&value)
Definition GoalSummary.h:63
GoalSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedBy() const
GoalSummary & WithLastModifiedBy(LastModifiedByT &&value)
GoalSummary & WithTitle(TitleT &&value)
GoalSummary & WithDescription(DescriptionT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetLastModifiedBy() const
void SetCreatedAt(CreatedAtT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
GoalSummary & AddPillars(Pillar value)
Definition GoalSummary.h:90
AWS_WELLARCHITECTED_API GoalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Pillar > & GetPillars() const
Definition GoalSummary.h:78
AWS_WELLARCHITECTED_API GoalSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::String & GetId() const
Definition GoalSummary.h:42
GoalSummary & WithProfileArn(ProfileArnT &&value)
Definition GoalSummary.h:68
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
GoalSummary & WithPillars(PillarsT &&value)
Definition GoalSummary.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue