/** * 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 AppConfig { namespace Model { /** */ class UpdateConfigurationProfileRequest : public AppConfigRequest { public: AWS_APPCONFIG_API UpdateConfigurationProfileRequest(); // 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 "UpdateConfigurationProfile"; } AWS_APPCONFIG_API Aws::String SerializePayload() 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 UpdateConfigurationProfileRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The application ID.

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

The application ID.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The ID of the configuration profile.

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

The name of the configuration profile.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the configuration profile.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the configuration profile.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the configuration profile.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the configuration profile.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the configuration profile.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the configuration profile.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the configuration profile.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the configuration profile.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the configuration profile.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the configuration profile.

*/ inline UpdateConfigurationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; } /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; } /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = value; } /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::move(value); } /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn.assign(value); } /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(const Aws::String& value) { SetRetrievalRoleArn(value); return *this;} /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(Aws::String&& value) { SetRetrievalRoleArn(std::move(value)); return *this;} /** *

The ARN of an IAM role with permission to access the configuration at the * specified LocationUri.

*/ inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;} /** *

A list of methods for validating the configuration.

*/ inline const Aws::Vector& GetValidators() const{ return m_validators; } /** *

A list of methods for validating the configuration.

*/ inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; } /** *

A list of methods for validating the configuration.

*/ inline void SetValidators(const Aws::Vector& value) { m_validatorsHasBeenSet = true; m_validators = value; } /** *

A list of methods for validating the configuration.

*/ inline void SetValidators(Aws::Vector&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); } /** *

A list of methods for validating the configuration.

*/ inline UpdateConfigurationProfileRequest& WithValidators(const Aws::Vector& value) { SetValidators(value); return *this;} /** *

A list of methods for validating the configuration.

*/ inline UpdateConfigurationProfileRequest& WithValidators(Aws::Vector&& value) { SetValidators(std::move(value)); return *this;} /** *

A list of methods for validating the configuration.

*/ inline UpdateConfigurationProfileRequest& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; } /** *

A list of methods for validating the configuration.

*/ inline UpdateConfigurationProfileRequest& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; } private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_retrievalRoleArn; bool m_retrievalRoleArnHasBeenSet = false; Aws::Vector m_validators; bool m_validatorsHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws