7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/IssueDetails.h>
13#include <aws/rds/model/RecommendedAction.h>
14#include <aws/rds/model/DocLink.h>
54 template<
typename RecommendationIdT = Aws::String>
55 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
56 template<
typename RecommendationIdT = Aws::String>
67 template<
typename TypeIdT = Aws::String>
68 void SetTypeId(TypeIdT&& value) { m_typeIdHasBeenSet =
true; m_typeId = std::forward<TypeIdT>(value); }
69 template<
typename TypeIdT = Aws::String>
83 template<
typename SeverityT = Aws::String>
84 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
85 template<
typename SeverityT = Aws::String>
96 template<
typename ResourceArnT = Aws::String>
97 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
98 template<
typename ResourceArnT = Aws::String>
113 template<
typename StatusT = Aws::String>
114 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
115 template<
typename StatusT = Aws::String>
126 template<
typename CreatedTimeT = Aws::Utils::DateTime>
127 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
128 template<
typename CreatedTimeT = Aws::Utils::DateTime>
138 template<
typename UpdatedTimeT = Aws::Utils::DateTime>
139 void SetUpdatedTime(UpdatedTimeT&& value) { m_updatedTimeHasBeenSet =
true; m_updatedTime = std::forward<UpdatedTimeT>(value); }
140 template<
typename UpdatedTimeT = Aws::Utils::DateTime>
151 template<
typename DetectionT = Aws::String>
152 void SetDetection(DetectionT&& value) { m_detectionHasBeenSet =
true; m_detection = std::forward<DetectionT>(value); }
153 template<
typename DetectionT = Aws::String>
164 template<
typename RecommendationT = Aws::String>
165 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
166 template<
typename RecommendationT = Aws::String>
177 template<
typename DescriptionT = Aws::String>
178 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
179 template<
typename DescriptionT = Aws::String>
190 template<
typename ReasonT = Aws::String>
191 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
192 template<
typename ReasonT = Aws::String>
202 template<
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
203 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
204 template<
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
206 template<
typename RecommendedActionsT = RecommendedAction>
207 DBRecommendation&
AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
return *
this; }
220 template<
typename CategoryT = Aws::String>
221 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
222 template<
typename CategoryT = Aws::String>
232 template<
typename SourceT = Aws::String>
233 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
234 template<
typename SourceT = Aws::String>
245 template<
typename TypeDetectionT = Aws::String>
246 void SetTypeDetection(TypeDetectionT&& value) { m_typeDetectionHasBeenSet =
true; m_typeDetection = std::forward<TypeDetectionT>(value); }
247 template<
typename TypeDetectionT = Aws::String>
258 template<
typename TypeRecommendationT = Aws::String>
259 void SetTypeRecommendation(TypeRecommendationT&& value) { m_typeRecommendationHasBeenSet =
true; m_typeRecommendation = std::forward<TypeRecommendationT>(value); }
260 template<
typename TypeRecommendationT = Aws::String>
270 template<
typename ImpactT = Aws::String>
271 void SetImpact(ImpactT&& value) { m_impactHasBeenSet =
true; m_impact = std::forward<ImpactT>(value); }
272 template<
typename ImpactT = Aws::String>
283 template<
typename AdditionalInfoT = Aws::String>
284 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
285 template<
typename AdditionalInfoT = Aws::String>
296 template<
typename LinksT = Aws::Vector<DocLink>>
297 void SetLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links = std::forward<LinksT>(value); }
298 template<
typename LinksT = Aws::Vector<DocLink>>
300 template<
typename LinksT = DocLink>
301 DBRecommendation&
AddLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links.emplace_back(std::forward<LinksT>(value));
return *
this; }
310 template<
typename IssueDetailsT = IssueDetails>
311 void SetIssueDetails(IssueDetailsT&& value) { m_issueDetailsHasBeenSet =
true; m_issueDetails = std::forward<IssueDetailsT>(value); }
312 template<
typename IssueDetailsT = IssueDetails>
318 bool m_recommendationIdHasBeenSet =
false;
321 bool m_typeIdHasBeenSet =
false;
324 bool m_severityHasBeenSet =
false;
327 bool m_resourceArnHasBeenSet =
false;
330 bool m_statusHasBeenSet =
false;
333 bool m_createdTimeHasBeenSet =
false;
336 bool m_updatedTimeHasBeenSet =
false;
339 bool m_detectionHasBeenSet =
false;
342 bool m_recommendationHasBeenSet =
false;
345 bool m_descriptionHasBeenSet =
false;
348 bool m_reasonHasBeenSet =
false;
351 bool m_recommendedActionsHasBeenSet =
false;
354 bool m_categoryHasBeenSet =
false;
357 bool m_sourceHasBeenSet =
false;
360 bool m_typeDetectionHasBeenSet =
false;
363 bool m_typeRecommendationHasBeenSet =
false;
366 bool m_impactHasBeenSet =
false;
369 bool m_additionalInfoHasBeenSet =
false;
372 bool m_linksHasBeenSet =
false;
374 IssueDetails m_issueDetails;
375 bool m_issueDetailsHasBeenSet =
false;
bool LinksHasBeenSet() const
const Aws::String & GetDescription() const
bool IssueDetailsHasBeenSet() const
bool DescriptionHasBeenSet() const
DBRecommendation & WithDetection(DetectionT &&value)
bool RecommendationHasBeenSet() const
void SetRecommendation(RecommendationT &&value)
void SetReason(ReasonT &&value)
const Aws::String & GetTypeRecommendation() const
DBRecommendation & WithRecommendedActions(RecommendedActionsT &&value)
bool SeverityHasBeenSet() const
const Aws::String & GetAdditionalInfo() const
const Aws::String & GetSeverity() const
DBRecommendation & WithIssueDetails(IssueDetailsT &&value)
const IssueDetails & GetIssueDetails() const
void SetUpdatedTime(UpdatedTimeT &&value)
const Aws::String & GetTypeDetection() const
DBRecommendation & WithImpact(ImpactT &&value)
bool RecommendationIdHasBeenSet() const
void SetTypeId(TypeIdT &&value)
DBRecommendation & WithTypeDetection(TypeDetectionT &&value)
const Aws::String & GetImpact() const
bool SourceHasBeenSet() const
DBRecommendation & WithAdditionalInfo(AdditionalInfoT &&value)
DBRecommendation & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetResourceArn() const
void SetTypeRecommendation(TypeRecommendationT &&value)
void SetLinks(LinksT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSource(SourceT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
bool CategoryHasBeenSet() const
const Aws::String & GetDetection() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceArn(ResourceArnT &&value)
void SetSeverity(SeverityT &&value)
void SetDetection(DetectionT &&value)
DBRecommendation & WithLinks(LinksT &&value)
void SetCreatedTime(CreatedTimeT &&value)
AWS_RDS_API DBRecommendation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TypeDetectionHasBeenSet() const
DBRecommendation & WithStatus(StatusT &&value)
const Aws::String & GetRecommendationId() const
void SetTypeDetection(TypeDetectionT &&value)
DBRecommendation & WithCategory(CategoryT &&value)
DBRecommendation & WithRecommendationId(RecommendationIdT &&value)
AWS_RDS_API DBRecommendation(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StatusHasBeenSet() const
DBRecommendation & WithUpdatedTime(UpdatedTimeT &&value)
DBRecommendation & AddRecommendedActions(RecommendedActionsT &&value)
const Aws::Vector< RecommendedAction > & GetRecommendedActions() const
void SetDescription(DescriptionT &&value)
AWS_RDS_API DBRecommendation()=default
bool UpdatedTimeHasBeenSet() const
void SetCategory(CategoryT &&value)
void SetRecommendedActions(RecommendedActionsT &&value)
void SetStatus(StatusT &&value)
DBRecommendation & WithRecommendation(RecommendationT &&value)
const Aws::String & GetStatus() const
void SetRecommendationId(RecommendationIdT &&value)
const Aws::String & GetRecommendation() const
const Aws::String & GetTypeId() const
bool RecommendedActionsHasBeenSet() const
bool ImpactHasBeenSet() const
DBRecommendation & WithSeverity(SeverityT &&value)
bool TypeRecommendationHasBeenSet() const
DBRecommendation & WithResourceArn(ResourceArnT &&value)
bool AdditionalInfoHasBeenSet() const
bool ResourceArnHasBeenSet() const
const Aws::String & GetCategory() const
DBRecommendation & WithSource(SourceT &&value)
const Aws::Utils::DateTime & GetUpdatedTime() const
bool ReasonHasBeenSet() const
void SetImpact(ImpactT &&value)
DBRecommendation & WithTypeId(TypeIdT &&value)
const Aws::Vector< DocLink > & GetLinks() const
bool DetectionHasBeenSet() const
DBRecommendation & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool CreatedTimeHasBeenSet() const
DBRecommendation & WithTypeRecommendation(TypeRecommendationT &&value)
DBRecommendation & AddLinks(LinksT &&value)
const Aws::String & GetSource() const
DBRecommendation & WithReason(ReasonT &&value)
bool TypeIdHasBeenSet() const
void SetIssueDetails(IssueDetailsT &&value)
const Aws::String & GetReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream