/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input to update a workload.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 UpdateWorkloadRequest& 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 UpdateWorkloadRequest& WithIndustryType(const Aws::String& value) { SetIndustryType(value); return *this;} inline UpdateWorkloadRequest& WithIndustryType(Aws::String&& value) { SetIndustryType(std::move(value)); return *this;} inline UpdateWorkloadRequest& 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 UpdateWorkloadRequest& WithIndustry(const Aws::String& value) { SetIndustry(value); return *this;} inline UpdateWorkloadRequest& WithIndustry(Aws::String&& value) { SetIndustry(std::move(value)); return *this;} inline UpdateWorkloadRequest& 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 UpdateWorkloadRequest& WithNotes(const Aws::String& value) { SetNotes(value); return *this;} inline UpdateWorkloadRequest& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;} inline UpdateWorkloadRequest& 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 UpdateWorkloadRequest& WithImprovementStatus(const WorkloadImprovementStatus& value) { SetImprovementStatus(value); return *this;} inline UpdateWorkloadRequest& WithImprovementStatus(WorkloadImprovementStatus&& value) { SetImprovementStatus(std::move(value)); return *this;} /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const{ return m_discoveryConfig; } /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; } /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline void SetDiscoveryConfig(const WorkloadDiscoveryConfig& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = value; } /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline void SetDiscoveryConfig(WorkloadDiscoveryConfig&& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = std::move(value); } /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline UpdateWorkloadRequest& WithDiscoveryConfig(const WorkloadDiscoveryConfig& value) { SetDiscoveryConfig(value); return *this;} /** *Well-Architected discovery configuration settings to associate to the * workload.
*/ inline UpdateWorkloadRequest& WithDiscoveryConfig(WorkloadDiscoveryConfig&& value) { SetDiscoveryConfig(std::move(value)); return *this;} /** *List of AppRegistry application ARNs to associate to the workload.
*/ inline const Aws::VectorList of AppRegistry application ARNs to associate to the workload.
*/ inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; } /** *List of AppRegistry application ARNs to associate to the workload.
*/ inline void SetApplications(const Aws::VectorList of AppRegistry application ARNs to associate to the workload.
*/ inline void SetApplications(Aws::VectorList of AppRegistry application ARNs to associate to the workload.
*/ inline UpdateWorkloadRequest& WithApplications(const Aws::VectorList of AppRegistry application ARNs to associate to the workload.
*/ inline UpdateWorkloadRequest& WithApplications(Aws::VectorList of AppRegistry application ARNs to associate to the workload.
*/ inline UpdateWorkloadRequest& AddApplications(const Aws::String& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; } /** *List of AppRegistry application ARNs to associate to the workload.
*/ inline UpdateWorkloadRequest& AddApplications(Aws::String&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; } /** *List of AppRegistry application ARNs to associate to the workload.
*/ inline UpdateWorkloadRequest& AddApplications(const char* value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; } private: Aws::String m_workloadId; bool m_workloadIdHasBeenSet = false; Aws::String m_workloadName; bool m_workloadNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; WorkloadEnvironment m_environment; bool m_environmentHasBeenSet = false; Aws::Vector