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>
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
86 inline void SetNamespaceArn(
const char* value) { m_namespaceArnHasBeenSet =
true; m_namespaceArn.assign(value); }
112 inline void SetRecommendationType(
const char* value) { m_recommendationTypeHasBeenSet =
true; m_recommendationType.assign(value); }
126 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
140 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
154 inline void SetObservation(
const char* value) { m_observationHasBeenSet =
true; m_observation.assign(value); }
181 inline void SetRecommendationText(
const char* value) { m_recommendationTextHasBeenSet =
true; m_recommendationText.assign(value); }
218 bool m_idHasBeenSet =
false;
221 bool m_clusterIdentifierHasBeenSet =
false;
224 bool m_namespaceArnHasBeenSet =
false;
227 bool m_createdAtHasBeenSet =
false;
230 bool m_recommendationTypeHasBeenSet =
false;
233 bool m_titleHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
239 bool m_observationHasBeenSet =
false;
242 bool m_impactRankingHasBeenSet =
false;
245 bool m_recommendationTextHasBeenSet =
false;
248 bool m_recommendedActionsHasBeenSet =
false;
251 bool m_referenceLinksHasBeenSet =
false;
bool RecommendedActionsHasBeenSet() const
Recommendation & WithId(const Aws::String &value)
void SetRecommendationType(Aws::String &&value)
AWS_REDSHIFT_API Recommendation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Recommendation & WithRecommendationText(const char *value)
const Aws::String & GetNamespaceArn() const
Recommendation & WithTitle(const Aws::String &value)
Recommendation & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< RecommendedAction > & GetRecommendedActions() const
Recommendation & WithReferenceLinks(Aws::Vector< ReferenceLink > &&value)
Recommendation & WithClusterIdentifier(const char *value)
bool ObservationHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
Recommendation & WithObservation(Aws::String &&value)
void SetId(const char *value)
Recommendation & WithTitle(const char *value)
void SetObservation(Aws::String &&value)
Recommendation & WithNamespaceArn(const char *value)
const Aws::String & GetClusterIdentifier() const
void SetObservation(const Aws::String &value)
const ImpactRankingType & GetImpactRanking() const
bool DescriptionHasBeenSet() const
Recommendation & WithRecommendationText(const Aws::String &value)
const Aws::String & GetId() const
Recommendation & WithRecommendedActions(Aws::Vector< RecommendedAction > &&value)
Recommendation & WithNamespaceArn(Aws::String &&value)
bool TitleHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRecommendedActions(Aws::Vector< RecommendedAction > &&value)
void SetClusterIdentifier(const Aws::String &value)
void SetObservation(const char *value)
Recommendation & WithObservation(const char *value)
const Aws::String & GetRecommendationText() const
void SetImpactRanking(ImpactRankingType &&value)
void SetRecommendationType(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
bool IdHasBeenSet() const
void SetReferenceLinks(const Aws::Vector< ReferenceLink > &value)
const Aws::String & GetDescription() const
void SetTitle(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRecommendedActions(const Aws::Vector< RecommendedAction > &value)
Recommendation & WithImpactRanking(const ImpactRankingType &value)
Recommendation & WithNamespaceArn(const Aws::String &value)
void SetTitle(Aws::String &&value)
void SetNamespaceArn(const char *value)
const Aws::Vector< ReferenceLink > & GetReferenceLinks() const
void SetReferenceLinks(Aws::Vector< ReferenceLink > &&value)
Recommendation & AddRecommendedActions(RecommendedAction &&value)
Recommendation & WithId(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Recommendation & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
Recommendation & WithRecommendationText(Aws::String &&value)
Recommendation & WithDescription(const char *value)
void SetId(const Aws::String &value)
void SetClusterIdentifier(const char *value)
bool RecommendationTypeHasBeenSet() const
bool ImpactRankingHasBeenSet() const
AWS_REDSHIFT_API Recommendation()
Recommendation & WithRecommendedActions(const Aws::Vector< RecommendedAction > &value)
void SetRecommendationType(const char *value)
Recommendation & AddReferenceLinks(const ReferenceLink &value)
void SetRecommendationText(const Aws::String &value)
bool CreatedAtHasBeenSet() const
Recommendation & WithId(Aws::String &&value)
void SetClusterIdentifier(Aws::String &&value)
Recommendation & WithDescription(Aws::String &&value)
Recommendation & WithImpactRanking(ImpactRankingType &&value)
Recommendation & AddRecommendedActions(const RecommendedAction &value)
Recommendation & WithClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API Recommendation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRecommendationType() const
bool ReferenceLinksHasBeenSet() const
void SetImpactRanking(const ImpactRankingType &value)
const Aws::String & GetObservation() const
Recommendation & AddReferenceLinks(ReferenceLink &&value)
bool NamespaceArnHasBeenSet() const
void SetTitle(const char *value)
bool RecommendationTextHasBeenSet() const
Recommendation & WithTitle(Aws::String &&value)
void SetNamespaceArn(const Aws::String &value)
bool ClusterIdentifierHasBeenSet() const
void SetDescription(const char *value)
Recommendation & WithDescription(const Aws::String &value)
Recommendation & WithClusterIdentifier(const Aws::String &value)
Recommendation & WithReferenceLinks(const Aws::Vector< ReferenceLink > &value)
Recommendation & WithRecommendationType(const char *value)
Recommendation & WithRecommendationType(Aws::String &&value)
void SetRecommendationText(const char *value)
void SetNamespaceArn(Aws::String &&value)
Recommendation & WithRecommendationType(const Aws::String &value)
void SetRecommendationText(Aws::String &&value)
const Aws::String & GetTitle() const
Recommendation & WithObservation(const Aws::String &value)
void SetId(Aws::String &&value)
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