7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/WorkloadEnvironment.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/wellarchitected/model/WorkloadImprovementStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/wellarchitected/model/WorkloadDiscoveryConfig.h>
15#include <aws/wellarchitected/model/WorkloadJiraConfigurationOutput.h>
16#include <aws/wellarchitected/model/Risk.h>
17#include <aws/wellarchitected/model/WorkloadProfile.h>
30namespace WellArchitected
55 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
67 inline void SetWorkloadArn(
const char* value) { m_workloadArnHasBeenSet =
true; m_workloadArn.assign(value); }
79 inline void SetWorkloadName(
const char* value) { m_workloadNameHasBeenSet =
true; m_workloadName.assign(value); }
91 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
127 inline Workload&
AddAccountIds(
const char* value) { m_accountIdsHasBeenSet =
true; m_accountIds.push_back(value);
return *
this; }
140 inline Workload&
AddAwsRegions(
const char* value) { m_awsRegionsHasBeenSet =
true; m_awsRegions.push_back(value);
return *
this; }
153 inline Workload&
AddNonAwsRegions(
const char* value) { m_nonAwsRegionsHasBeenSet =
true; m_nonAwsRegions.push_back(value);
return *
this; }
162 inline void SetArchitecturalDesign(
const char* value) { m_architecturalDesignHasBeenSet =
true; m_architecturalDesign.assign(value); }
174 inline void SetReviewOwner(
const char* value) { m_reviewOwnerHasBeenSet =
true; m_reviewOwner.assign(value); }
209 inline void SetIndustryType(
const char* value) { m_industryTypeHasBeenSet =
true; m_industryType.assign(value); }
221 inline void SetIndustry(
const char* value) { m_industryHasBeenSet =
true; m_industry.assign(value); }
233 inline void SetNotes(
const char* value) { m_notesHasBeenSet =
true; m_notes.assign(value); }
257 inline Workload&
AddRiskCounts(
const Risk& key,
int value) { m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this; }
258 inline Workload&
AddRiskCounts(
Risk&& key,
int value) { m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(std::move(key), value);
return *
this; }
271 inline Workload&
AddPillarPriorities(
const char* value) { m_pillarPrioritiesHasBeenSet =
true; m_pillarPriorities.push_back(value);
return *
this; }
284 inline Workload&
AddLenses(
const char* value) { m_lensesHasBeenSet =
true; m_lenses.push_back(value);
return *
this; }
293 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
307 inline void SetShareInvitationId(
const char* value) { m_shareInvitationIdHasBeenSet =
true; m_shareInvitationId.assign(value); }
327 inline Workload&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
328 inline Workload&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
329 inline Workload&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
356 inline Workload&
AddApplications(
const char* value) { m_applicationsHasBeenSet =
true; m_applications.push_back(value);
return *
this; }
399 bool m_workloadIdHasBeenSet =
false;
402 bool m_workloadArnHasBeenSet =
false;
405 bool m_workloadNameHasBeenSet =
false;
408 bool m_descriptionHasBeenSet =
false;
411 bool m_environmentHasBeenSet =
false;
414 bool m_updatedAtHasBeenSet =
false;
417 bool m_accountIdsHasBeenSet =
false;
420 bool m_awsRegionsHasBeenSet =
false;
423 bool m_nonAwsRegionsHasBeenSet =
false;
426 bool m_architecturalDesignHasBeenSet =
false;
429 bool m_reviewOwnerHasBeenSet =
false;
432 bool m_reviewRestrictionDateHasBeenSet =
false;
434 bool m_isReviewOwnerUpdateAcknowledged;
435 bool m_isReviewOwnerUpdateAcknowledgedHasBeenSet =
false;
438 bool m_industryTypeHasBeenSet =
false;
441 bool m_industryHasBeenSet =
false;
444 bool m_notesHasBeenSet =
false;
447 bool m_improvementStatusHasBeenSet =
false;
450 bool m_riskCountsHasBeenSet =
false;
453 bool m_pillarPrioritiesHasBeenSet =
false;
456 bool m_lensesHasBeenSet =
false;
459 bool m_ownerHasBeenSet =
false;
462 bool m_shareInvitationIdHasBeenSet =
false;
465 bool m_tagsHasBeenSet =
false;
468 bool m_discoveryConfigHasBeenSet =
false;
471 bool m_applicationsHasBeenSet =
false;
474 bool m_profilesHasBeenSet =
false;
477 bool m_prioritizedRiskCountsHasBeenSet =
false;
480 bool m_jiraConfigurationHasBeenSet =
false;
bool ReviewOwnerHasBeenSet() const
const WorkloadDiscoveryConfig & GetDiscoveryConfig() const
Workload & WithPillarPriorities(Aws::Vector< Aws::String > &&value)
Workload & AddTags(const Aws::String &key, const Aws::String &value)
Workload & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Workload & WithDescription(const Aws::String &value)
Workload & WithWorkloadArn(const char *value)
void SetWorkloadArn(const Aws::String &value)
Workload & WithAccountIds(const Aws::Vector< Aws::String > &value)
Workload & WithIndustry(Aws::String &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
void SetIndustryType(const char *value)
void SetWorkloadName(const char *value)
Workload & WithRiskCounts(Aws::Map< Risk, int > &&value)
Workload & WithProfiles(Aws::Vector< WorkloadProfile > &&value)
void SetDiscoveryConfig(const WorkloadDiscoveryConfig &value)
void SetIndustryType(Aws::String &&value)
AWS_WELLARCHITECTED_API Workload()
bool DiscoveryConfigHasBeenSet() const
bool WorkloadNameHasBeenSet() const
Workload & AddAccountIds(const char *value)
const Aws::String & GetDescription() const
void SetImprovementStatus(WorkloadImprovementStatus &&value)
void SetProfiles(Aws::Vector< WorkloadProfile > &&value)
const Aws::String & GetNotes() const
void SetAwsRegions(Aws::Vector< Aws::String > &&value)
void SetWorkloadId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNonAwsRegions() const
bool JiraConfigurationHasBeenSet() const
Workload & WithArchitecturalDesign(const char *value)
Workload & WithJiraConfiguration(WorkloadJiraConfigurationOutput &&value)
Workload & WithDiscoveryConfig(WorkloadDiscoveryConfig &&value)
Workload & WithReviewOwner(const char *value)
Workload & AddPrioritizedRiskCounts(const Risk &key, int value)
Workload & AddNonAwsRegions(const Aws::String &value)
void SetImprovementStatus(const WorkloadImprovementStatus &value)
void SetPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
bool IndustryTypeHasBeenSet() const
Workload & AddRiskCounts(const Risk &key, int value)
AWS_WELLARCHITECTED_API Workload(Aws::Utils::Json::JsonView jsonValue)
Workload & WithWorkloadName(const char *value)
const Aws::Map< Risk, int > & GetRiskCounts() const
bool ShareInvitationIdHasBeenSet() const
bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const
bool OwnerHasBeenSet() const
void SetArchitecturalDesign(const char *value)
void SetPillarPriorities(const Aws::Vector< Aws::String > &value)
Workload & AddTags(const char *key, const char *value)
const Aws::Vector< WorkloadProfile > & GetProfiles() const
bool WorkloadIdHasBeenSet() const
const Aws::String & GetShareInvitationId() const
void SetAccountIds(Aws::Vector< Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< Aws::String > & GetApplications() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetIndustryType(const Aws::String &value)
Workload & WithLenses(const Aws::Vector< Aws::String > &value)
Workload & WithIndustryType(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetWorkloadId(Aws::String &&value)
const Aws::String & GetWorkloadName() const
Workload & AddTags(Aws::String &&key, const char *value)
Workload & AddAwsRegions(const char *value)
Workload & AddNonAwsRegions(const char *value)
Workload & WithIndustry(const char *value)
void SetPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Workload & AddPillarPriorities(const char *value)
bool ApplicationsHasBeenSet() const
const WorkloadJiraConfigurationOutput & GetJiraConfiguration() const
void SetIndustry(Aws::String &&value)
Workload & WithReviewRestrictionDate(Aws::Utils::DateTime &&value)
const Aws::String & GetOwner() const
Workload & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Workload & AddAwsRegions(Aws::String &&value)
Workload & WithUpdatedAt(const Aws::Utils::DateTime &value)
Workload & AddApplications(Aws::String &&value)
Workload & WithReviewOwner(const Aws::String &value)
Workload & AddProfiles(WorkloadProfile &&value)
AWS_WELLARCHITECTED_API Workload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsReviewOwnerUpdateAcknowledged() const
void SetWorkloadName(const Aws::String &value)
void SetReviewOwner(Aws::String &&value)
Workload & AddPrioritizedRiskCounts(Risk &&key, int value)
bool LensesHasBeenSet() const
Workload & AddNonAwsRegions(Aws::String &&value)
void SetArchitecturalDesign(Aws::String &&value)
Workload & AddLenses(const char *value)
const Aws::Vector< Aws::String > & GetLenses() const
bool AccountIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetOwner(const char *value)
Workload & AddTags(const Aws::String &key, Aws::String &&value)
Workload & WithEnvironment(WorkloadEnvironment &&value)
Workload & WithIndustryType(const char *value)
Workload & WithIsReviewOwnerUpdateAcknowledged(bool value)
const Aws::Vector< Aws::String > & GetAwsRegions() const
const Aws::String & GetWorkloadId() const
void SetOwner(const Aws::String &value)
void SetShareInvitationId(const Aws::String &value)
Workload & WithProfiles(const Aws::Vector< WorkloadProfile > &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Workload & WithOwner(const char *value)
Workload & WithShareInvitationId(const Aws::String &value)
bool PrioritizedRiskCountsHasBeenSet() const
bool NonAwsRegionsHasBeenSet() const
void SetReviewRestrictionDate(Aws::Utils::DateTime &&value)
Workload & WithOwner(const Aws::String &value)
void SetLenses(const Aws::Vector< Aws::String > &value)
Workload & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetWorkloadArn(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Workload & AddTags(const char *key, Aws::String &&value)
void SetEnvironment(const WorkloadEnvironment &value)
Workload & WithReviewRestrictionDate(const Aws::Utils::DateTime &value)
Workload & WithWorkloadId(Aws::String &&value)
void SetIndustry(const Aws::String &value)
Workload & WithNotes(const char *value)
void SetJiraConfiguration(WorkloadJiraConfigurationOutput &&value)
Workload & WithIndustryType(const Aws::String &value)
Workload & WithOwner(Aws::String &&value)
void SetApplications(Aws::Vector< Aws::String > &&value)
bool IndustryHasBeenSet() const
Workload & WithWorkloadName(const Aws::String &value)
bool RiskCountsHasBeenSet() const
Workload & WithRiskCounts(const Aws::Map< Risk, int > &value)
void SetOwner(Aws::String &&value)
Workload & WithAccountIds(Aws::Vector< Aws::String > &&value)
Workload & AddLenses(const Aws::String &value)
void SetIndustry(const char *value)
bool AwsRegionsHasBeenSet() const
const Aws::String & GetIndustryType() const
Workload & WithWorkloadArn(Aws::String &&value)
void SetReviewRestrictionDate(const Aws::Utils::DateTime &value)
void SetNotes(Aws::String &&value)
Workload & WithJiraConfiguration(const WorkloadJiraConfigurationOutput &value)
void SetArchitecturalDesign(const Aws::String &value)
const WorkloadEnvironment & GetEnvironment() const
void SetApplications(const Aws::Vector< Aws::String > &value)
Workload & AddRiskCounts(Risk &&key, int value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
Workload & WithWorkloadArn(const Aws::String &value)
Workload & WithPillarPriorities(const Aws::Vector< Aws::String > &value)
Workload & WithAwsRegions(const Aws::Vector< Aws::String > &value)
Workload & WithImprovementStatus(WorkloadImprovementStatus &&value)
Workload & WithWorkloadId(const Aws::String &value)
bool PillarPrioritiesHasBeenSet() const
void SetLenses(Aws::Vector< Aws::String > &&value)
void SetNonAwsRegions(Aws::Vector< Aws::String > &&value)
void SetDiscoveryConfig(WorkloadDiscoveryConfig &&value)
Workload & WithArchitecturalDesign(const Aws::String &value)
const Aws::String & GetReviewOwner() const
Workload & WithNotes(Aws::String &&value)
Workload & WithIndustry(const Aws::String &value)
bool ProfilesHasBeenSet() const
void SetReviewOwner(const char *value)
void SetShareInvitationId(const char *value)
void SetWorkloadName(Aws::String &&value)
void SetNonAwsRegions(const Aws::Vector< Aws::String > &value)
Workload & AddApplications(const char *value)
Workload & WithWorkloadName(Aws::String &&value)
void SetIsReviewOwnerUpdateAcknowledged(bool value)
const Aws::String & GetArchitecturalDesign() const
void SetProfiles(const Aws::Vector< WorkloadProfile > &value)
const WorkloadImprovementStatus & GetImprovementStatus() const
void SetPillarPriorities(Aws::Vector< Aws::String > &&value)
void SetNotes(const Aws::String &value)
void SetShareInvitationId(Aws::String &&value)
void SetWorkloadId(const char *value)
Workload & AddTags(Aws::String &&key, const Aws::String &value)
bool ReviewRestrictionDateHasBeenSet() const
void SetEnvironment(WorkloadEnvironment &&value)
Workload & AddApplications(const Aws::String &value)
bool WorkloadArnHasBeenSet() const
bool NotesHasBeenSet() const
Workload & WithPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Workload & WithEnvironment(const WorkloadEnvironment &value)
void SetNotes(const char *value)
const Aws::String & GetWorkloadArn() const
Workload & WithNotes(const Aws::String &value)
Workload & WithApplications(Aws::Vector< Aws::String > &&value)
bool EnvironmentHasBeenSet() const
const Aws::Utils::DateTime & GetReviewRestrictionDate() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
Workload & AddPillarPriorities(const Aws::String &value)
void SetAwsRegions(const Aws::Vector< Aws::String > &value)
Workload & AddProfiles(const WorkloadProfile &value)
bool ImprovementStatusHasBeenSet() const
void SetDescription(Aws::String &&value)
bool TagsHasBeenSet() const
Workload & AddAccountIds(Aws::String &&value)
Workload & WithDescription(const char *value)
Workload & AddTags(Aws::String &&key, Aws::String &&value)
Workload & WithNonAwsRegions(const Aws::Vector< Aws::String > &value)
void SetDescription(const char *value)
Workload & WithShareInvitationId(Aws::String &&value)
Workload & WithNonAwsRegions(Aws::Vector< Aws::String > &&value)
Workload & AddPillarPriorities(Aws::String &&value)
Workload & WithDiscoveryConfig(const WorkloadDiscoveryConfig &value)
bool ArchitecturalDesignHasBeenSet() const
const Aws::String & GetIndustry() const
Workload & WithLenses(Aws::Vector< Aws::String > &&value)
Workload & WithReviewOwner(Aws::String &&value)
void SetWorkloadArn(const char *value)
void SetJiraConfiguration(const WorkloadJiraConfigurationOutput &value)
Workload & WithAwsRegions(Aws::Vector< Aws::String > &&value)
Workload & WithWorkloadId(const char *value)
Workload & WithPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Workload & AddAccountIds(const Aws::String &value)
Workload & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetRiskCounts(const Aws::Map< Risk, int > &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Vector< Aws::String > & GetPillarPriorities() const
Workload & AddAwsRegions(const Aws::String &value)
Workload & AddLenses(Aws::String &&value)
Workload & WithArchitecturalDesign(Aws::String &&value)
Workload & WithApplications(const Aws::Vector< Aws::String > &value)
void SetRiskCounts(Aws::Map< Risk, int > &&value)
Workload & WithImprovementStatus(const WorkloadImprovementStatus &value)
void SetReviewOwner(const Aws::String &value)
Workload & WithShareInvitationId(const char *value)
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