7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/resiliencehub/model/Cost.h>
11#include <aws/resiliencehub/model/HaArchitecture.h>
12#include <aws/resiliencehub/model/ConfigRecommendationOptimizationType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/resiliencehub/model/DisruptionType.h>
15#include <aws/resiliencehub/model/DisruptionCompliance.h>
16#include <aws/resiliencehub/model/RecommendationDisruptionCompliance.h>
29namespace ResilienceHub
56 inline void SetAppComponentName(
const char* value) { m_appComponentNameHasBeenSet =
true; m_appComponentName.assign(value); }
85 inline void SetCost(
const Cost& value) { m_costHasBeenSet =
true; m_cost = value; }
86 inline void SetCost(
Cost&& value) { m_costHasBeenSet =
true; m_cost = std::move(value); }
99 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
125 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
168 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
191 bool m_appComponentNameHasBeenSet =
false;
194 bool m_complianceHasBeenSet =
false;
197 bool m_costHasBeenSet =
false;
200 bool m_descriptionHasBeenSet =
false;
203 bool m_haArchitectureHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_optimizationTypeHasBeenSet =
false;
212 bool m_recommendationComplianceHasBeenSet =
false;
215 bool m_referenceIdHasBeenSet =
false;
218 bool m_suggestedChangesHasBeenSet =
false;
ConfigRecommendation & WithAppComponentName(const Aws::String &value)
const Aws::String & GetName() const
ConfigRecommendation & WithDescription(const Aws::String &value)
void SetName(const char *value)
void SetCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
ConfigRecommendation & AddSuggestedChanges(Aws::String &&value)
ConfigRecommendation & WithOptimizationType(const ConfigRecommendationOptimizationType &value)
ConfigRecommendation & AddCompliance(const DisruptionType &key, DisruptionCompliance &&value)
bool DescriptionHasBeenSet() const
ConfigRecommendation & WithCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
ConfigRecommendation & AddCompliance(DisruptionType &&key, DisruptionCompliance &&value)
void SetReferenceId(Aws::String &&value)
ConfigRecommendation & WithName(const Aws::String &value)
void SetSuggestedChanges(Aws::Vector< Aws::String > &&value)
void SetAppComponentName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSuggestedChanges() const
void SetDescription(const Aws::String &value)
const Aws::Map< DisruptionType, RecommendationDisruptionCompliance > & GetRecommendationCompliance() const
AWS_RESILIENCEHUB_API ConfigRecommendation()
bool RecommendationComplianceHasBeenSet() const
ConfigRecommendation & AddRecommendationCompliance(const DisruptionType &key, const RecommendationDisruptionCompliance &value)
void SetHaArchitecture(const HaArchitecture &value)
ConfigRecommendation & AddCompliance(DisruptionType &&key, const DisruptionCompliance &value)
ConfigRecommendation & WithCost(const Cost &value)
ConfigRecommendation & WithCost(Cost &&value)
void SetCompliance(const Aws::Map< DisruptionType, DisruptionCompliance > &value)
void SetDescription(const char *value)
bool CostHasBeenSet() const
void SetSuggestedChanges(const Aws::Vector< Aws::String > &value)
ConfigRecommendation & WithAppComponentName(const char *value)
bool SuggestedChangesHasBeenSet() const
ConfigRecommendation & AddSuggestedChanges(const Aws::String &value)
ConfigRecommendation & WithCompliance(Aws::Map< DisruptionType, DisruptionCompliance > &&value)
const Cost & GetCost() const
bool ComplianceHasBeenSet() const
const Aws::String & GetDescription() const
AWS_RESILIENCEHUB_API ConfigRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigRecommendation & WithReferenceId(const Aws::String &value)
ConfigRecommendation & WithSuggestedChanges(const Aws::Vector< Aws::String > &value)
void SetOptimizationType(const ConfigRecommendationOptimizationType &value)
ConfigRecommendation & AddRecommendationCompliance(DisruptionType &&key, const RecommendationDisruptionCompliance &value)
bool AppComponentNameHasBeenSet() const
const HaArchitecture & GetHaArchitecture() const
ConfigRecommendation & AddSuggestedChanges(const char *value)
const Aws::Map< DisruptionType, DisruptionCompliance > & GetCompliance() const
bool ReferenceIdHasBeenSet() const
void SetHaArchitecture(HaArchitecture &&value)
bool OptimizationTypeHasBeenSet() const
ConfigRecommendation & WithHaArchitecture(const HaArchitecture &value)
void SetDescription(Aws::String &&value)
ConfigRecommendation & WithDescription(Aws::String &&value)
ConfigRecommendation & WithRecommendationCompliance(Aws::Map< DisruptionType, RecommendationDisruptionCompliance > &&value)
AWS_RESILIENCEHUB_API ConfigRecommendation(Aws::Utils::Json::JsonView jsonValue)
ConfigRecommendation & WithSuggestedChanges(Aws::Vector< Aws::String > &&value)
void SetCost(Cost &&value)
void SetReferenceId(const Aws::String &value)
ConfigRecommendation & WithDescription(const char *value)
void SetReferenceId(const char *value)
ConfigRecommendation & AddRecommendationCompliance(const DisruptionType &key, RecommendationDisruptionCompliance &&value)
void SetOptimizationType(ConfigRecommendationOptimizationType &&value)
void SetRecommendationCompliance(const Aws::Map< DisruptionType, RecommendationDisruptionCompliance > &value)
void SetAppComponentName(const char *value)
ConfigRecommendation & AddRecommendationCompliance(DisruptionType &&key, RecommendationDisruptionCompliance &&value)
void SetName(const Aws::String &value)
const Aws::String & GetReferenceId() const
ConfigRecommendation & WithHaArchitecture(HaArchitecture &&value)
ConfigRecommendation & WithName(const char *value)
ConfigRecommendation & WithAppComponentName(Aws::String &&value)
ConfigRecommendation & WithOptimizationType(ConfigRecommendationOptimizationType &&value)
void SetAppComponentName(const Aws::String &value)
bool HaArchitectureHasBeenSet() const
void SetRecommendationCompliance(Aws::Map< DisruptionType, RecommendationDisruptionCompliance > &&value)
ConfigRecommendation & WithName(Aws::String &&value)
ConfigRecommendation & WithReferenceId(Aws::String &&value)
const ConfigRecommendationOptimizationType & GetOptimizationType() const
ConfigRecommendation & AddCompliance(const DisruptionType &key, const DisruptionCompliance &value)
ConfigRecommendation & WithReferenceId(const char *value)
const Aws::String & GetAppComponentName() const
void SetCost(const Cost &value)
void SetName(Aws::String &&value)
ConfigRecommendation & WithRecommendationCompliance(const Aws::Map< DisruptionType, RecommendationDisruptionCompliance > &value)
bool NameHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigRecommendationOptimizationType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue