/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A workload return object.See Also:
AWS
* API Reference
Flag indicating whether the workload owner has acknowledged that the * Review owner field is required.
If a Review owner is not * added to the workload within 60 days of acknowledgement, access to the workload * is restricted until an owner is added.
*/ inline bool GetIsReviewOwnerUpdateAcknowledged() const{ return m_isReviewOwnerUpdateAcknowledged; } /** *Flag indicating whether the workload owner has acknowledged that the * Review owner field is required.
If a Review owner is not * added to the workload within 60 days of acknowledgement, access to the workload * is restricted until an owner is added.
*/ inline bool IsReviewOwnerUpdateAcknowledgedHasBeenSet() const { return m_isReviewOwnerUpdateAcknowledgedHasBeenSet; } /** *Flag indicating whether the workload owner has acknowledged that the * Review owner field is required.
If a Review owner is not * added to the workload within 60 days of acknowledgement, access to the workload * is restricted until an owner is added.
*/ inline void SetIsReviewOwnerUpdateAcknowledged(bool value) { m_isReviewOwnerUpdateAcknowledgedHasBeenSet = true; m_isReviewOwnerUpdateAcknowledged = value; } /** *Flag indicating whether the workload owner has acknowledged that the * Review owner field is required.
If a Review owner is not * added to the workload within 60 days of acknowledgement, access to the workload * is restricted until an owner is added.
*/ inline Workload& WithIsReviewOwnerUpdateAcknowledged(bool value) { SetIsReviewOwnerUpdateAcknowledged(value); return *this;} inline const Aws::String& GetIndustryType() const{ return m_industryType; } inline bool IndustryTypeHasBeenSet() const { return m_industryTypeHasBeenSet; } inline void SetIndustryType(const Aws::String& value) { m_industryTypeHasBeenSet = true; m_industryType = value; } inline void SetIndustryType(Aws::String&& value) { m_industryTypeHasBeenSet = true; m_industryType = std::move(value); } inline void SetIndustryType(const char* value) { m_industryTypeHasBeenSet = true; m_industryType.assign(value); } inline Workload& WithIndustryType(const Aws::String& value) { SetIndustryType(value); return *this;} inline Workload& WithIndustryType(Aws::String&& value) { SetIndustryType(std::move(value)); return *this;} inline Workload& WithIndustryType(const char* value) { SetIndustryType(value); return *this;} inline const Aws::String& GetIndustry() const{ return m_industry; } inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; } inline void SetIndustry(const Aws::String& value) { m_industryHasBeenSet = true; m_industry = value; } inline void SetIndustry(Aws::String&& value) { m_industryHasBeenSet = true; m_industry = std::move(value); } inline void SetIndustry(const char* value) { m_industryHasBeenSet = true; m_industry.assign(value); } inline Workload& WithIndustry(const Aws::String& value) { SetIndustry(value); return *this;} inline Workload& WithIndustry(Aws::String&& value) { SetIndustry(std::move(value)); return *this;} inline Workload& WithIndustry(const char* value) { SetIndustry(value); return *this;} inline const Aws::String& GetNotes() const{ return m_notes; } inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; } inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; } inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); } inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); } inline Workload& WithNotes(const Aws::String& value) { SetNotes(value); return *this;} inline Workload& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;} inline Workload& WithNotes(const char* value) { SetNotes(value); return *this;} inline const WorkloadImprovementStatus& GetImprovementStatus() const{ return m_improvementStatus; } inline bool ImprovementStatusHasBeenSet() const { return m_improvementStatusHasBeenSet; } inline void SetImprovementStatus(const WorkloadImprovementStatus& value) { m_improvementStatusHasBeenSet = true; m_improvementStatus = value; } inline void SetImprovementStatus(WorkloadImprovementStatus&& value) { m_improvementStatusHasBeenSet = true; m_improvementStatus = std::move(value); } inline Workload& WithImprovementStatus(const WorkloadImprovementStatus& value) { SetImprovementStatus(value); return *this;} inline Workload& WithImprovementStatus(WorkloadImprovementStatus&& value) { SetImprovementStatus(std::move(value)); return *this;} inline const Aws::MapThe ID assigned to the share invitation.
*/ inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; } /** *The ID assigned to the share invitation.
*/ inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; } /** *The ID assigned to the share invitation.
*/ inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; } /** *The ID assigned to the share invitation.
*/ inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); } /** *The ID assigned to the share invitation.
*/ inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); } /** *The ID assigned to the share invitation.
*/ inline Workload& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;} /** *The ID assigned to the share invitation.
*/ inline Workload& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;} /** *The ID assigned to the share invitation.
*/ inline Workload& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;} /** *The tags associated with the workload.
*/ inline const Aws::MapThe tags associated with the workload.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags associated with the workload.
*/ inline void SetTags(const Aws::MapThe tags associated with the workload.
*/ inline void SetTags(Aws::MapThe tags associated with the workload.
*/ inline Workload& WithTags(const Aws::MapThe tags associated with the workload.
*/ inline Workload& WithTags(Aws::MapThe tags associated with the workload.
*/ inline Workload& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags associated with the workload.
*/ inline Workload& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Discovery configuration associated to the workload.
*/ inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const{ return m_discoveryConfig; } /** *Discovery configuration associated to the workload.
*/ inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; } /** *Discovery configuration associated to the workload.
*/ inline void SetDiscoveryConfig(const WorkloadDiscoveryConfig& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = value; } /** *Discovery configuration associated to the workload.
*/ inline void SetDiscoveryConfig(WorkloadDiscoveryConfig&& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = std::move(value); } /** *Discovery configuration associated to the workload.
*/ inline Workload& WithDiscoveryConfig(const WorkloadDiscoveryConfig& value) { SetDiscoveryConfig(value); return *this;} /** *Discovery configuration associated to the workload.
*/ inline Workload& WithDiscoveryConfig(WorkloadDiscoveryConfig&& value) { SetDiscoveryConfig(std::move(value)); return *this;} /** *List of AppRegistry application ARNs associated to the workload.
*/ inline const Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; } /** *List of AppRegistry application ARNs associated to the workload.
*/ inline void SetApplications(const Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline void SetApplications(Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline Workload& WithApplications(const Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline Workload& WithApplications(Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline Workload& AddApplications(const Aws::String& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; } /** *List of AppRegistry application ARNs associated to the workload.
*/ inline Workload& AddApplications(Aws::String&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; } /** *List of AppRegistry application ARNs associated to the workload.
*/ inline Workload& AddApplications(const char* value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; } /** *Profile associated with a workload.
*/ inline const Aws::VectorProfile associated with a workload.
*/ inline bool ProfilesHasBeenSet() const { return m_profilesHasBeenSet; } /** *Profile associated with a workload.
*/ inline void SetProfiles(const Aws::VectorProfile associated with a workload.
*/ inline void SetProfiles(Aws::VectorProfile associated with a workload.
*/ inline Workload& WithProfiles(const Aws::VectorProfile associated with a workload.
*/ inline Workload& WithProfiles(Aws::VectorProfile associated with a workload.
*/ inline Workload& AddProfiles(const WorkloadProfile& value) { m_profilesHasBeenSet = true; m_profiles.push_back(value); return *this; } /** *Profile associated with a workload.
*/ inline Workload& AddProfiles(WorkloadProfile&& value) { m_profilesHasBeenSet = true; m_profiles.push_back(std::move(value)); return *this; } inline const Aws::Map