/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace AppConfig { namespace Model { /** */ class GetConfigurationProfileRequest : public AppConfigRequest { public: AWS_APPCONFIG_API GetConfigurationProfileRequest(); // 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 "GetConfigurationProfile"; } AWS_APPCONFIG_API Aws::String SerializePayload() const override; /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline GetConfigurationProfileRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline GetConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The ID of the application that includes the configuration profile you want to * get.

*/ inline GetConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The ID of the configuration profile that you want to get.

*/ inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; } /** *

The ID of the configuration profile that you want to get.

*/ inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; } /** *

The ID of the configuration profile that you want to get.

*/ inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; } /** *

The ID of the configuration profile that you want to get.

*/ inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); } /** *

The ID of the configuration profile that you want to get.

*/ inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); } /** *

The ID of the configuration profile that you want to get.

*/ inline GetConfigurationProfileRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;} /** *

The ID of the configuration profile that you want to get.

*/ inline GetConfigurationProfileRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;} /** *

The ID of the configuration profile that you want to get.

*/ inline GetConfigurationProfileRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws