/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ApplicationInsights { namespace Model { /** */ class DescribeComponentConfigurationRecommendationRequest : public ApplicationInsightsRequest { public: AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationRecommendationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeComponentConfigurationRecommendation"; } AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override; AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the resource group.

*/ inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; } /** *

The name of the resource group.

*/ inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; } /** *

The name of the resource group.

*/ inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; } /** *

The name of the resource group.

*/ inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); } /** *

The name of the resource group.

*/ inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); } /** *

The name of the resource group.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** *

The name of the resource group.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;} /** *

The name of the resource group.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;} /** *

The name of the component.

*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *

The name of the component.

*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *

The name of the component.

*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *

The name of the component.

*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *

The name of the component.

*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *

The name of the component.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *

The name of the component.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *

The name of the component.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *

The tier of the application component.

*/ inline const Tier& GetTier() const{ return m_tier; } /** *

The tier of the application component.

*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *

The tier of the application component.

*/ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *

The tier of the application component.

*/ inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *

The tier of the application component.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithTier(const Tier& value) { SetTier(value); return *this;} /** *

The tier of the application component.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;} /** *

The recommended configuration type.

*/ inline const RecommendationType& GetRecommendationType() const{ return m_recommendationType; } /** *

The recommended configuration type.

*/ inline bool RecommendationTypeHasBeenSet() const { return m_recommendationTypeHasBeenSet; } /** *

The recommended configuration type.

*/ inline void SetRecommendationType(const RecommendationType& value) { m_recommendationTypeHasBeenSet = true; m_recommendationType = value; } /** *

The recommended configuration type.

*/ inline void SetRecommendationType(RecommendationType&& value) { m_recommendationTypeHasBeenSet = true; m_recommendationType = std::move(value); } /** *

The recommended configuration type.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithRecommendationType(const RecommendationType& value) { SetRecommendationType(value); return *this;} /** *

The recommended configuration type.

*/ inline DescribeComponentConfigurationRecommendationRequest& WithRecommendationType(RecommendationType&& value) { SetRecommendationType(std::move(value)); return *this;} private: Aws::String m_resourceGroupName; bool m_resourceGroupNameHasBeenSet = false; Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Tier m_tier; bool m_tierHasBeenSet = false; RecommendationType m_recommendationType; bool m_recommendationTypeHasBeenSet = false; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws