/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input for workload creation.See Also:
AWS
* API Reference
The tags to be associated with the workload.
*/ inline const Aws::MapThe tags to be associated with the workload.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags to be associated with the workload.
*/ inline void SetTags(const Aws::MapThe tags to be associated with the workload.
*/ inline void SetTags(Aws::MapThe tags to be associated with the workload.
*/ inline CreateWorkloadRequest& WithTags(const Aws::MapThe tags to be associated with the workload.
*/ inline CreateWorkloadRequest& WithTags(Aws::MapThe tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags to be associated with the workload.
*/ inline CreateWorkloadRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline const WorkloadDiscoveryConfig& GetDiscoveryConfig() const{ return m_discoveryConfig; } /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline bool DiscoveryConfigHasBeenSet() const { return m_discoveryConfigHasBeenSet; } /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline void SetDiscoveryConfig(const WorkloadDiscoveryConfig& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = value; } /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline void SetDiscoveryConfig(WorkloadDiscoveryConfig&& value) { m_discoveryConfigHasBeenSet = true; m_discoveryConfig = std::move(value); } /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline CreateWorkloadRequest& WithDiscoveryConfig(const WorkloadDiscoveryConfig& value) { SetDiscoveryConfig(value); return *this;} /** *Well-Architected discovery configuration settings associated to the * workload.
*/ inline CreateWorkloadRequest& 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 CreateWorkloadRequest& WithApplications(const Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline CreateWorkloadRequest& WithApplications(Aws::VectorList of AppRegistry application ARNs associated to the workload.
*/ inline CreateWorkloadRequest& 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 CreateWorkloadRequest& 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 CreateWorkloadRequest& AddApplications(const char* value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; } /** *The list of profile ARNs associated with the workload.
*/ inline const Aws::VectorThe list of profile ARNs associated with the workload.
*/ inline bool ProfileArnsHasBeenSet() const { return m_profileArnsHasBeenSet; } /** *The list of profile ARNs associated with the workload.
*/ inline void SetProfileArns(const Aws::VectorThe list of profile ARNs associated with the workload.
*/ inline void SetProfileArns(Aws::VectorThe list of profile ARNs associated with the workload.
*/ inline CreateWorkloadRequest& WithProfileArns(const Aws::VectorThe list of profile ARNs associated with the workload.
*/ inline CreateWorkloadRequest& WithProfileArns(Aws::VectorThe list of profile ARNs associated with the workload.
*/ inline CreateWorkloadRequest& AddProfileArns(const Aws::String& value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(value); return *this; } /** *The list of profile ARNs associated with the workload.
*/ inline CreateWorkloadRequest& AddProfileArns(Aws::String&& value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(std::move(value)); return *this; } /** *The list of profile ARNs associated with the workload.
*/ inline CreateWorkloadRequest& AddProfileArns(const char* value) { m_profileArnsHasBeenSet = true; m_profileArns.push_back(value); return *this; } private: 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