/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the wellarchitected-2020-03-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.WellArchitected.Model { /// /// Discovery configuration associated to the workload. /// public partial class WorkloadDiscoveryConfig { private TrustedAdvisorIntegrationStatus _trustedAdvisorIntegrationStatus; private List _workloadResourceDefinition = new List(); /// /// Gets and sets the property TrustedAdvisorIntegrationStatus. /// /// Discovery integration status in respect to Trusted Advisor for the workload. /// /// public TrustedAdvisorIntegrationStatus TrustedAdvisorIntegrationStatus { get { return this._trustedAdvisorIntegrationStatus; } set { this._trustedAdvisorIntegrationStatus = value; } } // Check to see if TrustedAdvisorIntegrationStatus property is set internal bool IsSetTrustedAdvisorIntegrationStatus() { return this._trustedAdvisorIntegrationStatus != null; } /// /// Gets and sets the property WorkloadResourceDefinition. /// /// The mode to use for identifying resources associated with the workload. /// /// /// /// You can specify WORKLOAD_METADATA, APP_REGISTRY, or both. /// /// public List WorkloadResourceDefinition { get { return this._workloadResourceDefinition; } set { this._workloadResourceDefinition = value; } } // Check to see if WorkloadResourceDefinition property is set internal bool IsSetWorkloadResourceDefinition() { return this._workloadResourceDefinition != null && this._workloadResourceDefinition.Count > 0; } } }