/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppConfig { namespace Model { class GetConfigurationProfileResult { public: AWS_APPCONFIG_API GetConfigurationProfileResult(); AWS_APPCONFIG_API GetConfigurationProfileResult(const Aws::AmazonWebServiceResult& result); AWS_APPCONFIG_API GetConfigurationProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The application ID.

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

The configuration profile ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The configuration profile ID.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The configuration profile ID.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The configuration profile ID.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The configuration profile ID.

*/ inline GetConfigurationProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The configuration profile ID.

*/ inline GetConfigurationProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The configuration profile ID.

*/ inline GetConfigurationProfileResult& WithId(const char* value) { SetId(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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the configuration profile.

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

The name of the configuration profile.

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

The name of the configuration profile.

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

The name of the configuration profile.

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

The name of the configuration profile.

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

The configuration profile description.

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

The configuration profile description.

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

The configuration profile description.

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

The configuration profile description.

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

The configuration profile description.

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

The configuration profile description.

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

The configuration profile description.

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

The URI location of the configuration.

*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *

The URI location of the configuration.

*/ inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; } /** *

The URI location of the configuration.

*/ inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); } /** *

The URI location of the configuration.

*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *

The URI location of the configuration.

*/ inline GetConfigurationProfileResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *

The URI location of the configuration.

*/ inline GetConfigurationProfileResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *

The URI location of the configuration.

*/ inline GetConfigurationProfileResult& WithLocationUri(const char* value) { SetLocationUri(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 void SetRetrievalRoleArn(const Aws::String& value) { 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_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_retrievalRoleArn.assign(value); } /** *

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

*/ inline GetConfigurationProfileResult& 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 GetConfigurationProfileResult& 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 GetConfigurationProfileResult& 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 void SetValidators(const Aws::Vector& value) { m_validators = value; } /** *

A list of methods for validating the configuration.

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

A list of methods for validating the configuration.

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

A list of methods for validating the configuration.

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

A list of methods for validating the configuration.

*/ inline GetConfigurationProfileResult& AddValidators(const Validator& value) { m_validators.push_back(value); return *this; } /** *

A list of methods for validating the configuration.

*/ inline GetConfigurationProfileResult& AddValidators(Validator&& value) { m_validators.push_back(std::move(value)); return *this; } /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline void SetType(const Aws::String& value) { m_type = value; } /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline void SetType(Aws::String&& value) { m_type = std::move(value); } /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline void SetType(const char* value) { m_type.assign(value); } /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline GetConfigurationProfileResult& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline GetConfigurationProfileResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The type of configurations contained in the profile. AppConfig supports * feature flags and freeform configurations. We * recommend you create feature flag configurations to enable or disable new * features and freeform configurations to distribute configurations to an * application. When calling this API, enter one of the following values for * Type:

AWS.AppConfig.FeatureFlags

* AWS.Freeform

*/ inline GetConfigurationProfileResult& WithType(const char* value) { SetType(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetConfigurationProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetConfigurationProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetConfigurationProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_id; Aws::String m_name; Aws::String m_description; Aws::String m_locationUri; Aws::String m_retrievalRoleArn; Aws::Vector m_validators; Aws::String m_type; Aws::String m_requestId; }; } // namespace Model } // namespace AppConfig } // namespace Aws