AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
StartAgentRecommendationGenerationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/GenerationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WellArchitected {
25namespace Model {
27 public:
28 AWS_WELLARCHITECTED_API StartAgentRecommendationGenerationResult() = default;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
55 template <typename ProfileArnT = Aws::String>
56 void SetProfileArn(ProfileArnT&& value) {
57 m_profileArnHasBeenSet = true;
58 m_profileArn = std::forward<ProfileArnT>(value);
59 }
60 template <typename ProfileArnT = Aws::String>
62 SetProfileArn(std::forward<ProfileArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
88 inline GenerationStatus GetStatus() const { return m_status; }
89 inline void SetStatus(GenerationStatus value) {
90 m_statusHasBeenSet = true;
91 m_status = value;
92 }
94 SetStatus(value);
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetEstimatedCompletionTime() const { return m_estimatedCompletionTime; }
104 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
105 void SetEstimatedCompletionTime(EstimatedCompletionTimeT&& value) {
106 m_estimatedCompletionTimeHasBeenSet = true;
107 m_estimatedCompletionTime = std::forward<EstimatedCompletionTimeT>(value);
108 }
109 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
111 SetEstimatedCompletionTime(std::forward<EstimatedCompletionTimeT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
121 template <typename CreatedByT = Aws::String>
122 void SetCreatedBy(CreatedByT&& value) {
123 m_createdByHasBeenSet = true;
124 m_createdBy = std::forward<CreatedByT>(value);
125 }
126 template <typename CreatedByT = Aws::String>
128 SetCreatedBy(std::forward<CreatedByT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
138 template <typename CreatedAtT = Aws::Utils::DateTime>
139 void SetCreatedAt(CreatedAtT&& value) {
140 m_createdAtHasBeenSet = true;
141 m_createdAt = std::forward<CreatedAtT>(value);
142 }
143 template <typename CreatedAtT = Aws::Utils::DateTime>
145 SetCreatedAt(std::forward<CreatedAtT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
155 template <typename LastModifiedByT = Aws::String>
156 void SetLastModifiedBy(LastModifiedByT&& value) {
157 m_lastModifiedByHasBeenSet = true;
158 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
159 }
160 template <typename LastModifiedByT = Aws::String>
162 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
172 template <typename LastModifiedAtT = Aws::Utils::DateTime>
173 void SetLastModifiedAt(LastModifiedAtT&& value) {
174 m_lastModifiedAtHasBeenSet = true;
175 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
176 }
177 template <typename LastModifiedAtT = Aws::Utils::DateTime>
179 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
180 return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template <typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) {
189 m_requestIdHasBeenSet = true;
190 m_requestId = std::forward<RequestIdT>(value);
191 }
192 template <typename RequestIdT = Aws::String>
194 SetRequestId(std::forward<RequestIdT>(value));
195 return *this;
196 }
198 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
199
200 private:
201 Aws::String m_id;
202
203 Aws::String m_profileArn;
204
205 Aws::String m_name;
206
208
209 Aws::Utils::DateTime m_estimatedCompletionTime{};
210
211 Aws::String m_createdBy;
212
213 Aws::Utils::DateTime m_createdAt{};
214
215 Aws::String m_lastModifiedBy;
216
217 Aws::Utils::DateTime m_lastModifiedAt{};
218
219 Aws::String m_requestId;
220 Aws::Http::HttpResponseCode m_HttpResponseCode;
221 bool m_idHasBeenSet = false;
222 bool m_profileArnHasBeenSet = false;
223 bool m_nameHasBeenSet = false;
224 bool m_statusHasBeenSet = false;
225 bool m_estimatedCompletionTimeHasBeenSet = false;
226 bool m_createdByHasBeenSet = false;
227 bool m_createdAtHasBeenSet = false;
228 bool m_lastModifiedByHasBeenSet = false;
229 bool m_lastModifiedAtHasBeenSet = false;
230 bool m_requestIdHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace WellArchitected
235} // namespace Aws
AWS_WELLARCHITECTED_API StartAgentRecommendationGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartAgentRecommendationGenerationResult & WithLastModifiedBy(LastModifiedByT &&value)
StartAgentRecommendationGenerationResult & WithEstimatedCompletionTime(EstimatedCompletionTimeT &&value)
StartAgentRecommendationGenerationResult & WithProfileArn(ProfileArnT &&value)
StartAgentRecommendationGenerationResult & WithCreatedAt(CreatedAtT &&value)
StartAgentRecommendationGenerationResult & WithStatus(GenerationStatus value)
StartAgentRecommendationGenerationResult & WithLastModifiedAt(LastModifiedAtT &&value)
StartAgentRecommendationGenerationResult & WithRequestId(RequestIdT &&value)
AWS_WELLARCHITECTED_API StartAgentRecommendationGenerationResult()=default
AWS_WELLARCHITECTED_API StartAgentRecommendationGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartAgentRecommendationGenerationResult & WithCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue