AWS SDK for C++

AWS SDK for C++ Version 1.11.869

Loading...
Searching...
No Matches
AgentRecommendationGenerationSummary.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/GenerationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected {
22namespace Model {
23
31 public:
32 AWS_WELLARCHITECTED_API AgentRecommendationGenerationSummary() = default;
35 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
60 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
61 template <typename ProfileArnT = Aws::String>
62 void SetProfileArn(ProfileArnT&& value) {
63 m_profileArnHasBeenSet = true;
64 m_profileArn = std::forward<ProfileArnT>(value);
65 }
66 template <typename ProfileArnT = Aws::String>
68 SetProfileArn(std::forward<ProfileArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline GenerationStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(GenerationStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetEstimatedCompletionTime() const { return m_estimatedCompletionTime; }
112 inline bool EstimatedCompletionTimeHasBeenSet() const { return m_estimatedCompletionTimeHasBeenSet; }
113 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
114 void SetEstimatedCompletionTime(EstimatedCompletionTimeT&& value) {
115 m_estimatedCompletionTimeHasBeenSet = true;
116 m_estimatedCompletionTime = std::forward<EstimatedCompletionTimeT>(value);
117 }
118 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
120 SetEstimatedCompletionTime(std::forward<EstimatedCompletionTimeT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
130 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
131 template <typename CreatedByT = Aws::String>
132 void SetCreatedBy(CreatedByT&& value) {
133 m_createdByHasBeenSet = true;
134 m_createdBy = std::forward<CreatedByT>(value);
135 }
136 template <typename CreatedByT = Aws::String>
138 SetCreatedBy(std::forward<CreatedByT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
166 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
167 template <typename LastModifiedByT = Aws::String>
168 void SetLastModifiedBy(LastModifiedByT&& value) {
169 m_lastModifiedByHasBeenSet = true;
170 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
171 }
172 template <typename LastModifiedByT = Aws::String>
174 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
184 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
185 template <typename LastModifiedAtT = Aws::Utils::DateTime>
186 void SetLastModifiedAt(LastModifiedAtT&& value) {
187 m_lastModifiedAtHasBeenSet = true;
188 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
189 }
190 template <typename LastModifiedAtT = Aws::Utils::DateTime>
192 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_id;
198
199 Aws::String m_profileArn;
200
201 Aws::String m_name;
202
204
205 Aws::Utils::DateTime m_estimatedCompletionTime{};
206
207 Aws::String m_createdBy;
208
209 Aws::Utils::DateTime m_createdAt{};
210
211 Aws::String m_lastModifiedBy;
212
213 Aws::Utils::DateTime m_lastModifiedAt{};
214 bool m_idHasBeenSet = false;
215 bool m_profileArnHasBeenSet = false;
216 bool m_nameHasBeenSet = false;
217 bool m_statusHasBeenSet = false;
218 bool m_estimatedCompletionTimeHasBeenSet = false;
219 bool m_createdByHasBeenSet = false;
220 bool m_createdAtHasBeenSet = false;
221 bool m_lastModifiedByHasBeenSet = false;
222 bool m_lastModifiedAtHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace WellArchitected
227} // namespace Aws
AgentRecommendationGenerationSummary & WithLastModifiedBy(LastModifiedByT &&value)
AgentRecommendationGenerationSummary & WithStatus(GenerationStatus value)
AWS_WELLARCHITECTED_API AgentRecommendationGenerationSummary(Aws::Utils::Json::JsonView jsonValue)
AgentRecommendationGenerationSummary & WithEstimatedCompletionTime(EstimatedCompletionTimeT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AgentRecommendationGenerationSummary & WithCreatedBy(CreatedByT &&value)
AWS_WELLARCHITECTED_API AgentRecommendationGenerationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API AgentRecommendationGenerationSummary()=default
AgentRecommendationGenerationSummary & WithProfileArn(ProfileArnT &&value)
AgentRecommendationGenerationSummary & WithCreatedAt(CreatedAtT &&value)
AgentRecommendationGenerationSummary & WithLastModifiedAt(LastModifiedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue