7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/ImpactRankingType.h>
13#include <aws/redshift/model/RecommendedAction.h>
14#include <aws/redshift/model/ReferenceLink.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
67 template <
typename ClusterIdentifierT = Aws::String>
69 m_clusterIdentifierHasBeenSet =
true;
70 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
72 template <
typename ClusterIdentifierT = Aws::String>
86 template <
typename NamespaceArnT = Aws::String>
88 m_namespaceArnHasBeenSet =
true;
89 m_namespaceArn = std::forward<NamespaceArnT>(value);
91 template <
typename NamespaceArnT = Aws::String>
104 template <
typename CreatedAtT = Aws::Utils::DateTime>
106 m_createdAtHasBeenSet =
true;
107 m_createdAt = std::forward<CreatedAtT>(value);
109 template <
typename CreatedAtT = Aws::Utils::DateTime>
122 template <
typename RecommendationTypeT = Aws::String>
124 m_recommendationTypeHasBeenSet =
true;
125 m_recommendationType = std::forward<RecommendationTypeT>(value);
127 template <
typename RecommendationTypeT = Aws::String>
140 template <
typename TitleT = Aws::String>
142 m_titleHasBeenSet =
true;
143 m_title = std::forward<TitleT>(value);
145 template <
typename TitleT = Aws::String>
147 SetTitle(std::forward<TitleT>(value));
158 template <
typename DescriptionT = Aws::String>
160 m_descriptionHasBeenSet =
true;
161 m_description = std::forward<DescriptionT>(value);
163 template <
typename DescriptionT = Aws::String>
176 template <
typename ObservationT = Aws::String>
178 m_observationHasBeenSet =
true;
179 m_observation = std::forward<ObservationT>(value);
181 template <
typename ObservationT = Aws::String>
196 m_impactRankingHasBeenSet =
true;
197 m_impactRanking = value;
211 template <
typename RecommendationTextT = Aws::String>
213 m_recommendationTextHasBeenSet =
true;
214 m_recommendationText = std::forward<RecommendationTextT>(value);
216 template <
typename RecommendationTextT = Aws::String>
229 template <
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
231 m_recommendedActionsHasBeenSet =
true;
232 m_recommendedActions = std::forward<RecommendedActionsT>(value);
234 template <
typename RecommendedActionsT = Aws::Vector<RecommendedAction>>
239 template <
typename RecommendedActionsT = RecommendedAction>
241 m_recommendedActionsHasBeenSet =
true;
242 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
254 template <
typename ReferenceLinksT = Aws::Vector<ReferenceLink>>
256 m_referenceLinksHasBeenSet =
true;
257 m_referenceLinks = std::forward<ReferenceLinksT>(value);
259 template <
typename ReferenceLinksT = Aws::Vector<ReferenceLink>>
264 template <
typename ReferenceLinksT = ReferenceLink>
266 m_referenceLinksHasBeenSet =
true;
267 m_referenceLinks.emplace_back(std::forward<ReferenceLinksT>(value));
295 bool m_idHasBeenSet =
false;
296 bool m_clusterIdentifierHasBeenSet =
false;
297 bool m_namespaceArnHasBeenSet =
false;
298 bool m_createdAtHasBeenSet =
false;
299 bool m_recommendationTypeHasBeenSet =
false;
300 bool m_titleHasBeenSet =
false;
301 bool m_descriptionHasBeenSet =
false;
302 bool m_observationHasBeenSet =
false;
303 bool m_impactRankingHasBeenSet =
false;
304 bool m_recommendationTextHasBeenSet =
false;
305 bool m_recommendedActionsHasBeenSet =
false;
306 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