/** * 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 Http { class URI; } //namespace Http namespace AppConfig { namespace Model { /** */ class ValidateConfigurationRequest : public AppConfigRequest { public: AWS_APPCONFIG_API ValidateConfigurationRequest(); // 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 "ValidateConfiguration"; } AWS_APPCONFIG_API Aws::String SerializePayload() const override; AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

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

The configuration profile ID.

*/ inline ValidateConfigurationRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;} /** *

The version of the configuration to validate.

*/ inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; } /** *

The version of the configuration to validate.

*/ inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; } /** *

The version of the configuration to validate.

*/ inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = value; } /** *

The version of the configuration to validate.

*/ inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::move(value); } /** *

The version of the configuration to validate.

*/ inline void SetConfigurationVersion(const char* value) { m_configurationVersionHasBeenSet = true; m_configurationVersion.assign(value); } /** *

The version of the configuration to validate.

*/ inline ValidateConfigurationRequest& WithConfigurationVersion(const Aws::String& value) { SetConfigurationVersion(value); return *this;} /** *

The version of the configuration to validate.

*/ inline ValidateConfigurationRequest& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;} /** *

The version of the configuration to validate.

*/ inline ValidateConfigurationRequest& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; Aws::String m_configurationVersion; bool m_configurationVersionHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws