7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wellarchitected/model/WorkloadImprovementStatus.h>
13#include <aws/wellarchitected/model/Risk.h>
14#include <aws/wellarchitected/model/WorkloadProfile.h>
27namespace WellArchitected
52 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
64 inline void SetWorkloadArn(
const char* value) { m_workloadArnHasBeenSet =
true; m_workloadArn.assign(value); }
76 inline void SetWorkloadName(
const char* value) { m_workloadNameHasBeenSet =
true; m_workloadName.assign(value); }
88 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
167 bool m_workloadIdHasBeenSet =
false;
170 bool m_workloadArnHasBeenSet =
false;
173 bool m_workloadNameHasBeenSet =
false;
176 bool m_ownerHasBeenSet =
false;
179 bool m_updatedAtHasBeenSet =
false;
182 bool m_lensesHasBeenSet =
false;
185 bool m_riskCountsHasBeenSet =
false;
188 bool m_improvementStatusHasBeenSet =
false;
191 bool m_profilesHasBeenSet =
false;
194 bool m_prioritizedRiskCountsHasBeenSet =
false;
const Aws::String & GetWorkloadArn() const
const Aws::String & GetWorkloadId() const
WorkloadSummary & AddProfiles(const WorkloadProfile &value)
WorkloadSummary & WithWorkloadId(const char *value)
const Aws::Vector< Aws::String > & GetLenses() const
const Aws::String & GetWorkloadName() const
void SetWorkloadArn(const Aws::String &value)
WorkloadSummary & WithOwner(Aws::String &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
void SetRiskCounts(const Aws::Map< Risk, int > &value)
WorkloadSummary & WithLenses(const Aws::Vector< Aws::String > &value)
bool WorkloadArnHasBeenSet() const
WorkloadSummary & WithImprovementStatus(const WorkloadImprovementStatus &value)
WorkloadSummary & WithOwner(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
WorkloadSummary & AddPrioritizedRiskCounts(const Risk &key, int value)
void SetImprovementStatus(WorkloadImprovementStatus &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< WorkloadProfile > & GetProfiles() const
WorkloadSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetWorkloadName(const char *value)
WorkloadSummary & WithPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
void SetProfiles(Aws::Vector< WorkloadProfile > &&value)
WorkloadSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
WorkloadSummary & WithWorkloadArn(const Aws::String &value)
WorkloadSummary & AddRiskCounts(Risk &&key, int value)
bool RiskCountsHasBeenSet() const
WorkloadSummary & WithPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
void SetOwner(const char *value)
const WorkloadImprovementStatus & GetImprovementStatus() const
WorkloadSummary & WithProfiles(Aws::Vector< WorkloadProfile > &&value)
void SetWorkloadId(const char *value)
WorkloadSummary & AddProfiles(WorkloadProfile &&value)
void SetPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
WorkloadSummary & WithWorkloadName(Aws::String &&value)
void SetWorkloadArn(Aws::String &&value)
WorkloadSummary & WithOwner(const char *value)
bool ImprovementStatusHasBeenSet() const
void SetImprovementStatus(const WorkloadImprovementStatus &value)
WorkloadSummary & AddLenses(const char *value)
WorkloadSummary & WithImprovementStatus(WorkloadImprovementStatus &&value)
AWS_WELLARCHITECTED_API WorkloadSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadSummary & WithLenses(Aws::Vector< Aws::String > &&value)
const Aws::String & GetOwner() const
bool WorkloadIdHasBeenSet() const
WorkloadSummary & WithWorkloadName(const char *value)
AWS_WELLARCHITECTED_API WorkloadSummary()
WorkloadSummary & AddRiskCounts(const Risk &key, int value)
WorkloadSummary & AddPrioritizedRiskCounts(Risk &&key, int value)
WorkloadSummary & WithProfiles(const Aws::Vector< WorkloadProfile > &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
WorkloadSummary & WithWorkloadArn(Aws::String &&value)
void SetWorkloadName(Aws::String &&value)
WorkloadSummary & WithWorkloadId(const Aws::String &value)
WorkloadSummary & AddLenses(const Aws::String &value)
void SetOwner(const Aws::String &value)
void SetWorkloadId(Aws::String &&value)
WorkloadSummary & WithWorkloadArn(const char *value)
bool PrioritizedRiskCountsHasBeenSet() const
void SetOwner(Aws::String &&value)
AWS_WELLARCHITECTED_API WorkloadSummary(Aws::Utils::Json::JsonView jsonValue)
void SetWorkloadId(const Aws::String &value)
void SetPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
bool ProfilesHasBeenSet() const
const Aws::Map< Risk, int > & GetRiskCounts() const
void SetWorkloadName(const Aws::String &value)
void SetWorkloadArn(const char *value)
bool OwnerHasBeenSet() const
void SetRiskCounts(Aws::Map< Risk, int > &&value)
bool LensesHasBeenSet() const
WorkloadSummary & WithRiskCounts(Aws::Map< Risk, int > &&value)
WorkloadSummary & WithWorkloadId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetLenses(Aws::Vector< Aws::String > &&value)
void SetProfiles(const Aws::Vector< WorkloadProfile > &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
WorkloadSummary & AddLenses(Aws::String &&value)
void SetLenses(const Aws::Vector< Aws::String > &value)
WorkloadSummary & WithWorkloadName(const Aws::String &value)
WorkloadSummary & WithRiskCounts(const Aws::Map< Risk, int > &value)
bool WorkloadNameHasBeenSet() const
WorkloadImprovementStatus
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