7#include <aws/redshift/Redshift_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/redshift/model/ImpactRankingType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/redshift/model/RecommendedAction.h>
14#include <aws/redshift/model/ReferenceLink.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
67 template<
typename ClusterIdentifierT = Aws::String>
68 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
69 template<
typename ClusterIdentifierT = Aws::String>
80 template<
typename NamespaceArnT = Aws::String>
81 void SetNamespaceArn(NamespaceArnT&& value) { m_namespaceArnHasBeenSet =
true; m_namespaceArn = std::forward<NamespaceArnT>(value); }
82 template<
typename NamespaceArnT = Aws::String>
92 template<
typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
94 template<
typename CreatedAtT = Aws::Utils::DateTime>
104 template<
typename RecommendationTypeT = Aws::String>
105 void SetRecommendationType(RecommendationTypeT&& value) { m_recommendationTypeHasBeenSet =
true; m_recommendationType = std::forward<RecommendationTypeT>(value); }
106 template<
typename RecommendationTypeT = Aws::String>
116 template<
typename TitleT = Aws::String>
117 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
118 template<
typename TitleT = Aws::String>
128 template<
typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
130 template<
typename DescriptionT = Aws::String>
140 template<
typename ObservationT = Aws::String>
141 void SetObservation(ObservationT&& value) { m_observationHasBeenSet =
true; m_observation = std::forward<ObservationT>(value); }
142 template<
typename ObservationT = Aws::String>
163 template<
typename RecommendationTextT = Aws::String>
164 void SetRecommendationText(RecommendationTextT&& value) { m_recommendationTextHasBeenSet =
true; m_recommendationText = std::forward<RecommendationTextT>(value); }
165 template<
typename RecommendationTextT = Aws::String>
175 template<
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
176 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
177 template<
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
179 template<
typename RecommendedActionsT = RecommendedAction>
180 Recommendation&
AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet =
true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
return *
this; }
190 template<
typename ReferenceLinksT = Aws::Vector<ReferenceLink>>
191 void SetReferenceLinks(ReferenceLinksT&& value) { m_referenceLinksHasBeenSet =
true; m_referenceLinks = std::forward<ReferenceLinksT>(value); }
192 template<
typename ReferenceLinksT = Aws::Vector<ReferenceLink>>
194 template<
typename ReferenceLinksT = ReferenceLink>
195 Recommendation&
AddReferenceLinks(ReferenceLinksT&& value) { m_referenceLinksHasBeenSet =
true; m_referenceLinks.emplace_back(std::forward<ReferenceLinksT>(value));
return *
this; }
200 bool m_idHasBeenSet =
false;
203 bool m_clusterIdentifierHasBeenSet =
false;
206 bool m_namespaceArnHasBeenSet =
false;
209 bool m_createdAtHasBeenSet =
false;
212 bool m_recommendationTypeHasBeenSet =
false;
215 bool m_titleHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
221 bool m_observationHasBeenSet =
false;
224 bool m_impactRankingHasBeenSet =
false;
227 bool m_recommendationTextHasBeenSet =
false;
230 bool m_recommendedActionsHasBeenSet =
false;
233 bool m_referenceLinksHasBeenSet =
false;
bool RecommendedActionsHasBeenSet() const
Recommendation & WithRecommendedActions(RecommendedActionsT &&value)
AWS_REDSHIFT_API Recommendation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Recommendation & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetNamespaceArn() const
void SetRecommendationText(RecommendationTextT &&value)
void SetNamespaceArn(NamespaceArnT &&value)
const Aws::Vector< RecommendedAction > & GetRecommendedActions() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
void SetDescription(DescriptionT &&value)
bool ObservationHasBeenSet() const
Recommendation & AddRecommendedActions(RecommendedActionsT &&value)
Recommendation & WithRecommendationType(RecommendationTypeT &&value)
const Aws::String & GetClusterIdentifier() const
bool DescriptionHasBeenSet() const
const Aws::String & GetId() const
Recommendation & WithId(IdT &&value)
bool TitleHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
Recommendation & WithNamespaceArn(NamespaceArnT &&value)
const Aws::String & GetRecommendationText() const
bool IdHasBeenSet() const
void SetReferenceLinks(ReferenceLinksT &&value)
const Aws::String & GetDescription() const
void SetImpactRanking(ImpactRankingType value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< ReferenceLink > & GetReferenceLinks() const
Recommendation & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTitle(TitleT &&value)
bool RecommendationTypeHasBeenSet() const
bool ImpactRankingHasBeenSet() const
Recommendation & WithReferenceLinks(ReferenceLinksT &&value)
void SetRecommendationType(RecommendationTypeT &&value)
Recommendation & AddReferenceLinks(ReferenceLinksT &&value)
Recommendation & WithDescription(DescriptionT &&value)
Recommendation & WithObservation(ObservationT &&value)
bool CreatedAtHasBeenSet() const
AWS_REDSHIFT_API Recommendation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRecommendationType() const
bool ReferenceLinksHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
Recommendation & WithTitle(TitleT &&value)
Recommendation & WithImpactRanking(ImpactRankingType value)
AWS_REDSHIFT_API Recommendation()=default
const Aws::String & GetObservation() const
ImpactRankingType GetImpactRanking() const
bool NamespaceArnHasBeenSet() const
bool RecommendationTextHasBeenSet() const
void SetObservation(ObservationT &&value)
bool ClusterIdentifierHasBeenSet() const
Recommendation & WithRecommendationText(RecommendationTextT &&value)
void SetRecommendedActions(RecommendedActionsT &&value)
const Aws::String & GetTitle() 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