7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/ExcludeRecommendationReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ResilienceHub
47 inline void SetAlreadyImplemented(
bool value) { m_alreadyImplementedHasBeenSet =
true; m_alreadyImplemented = value; }
69 inline void SetExcluded(
bool value) { m_excludedHasBeenSet =
true; m_excluded = value; }
81 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
95 inline void SetTargetAccountId(
const char* value) { m_targetAccountIdHasBeenSet =
true; m_targetAccountId.assign(value); }
109 inline void SetTargetRegion(
const char* value) { m_targetRegionHasBeenSet =
true; m_targetRegion.assign(value); }
116 bool m_alreadyImplemented;
117 bool m_alreadyImplementedHasBeenSet =
false;
120 bool m_excludeReasonHasBeenSet =
false;
123 bool m_excludedHasBeenSet =
false;
126 bool m_resourceIdHasBeenSet =
false;
129 bool m_targetAccountIdHasBeenSet =
false;
132 bool m_targetRegionHasBeenSet =
false;
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceId(const char *value)
AWS_RESILIENCEHUB_API RecommendationItem()
RecommendationItem & WithResourceId(const Aws::String &value)
RecommendationItem & WithTargetRegion(Aws::String &&value)
void SetExcludeReason(ExcludeRecommendationReason &&value)
bool ExcludeReasonHasBeenSet() const
const Aws::String & GetTargetRegion() const
RecommendationItem & WithTargetRegion(const Aws::String &value)
RecommendationItem & WithExcluded(bool value)
bool TargetRegionHasBeenSet() const
bool ExcludedHasBeenSet() const
RecommendationItem & WithTargetAccountId(const char *value)
void SetTargetRegion(const Aws::String &value)
RecommendationItem & WithTargetAccountId(const Aws::String &value)
AWS_RESILIENCEHUB_API RecommendationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationItem & WithExcludeReason(const ExcludeRecommendationReason &value)
void SetTargetAccountId(Aws::String &&value)
void SetTargetRegion(const char *value)
RecommendationItem & WithTargetAccountId(Aws::String &&value)
void SetTargetAccountId(const Aws::String &value)
bool ResourceIdHasBeenSet() const
RecommendationItem & WithExcludeReason(ExcludeRecommendationReason &&value)
void SetAlreadyImplemented(bool value)
void SetResourceId(Aws::String &&value)
void SetExcludeReason(const ExcludeRecommendationReason &value)
AWS_RESILIENCEHUB_API RecommendationItem(Aws::Utils::Json::JsonView jsonValue)
void SetTargetRegion(Aws::String &&value)
const ExcludeRecommendationReason & GetExcludeReason() const
RecommendationItem & WithTargetRegion(const char *value)
void SetExcluded(bool value)
const Aws::String & GetResourceId() const
RecommendationItem & WithAlreadyImplemented(bool value)
RecommendationItem & WithResourceId(const char *value)
void SetTargetAccountId(const char *value)
RecommendationItem & WithResourceId(Aws::String &&value)
bool AlreadyImplementedHasBeenSet() const
void SetResourceId(const Aws::String &value)
bool GetAlreadyImplemented() const
bool TargetAccountIdHasBeenSet() const
const Aws::String & GetTargetAccountId() const
ExcludeRecommendationReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue