/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates the type of data that is being exported. Only one
* ExportPreferences
can be enabled for a StartExportTask
* action. See Also:
AWS
* API Reference
If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline const Ec2RecommendationsExportPreferences& GetEc2RecommendationsPreferences() const{ return m_ec2RecommendationsPreferences; } /** *If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline bool Ec2RecommendationsPreferencesHasBeenSet() const { return m_ec2RecommendationsPreferencesHasBeenSet; } /** *If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline void SetEc2RecommendationsPreferences(const Ec2RecommendationsExportPreferences& value) { m_ec2RecommendationsPreferencesHasBeenSet = true; m_ec2RecommendationsPreferences = value; } /** *If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline void SetEc2RecommendationsPreferences(Ec2RecommendationsExportPreferences&& value) { m_ec2RecommendationsPreferencesHasBeenSet = true; m_ec2RecommendationsPreferences = std::move(value); } /** *If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline ExportPreferences& WithEc2RecommendationsPreferences(const Ec2RecommendationsExportPreferences& value) { SetEc2RecommendationsPreferences(value); return *this;} /** *If enabled, exported data includes EC2 instance type matches for on-premises * servers discovered through Amazon Web Services Application Discovery Service. *
*/ inline ExportPreferences& WithEc2RecommendationsPreferences(Ec2RecommendationsExportPreferences&& value) { SetEc2RecommendationsPreferences(std::move(value)); return *this;} private: Ec2RecommendationsExportPreferences m_ec2RecommendationsPreferences; bool m_ec2RecommendationsPreferencesHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws